Created attachment 133307 [details] screenshot STEPS TO REPRODUCE 1. open KPM 2. right-click on any unmounted partition, choose "Edit mount point" 3. click on "Select..." button 4. select /mnt and click on "New folder..." button 5. type any folder name and press enter OBSERVED RESULT "You do not have permission to create that folder." error message. See the attached screenshot please. EXPECTED RESULT KPM should ask for credentials and create the mount point SOFTWARE/OS VERSIONS Operating System: KDE neon Unstable Edition KDE Plasma Version: 5.20.80 KDE Frameworks Version: 5.76.0 Qt Version: 5.15.1
That is a bit tricky... We use QFileDialog::getExistingDirector and it does not support polkit. In fact none of the applications in KDE implement what you want at the moment.
Can anything be done about this in Plasma integration?
Error message comes from here: https://invent.kde.org/plasma/plasma-integration/-/blob/master/src/platformtheme/kdirselectdialog.cpp#L177
Ok, I briefly looked at this a bit more, looks like Plasma integration is just relying on KIO. So I think we can mark it as duplicate of 179678 (KIO needs PolicyKit-kde integration) *** This bug has been marked as a duplicate of bug 179678 ***
Thanks for your interest on this issue Andrius.
(In reply to Patrick Silva from comment #5) > Thanks for your interest on this issue Andrius. Unfortunately this issue is very tricky. As you can see original bug was opened in 2009...