Bug 507200 - After deleting a file via Qt app, the Trash remains empty until Dolphin is restarted
Summary: After deleting a file via Qt app, the Trash remains empty until Dolphin is re...
Status: REPORTED
Alias: None
Product: dolphin
Classification: Applications
Component: general (other bugs)
Version First Reported In: 25.04.3
Platform: Arch Linux Linux
: NOR normal
Target Milestone: ---
Assignee: Dolphin Bug Assignee
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2025-07-18 15:39 UTC by Patrick Silva
Modified: 2025-07-18 15:44 UTC (History)
1 user (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 Patrick Silva 2025-07-18 15:39:37 UTC
STEPS TO REPRODUCE
1. open Dolphin and make sure Trash is empty
2. install Strawberry music player and open it
3. click on "Tools" menu on top and choose "Settings"
4. click on "Playlist" in the left side
5. check "Enable delete files in the right click context menu" and click on "OK" button
6. add 1 audio file to Strawberry playlist
7. right-click on the added audio file and choose "Delete from disk..."
8. confirm file deletion
9. go back to Dolphin: according to Trash icon, Trash remains empty (this is the bug)
10. restart Dolphin: now Trash is no longer empty, according to its icon

OBSERVED RESULT
After deleting a file via Qt app, the Trash remains empty until Dolphin is restarted

EXPECTED RESULT
Trash is not empty immediately after the step 8

SOFTWARE/OS VERSIONS
Operating System: Arch Linux 
KDE Plasma Version: 6.4.3
KDE Frameworks Version: 6.16.0
Qt Version: 6.9.1
Graphics Platform: Wayland
Comment 1 Patrick Silva 2025-07-18 15:44:29 UTC
Another thing: after the last step, "Empty Trash" option from the context menu of Trash icon is grayed out. However, I can empty Trash via "Empty Trash" button in the tool bar.