Skip to content

fix(delete): fix move to trash in read-only folders #8276

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

Merged
merged 5 commits into from
May 22, 2025

Conversation

mgallien
Copy link
Collaborator

No description provided.

@mgallien mgallien added this to the 3.17.0 milestone May 15, 2025
@mgallien mgallien changed the title fix(delete): always print warnings when file deletions fail fix(delete): fix move to trash in read-only folders May 15, 2025
Copy link
Member

@nilsding nilsding left a comment

Choose a reason for hiding this comment

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

we should also cover this in the automated tests

@mgallien mgallien force-pushed the bugfix/delayFailingDeleteSyncErrors branch 3 times, most recently from a80a627 to 676cca1 Compare May 21, 2025 09:16
Copy link

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

SHA256 checksum: cb7ed46a81b3af91d2b8d40532cf63b884401f21224d34652a38edc58f6fa49d

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.

@mgallien mgallien requested a review from nilsding May 21, 2025 12:16
mgallien added 5 commits May 22, 2025 09:05
QFileInfo::exists(filename) is the fastest method

alos avoid creating too many QFileInfo instances when we need it for
multiple purposes

Signed-off-by: Matthieu Gallien <[email protected]>
should improve coverage for move to trash feature to ensure this is
working as expected by users

Signed-off-by: Matthieu Gallien <[email protected]>
@mgallien mgallien force-pushed the bugfix/delayFailingDeleteSyncErrors branch from 676cca1 to 91c8a12 Compare May 22, 2025 07:05
@mgallien mgallien merged commit bd22653 into master May 22, 2025
14 of 16 checks passed
@mgallien mgallien deleted the bugfix/delayFailingDeleteSyncErrors branch May 22, 2025 07:05
Copy link

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

Successfully merging this pull request may close these issues.

3 participants