-
Notifications
You must be signed in to change notification settings - Fork 910
Removed user option for trash deletion #9322
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
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.
There was a problem hiding this 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>
f0fc97a to
d6bb5de
Compare
|
Artifact containing the AppImage: nextcloud-appimage-pr-9322.zip Digest: 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. |
|


