SUMMARY STEPS TO REPRODUCE 1. Open Dolphin 2. Go to e.g.: '/' 3. Right click on 'root' > "Open as Administrator" 4. Click "Cancel" in the "Manage files as administrator" dialog where you can enter your password https://imgur.com/a/fKdEGuN OBSERVED RESULT - The dialog just appears again - Clicking "Cancel" just repeats the same thing, the dialog keeps on appearing. EXPECTED RESULT - The dialog gets closed and the operation canceled. SOFTWARE/OS VERSIONS Linux/KDE Plasma: EndeavourOS / Arch KDE Plasma Version: 5.27.4 KDE Frameworks Version: 5.105.0 Qt Version: 5.15.9 ADDITIONAL INFORMATION: Dolphin: 23.04.0-1 kio-admin: 23.04.0-1 Also I noticed that I sometimes have to enter my password two times into the "Manage files as administrator" dialog. 1) I enter it once and press "OK" 2) The same dialog pops up again and I need to enter my password a second time and press "OK" again. I don't know if this has something to do with my issue reported above.
EDIT: I noticed that I can't cancel a single " Authentication Required - PolicyKit1 KDE Agent" dialog. e.g. when opening "GParted" I get asked for my password and I can't cancel the dialog. It just keeps on appearing over and over again. https://imgur.com/a/XAI9BS8 I am sorry for the confusion, I thought my problem is just related to "kio-admin".
A possibly relevant merge request was started @ https://invent.kde.org/system/kio-admin/-/merge_requests/10
The admin protocol related problem at least seems to be partially KIO's fault. KIO appears to keep making requests on resources it was already denied. That is however entirely unrelated to the gparted problem I think.
Can reproduce.
Git commit f413eb84b3ed435e1fe4af3d0ac7f9554c1fcd9a by Harald Sitter. Committed on 22/04/2023 at 14:48. Pushed by sitter into branch 'master'. more accurately return access errors to the frontend more correct this way. doesn't do anything about this not getting handled correctly unfortunately M +11 -11 src/helper/main.cpp M +23 -22 src/worker.cpp https://invent.kde.org/system/kio-admin/commit/f413eb84b3ed435e1fe4af3d0ac7f9554c1fcd9a
i have just noticed this bug on my system. Operating System: Arch Linux KDE Plasma Version: 5.27.8 KDE Frameworks Version: 5.110.0 Qt Version: 5.15.10 Graphics Platform: Wayland
*** Bug 475571 has been marked as a duplicate of this bug. ***