Skip to content

Removed user option for trash deletion - #9322

Merged
i2h3 merged 1 commit into
stable-4.0from
i2h3/fix/stable-4.0-remove-trash-option
Jan 16, 2026
Merged

Removed user option for trash deletion#9322
i2h3 merged 1 commit into
stable-4.0from
i2h3/fix/stable-4.0-remove-trash-option

Conversation

@i2h3

@i2h3 i2h3 commented Jan 16, 2026

Copy link
Copy Markdown
Collaborator
  • 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
@i2h3 i2h3 added 3. to review feature: 馃搧 file provider macOS File Provider Extension, more general also known as virtual file system. design Design, UI, UX, etc. labels Jan 16, 2026
@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

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

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.

Comment thread translations/client_en.ts Outdated
- 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
Copy Markdown
Contributor

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
Copy Markdown

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

Labels

3. to review design Design, UI, UX, etc. feature: 馃搧 file provider macOS File Provider Extension, more general also known as virtual file system.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants