Bug 497763 - "Not authorized to perform operation" error message is displayed when user cancels the authentication window when opening a drive that requires a password
Summary: "Not authorized to perform operation" error message is displayed when user ca...
Status: REPORTED
Alias: None
Product: dolphin
Classification: Applications
Component: general (show other bugs)
Version: 24.12.0
Platform: Arch Linux Linux
: NOR normal
Target Milestone: ---
Assignee: Dolphin Bug Assignee
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-12-21 19:21 UTC by Filip
Modified: 2025-02-25 13:37 UTC (History)
2 users (show)

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


Attachments
showcase (1.17 MB, video/mp4)
2024-12-21 19:21 UTC, Filip
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Filip 2024-12-21 19:21:22 UTC
Created attachment 176808 [details]
showcase

SUMMARY
"Not authorized to perform operation" error message is displayed when user cancels the authentication popup when opening a drive that requires a password

STEPS TO REPRODUCE
1. Click on some drive in the Places panel that requires a password
2. Click Cancel on the Authorization window or close by clicking on the X or ESC key

OBSERVED RESULT
"Not authorized to perform operation" error message is displayed

EXPECTED RESULT
Message shouldn't be displayed because user canceled the operation

SOFTWARE/OS VERSIONS
Operating System: Arch Linux 
KDE Plasma Version: 6.2.4
KDE Frameworks Version: 6.9.0
Qt Version: 6.8.1
Kernel Version: 6.12.4-arch1-1 (64-bit)
Graphics Platform: Wayland
Comment 1 Akseli Lahtinen 2025-02-25 13:36:13 UTC
Can confirm the error is a bit weird. It seems to come from `/kio-extras/sftp/kio_sftp.cpp:979`. kio_sftp is not handling closing the passphrase dialog (spawned by kded6) properly and instead treats it as generic connection error.
Comment 2 Akseli Lahtinen 2025-02-25 13:37:51 UTC
Er, nevermind my previous comment. I was testing completely different thing. Sorry for the noise.