Skip to content

Conversation

@i2h3
Copy link
Collaborator

@i2h3 i2h3 commented Jan 16, 2026

  • Removed XPC APIs for trash state management.
  • Removed UserDefaults code about trash state management.
  • Removed checkbox from file provider settings tab.
  • Removed "Allow deletion of items in Trash" from English translations.

@i2h3 i2h3 added this to the 4.0.5 milestone Jan 16, 2026
@i2h3 i2h3 self-assigned this Jan 16, 2026
Copilot AI review requested due to automatic review settings January 16, 2026 07:28
@github-project-automation github-project-automation bot moved this to 🧭 Planning evaluation (don't pick) in 💻 Desktop Clients team Jan 16, 2026
@i2h3 i2h3 requested a review from Rello January 16, 2026 07:28
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This pull request removes the user-configurable option to allow/disallow deletion of items in the Trash from the macOS File Provider extension. The change simplifies the application by removing a feature that allowed users to control whether trash items could be deleted.

Changes:

  • Removed XPC communication APIs for trash deletion state management
  • Removed UserDefaults storage and retrieval code for trash deletion settings
  • Removed UI checkbox from the File Provider settings interface
  • Removed English translation entry and marked the key as obsolete to prevent future collisions

Reviewed changes

Copilot reviewed 10 out of 10 changed files in this pull request and generated 1 comment.

Show a summary per file
File Description
translations/client_en.ts Removed translation entry for "Allow deletion of items in Trash"
src/gui/macOS/ui/FileProviderSettings.qml Removed checkbox UI element for trash deletion control
src/gui/macOS/fileproviderxpc_mac.mm Removed XPC methods to query and set trash deletion state
src/gui/macOS/fileproviderxpc.h Removed trash deletion method declarations from XPC interface
src/gui/macOS/fileprovidersettingscontroller_mac.mm Removed controller methods for trash deletion state management
src/gui/macOS/fileprovidersettingscontroller.h Removed public API methods and signals for trash deletion
shell_integration/MacOSX/NextcloudIntegration/FileProviderExt/Services/ClientCommunicationService.swift Removed XPC service methods for trash deletion
shell_integration/MacOSX/NextcloudIntegration/FileProviderExt/Services/ClientCommunicationProtocol.h Removed protocol methods for trash deletion
shell_integration/MacOSX/NextcloudIntegration/FileProviderExt/FileProviderExtension.swift Removed guard clause that prevented trash deletion when disabled
shell_integration/MacOSX/NextcloudIntegration/FileProviderExt/FileProviderDomainDefaults.swift Removed property implementations and marked key as obsolete

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

- Removed XPC APIs for trash state management.
- Removed UserDefaults code about trash state management.
- Removed checkbox from file provider settings tab.
- Removed "Allow deletion of items in Trash" from English translations.

Signed-off-by: Iva Horn <iva.horn@nextcloud.com>
@i2h3 i2h3 force-pushed the i2h3/fix/stable-4.0-remove-trash-option branch from f0fc97a to d6bb5de Compare January 16, 2026 07:33
@github-actions
Copy link

Artifact containing the AppImage: nextcloud-appimage-pr-9322.zip

Digest: sha256:1edc0f127f6d9707e8a6ecacb99ff2e984770ee90d7f434faa2beaed3258ca61

To test this change/fix you can download the above artifact file, unzip it, and run it.

Please make sure to quit your existing Nextcloud app and backup your data.

@i2h3 i2h3 enabled auto-merge January 16, 2026 07:47
@i2h3 i2h3 merged commit 1a71488 into stable-4.0 Jan 16, 2026
17 checks passed
@i2h3 i2h3 deleted the i2h3/fix/stable-4.0-remove-trash-option branch January 16, 2026 07:59
@github-project-automation github-project-automation bot moved this from 🧭 Planning evaluation (don't pick) to ☑️ Done in 💻 Desktop Clients team Jan 16, 2026
@sonarqubecloud
Copy link

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

Status: ☑️ Done

Development

Successfully merging this pull request may close these issues.

3 participants