Bug 466758

Summary: KDE agent window keeps popping up when canceling administrator password prompt
Product: [Applications] dolphin Reporter: anantav51
Component: panels: foldersAssignee: Dolphin Bug Assignee <dolphin-bugs-null>
Status: RESOLVED NOT A BUG    
Severity: normal CC: kfm-devel, p.r.worrall
Priority: NOR    
Version: 22.12.2   
Target Milestone: ---   
Platform: Neon   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:
Attachments: Right-clicking on a folder with a padlock in it and selecting "Open as Administrator" in the context menu.
Journal messages when trying to cancel password box

Description anantav51 2023-03-03 06:12:30 UTC
Created attachment 156944 [details]
Right-clicking on a folder with a padlock in it and selecting "Open as Administrator" in the context menu.

When I right-click on a folder with a padlock in it and select "Open as Administrator" in the context menu, a password prompt appears asking me to enter my password. However, if I decide to cancel the prompt by clicking on the "Cancel" button, the KDE agent window keeps popping up repeatedly. I have to click on the "Cancel" button 13 times in order to make the window go away.

STEPS TO REPRODUCE
1. Right-click on a folder with a padlock in it.
2. Select "Open as Administrator" in the context menu.
3. Wait for the password prompt to appear.
4. Click on the "Cancel" button to cancel the prompt.

OBSERVED RESULT
The KDE agent window keeps popping up repeatedly, and I have to click on the "Cancel" button 13 times in order to make it go away.

EXPECTED RESULT
The KDE agent window should disappear after I click on the "Cancel" button once.

SOFTWARE/OS VERSIONS
Linux/KDE Plasma: KDE Neon 5.27
KDE Plasma Version: 5.27.2
KDE Frameworks Version: 5.103.0
Qt Version: 5.15.8
Comment 1 Paul Worrall 2023-03-03 09:09:33 UTC
Created attachment 156952 [details]
Journal messages when trying to cancel password box

Confirmed.
Repeatable with any folder (not specific to padlocked ones).
Journal output attached
Comment 2 David Edmundson 2024-10-25 16:11:45 UTC
Starting dolphin as root is bad practice and unsupported. 
For root operations please use kio-admin