Bug 501572

Summary: Clicking Empty Trash at specific locations within Dolphin, then cancelling when confirmation is requested, still causes the Trash: Emptied notification sound to play
Product: [Applications] dolphin Reporter: kleber.turques
Component: generalAssignee: Dolphin Bug Assignee <dolphin-bugs-null>
Status: CONFIRMED ---    
Severity: minor CC: conor.eager, dolphin-bugs-null, elydgolden, inb-bugzilla-1e1cff, john.kizer
Priority: NOR    
Version First Reported In: 24.12.3   
Target Milestone: ---   
Platform: openSUSE   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:
Attachments: Empty trash sound

Description kleber.turques 2025-03-16 13:27:44 UTC
STEPS TO REPRODUCE
1. Open "Trash" in Dolphin
2. Click "Empty Trash" from right click menu or toolbar button (not from the left panel shortcut)
3. Cancel

OBSERVED RESULT
Sound of "empty trash" action is played even though I canceled the action.

If you right click the "trash:/.desktop" shortcut, including Dolphin left panel, it doesn't happen. Only in Dolphin menu / button

EXPECTED RESULT
No sound 

SOFTWARE/OS VERSIONS
Operating System: openSUSE Tumbleweed 20250314
KDE Plasma Version: 6.3.3
KDE Frameworks Version: 6.11.0
Qt Version: 6.8.2
Graphics Platform: Wayland
Comment 1 kleber.turques 2025-03-16 13:36:31 UTC
Created attachment 179452 [details]
Empty trash sound
Comment 2 John Kizer 2025-03-28 17:42:32 UTC
Hi - I can reproduce on Fedora KDE 41. Thanks!
Comment 3 elydgolden 2025-04-06 15:56:05 UTC
Can reproduce on openSUSE Tumbleweed 20250403
Comment 4 conor.eager 2025-10-01 21:49:43 UTC
Can reproduce on Kubuntu 25.04, Dolphin version 24.12.3.