Bug 448928 - Dolphin Open as Root Maps Itself To Hotkey
Summary: Dolphin Open as Root Maps Itself To Hotkey
Status: RESOLVED DOWNSTREAM
Alias: None
Product: dolphin
Classification: Applications
Component: general (other bugs)
Version First Reported In: 21.12.1
Platform: Neon Linux
: NOR normal
Target Milestone: ---
Assignee: Dolphin Bug Assignee
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2022-01-21 21:30 UTC by kheimbuch
Modified: 2022-01-25 17:31 UTC (History)
3 users (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description kheimbuch 2022-01-21 21:30:26 UTC
SUMMARY
***
NOTE: If you are reporting a crash, please try to attach a backtrace with debug symbols.
See https://community.kde.org/Guidelines_and_HOWTOs/Debugging/How_to_create_useful_crash_reports
***


STEPS TO REPRODUCE
1. Dolphin > Configure  > Configure Dolphin > Context Menu > Select "Open As Root"
2. Open Dolphin normally, navigate to root system, and right-click, get context menu and select "Open As Root"
3. Perform actions as root system folder/files in root instance. Close root instance. Close other instances of Dolphin.
4. Press Superkey ("Meta" key") + E. Root Dolphin opens. (even though I'd mapped my text editor to that key)
5. The only thing that stops this is full reboot. Happens again if ever launching the above steps.

OBSERVED RESULT
Result is #4 + #5 above

EXPECTED RESULT
Upon closing Dolphin as root, its elevated permissions would stop, which it doesn't seem to if it launches with hotkey which was set for another application. (maybe KIO issue?)

SOFTWARE/OS VERSIONS
Windows: 
macOS: 
Linux/KDE Plasma: KDE Neon - Plasma 5.23.5
(available in About System)
KDE Plasma Version: Plasma 5.23.5
KDE Frameworks Version:  Frameworks 5.90.0
Qt Version: QT 5.15.3

ADDITIONAL INFORMATION
Thinkpad T460/i5-6440/Mesa Intel 530/16 GiB
Kernel 5.13.0.27
X11
Comment 1 Nate Graham 2022-01-23 06:08:07 UTC
> "Open As Root"
This is a third-party extension which is known to cause issues like this, and we don't recommend its use for exactly that reason.

Also, native privilege escalation suppor tis coming in Frameworks 5.91, making it unnecessary.
Comment 2 kheimbuch 2022-01-25 17:21:38 UTC
(In reply to Nate Graham from comment #1)
> > "Open As Root"
> This is a third-party extension which is known to cause issues like this,
> and we don't recommend its use for exactly that reason.
> 
> Also, native privilege escalation suppor tis coming in Frameworks 5.91,
> making it unnecessary.

Thanks Nate!

Will the new elevated permissions for Dolphin be implemented with PolicyKit?
Comment 3 Nate Graham 2022-01-25 17:31:58 UTC
It was indeed.