Bug 424545 - Dolphin may list non-existent files after failed attempt of bulk deletion
Summary: Dolphin may list non-existent files after failed attempt of bulk deletion
Status: CONFIRMED
Alias: None
Product: dolphin
Classification: Applications
Component: view-engine: general (show other bugs)
Version: 20.04.2
Platform: Other Linux
: NOR normal
Target Milestone: ---
Assignee: Dolphin Bug Assignee
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-07-22 19:49 UTC by Alexander Shchadilov
Modified: 2021-06-08 19:03 UTC (History)
3 users (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Alexander Shchadilov 2020-07-22 19:49:11 UTC
SUMMARY
If Dolphin is not able to delete some of the selected files due to permissions a subset of selected files is still purged. Files that have been deleted are still shown in a directory until Dolphin is restarted.

STEPS TO REPRODUCE
1. touch possible.txt
2. sudo mkdir impossible && sudo touch ./impossible/file.txt
3. In Dolphin, navigate to Home and use Ctrl+LMB to select multiple items: "impossible" folder and "possible.txt".
4. Press Shift+Del and choose "Delete" in a dialogue box.

OBSERVED RESULT
Error message appears, "possible.txt" is deleted from storage, both "impossible" folder and "possible.txt" are still shown in Home until Dolphin restart.

EXPECTED RESULT
Error message appears, "possible.txt" is deleted from storage and is no longer shown in Home.

SOFTWARE/OS VERSIONS
openSUSE Leap 15.2
KDE Plasma Version: 5.18.5
KDE Frameworks Version: 5.71.0
Qt Version: 5.12.7
Comment 1 Julian Steinmann 2020-07-26 10:08:47 UTC
Can confirm this behavior using Dolphin 20.11.70 on KDE Neon Unstable.