Bug 400420 - Redundant error message when password dialog to mount/unmount partition is canceled
Summary: Redundant error message when password dialog to mount/unmount partition is ca...
Status: CONFIRMED
Alias: None
Product: dolphin
Classification: Applications
Component: general (show other bugs)
Version: 24.01.75
Platform: Neon Linux
: NOR normal
Target Milestone: ---
Assignee: Dolphin Bug Assignee
URL:
Keywords: usability
Depends on:
Blocks:
 
Reported: 2018-10-28 14:24 UTC by Patrick Silva
Modified: 2023-11-18 18:00 UTC (History)
3 users (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments
screenshot (31.11 KB, image/png)
2018-10-28 14:24 UTC, Patrick Silva
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Patrick Silva 2018-10-28 14:24:24 UTC
Created attachment 115947 [details]
screenshot

Dolphin asks for password to mount my partition, a redundant error message
shows up if I cancel the password dialog. See my screenshot please.
The following phrases are very similar:
"You are not authorized to perform this operation"
"Not authorized to perform operation"

Maybe the second one can be removed.

SOFTWARE VERSIONS
Arch Linux
KDE Plasma Version: 5.14.2
KDE Frameworks Version: 5.51
Qt Version: 5.12 beta3
Comment 1 Nate Graham 2018-11-01 20:09:28 UTC
This string is built in two places:
- https://lxr.kde.org/source/kde/applications/dolphin/src/panels/places/placesitemmodel.cpp
- KIO: https://lxr.kde.org/source/frameworks/kio/src/filewidgets/kfileplacesmodel.cpp

The middle string ("you are not authorized to perform this operation") comes from Solid: https://lxr.kde.org/source/frameworks/solid/src/solid/devices/backends/udisks2/udisksdevice.cpp

I'll see if I can sort out what's going on here. CCing Stefan Brüns too since he's very knowledgeable about Solid.
Comment 2 Justin Zobel 2020-11-02 05:59:39 UTC
It may be my setup but I'm not prompted for a password to mount drives.

I ran an unmount and was prompted, cancelled the password input and the messages was displayed in Dolphin but wasn't a popup that needed dismissing.

Patrick can you please confirm if this is still an issue?
Comment 3 Patrick Silva 2020-11-02 11:20:39 UTC
Still an issue with Dolphin 20.08.2 on Arch Linux.

Operating System: Arch Linux
KDE Plasma Version: 5.20.2
KDE Frameworks Version: 5.75.0
Qt Version: 5.15.1