Bug 474439

Summary: Dolphin freeze when opening a video "as administrator"
Product: [Applications] dolphin Reporter: Enrico <enricobe>
Component: generalAssignee: Dolphin Bug Assignee <dolphin-bugs-null>
Status: RESOLVED UPSTREAM    
Severity: normal CC: kde, kfm-devel, nate, sitter
Priority: NOR Keywords: qt6
Version First Reported In: unspecified   
Target Milestone: ---   
Platform: Neon   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:
Attachments: Log from konsole
screenshot of the open as administrator command

Description Enrico 2023-09-12 06:26:59 UTC
Created attachment 161571 [details]
Log from konsole

SUMMARY
***
Hello, in the last Neon Unstable iso (Dolphin 23.11.70 which is not listed in the bug report page) Dolphin freezes when i try to open a video "as administrator". FYI the video is on an external USB key
***

STEPS TO REPRODUCE
1. Open a normal Dolphin window or launch dolphin from konsole
2. Open the folder with the video
3. Right-click on the video
4. Press Run as Administrator

OBSERVED RESULT
a new Dolphin page is opened, but it freezes. It may open correctly once, but if you retry it freezes.
I attach the log from Konsole.

EXPECTED RESULT
It should not freeze

Operating System: KDE neon Unstable Edition
KDE Plasma Version: 5.27.80
KDE Frameworks Version: 5.240.0
Qt Version: 6.6.0
Kernel Version: 6.2.0-32-generic (64-bit)
Graphics Platform: X11
Comment 1 Enrico 2023-09-12 06:27:55 UTC
Created attachment 161572 [details]
screenshot of the open as administrator command
Comment 2 Harald Sitter 2023-09-13 07:12:44 UTC
Something is fishy here. Files shouldn't show this option at all https://invent.kde.org/system/kio-admin/-/blob/b6714c2de645595d09524e63b528ee9810e1fa42/src/fileaction/fileaction.json#L4 unless of course they are octet-streams (which I don't think is the case here since it has a video icon and vlc wants to open it as well)
Comment 3 Enrico 2023-09-13 07:42:03 UTC
The video is a 4K test video you can download here if needed: https://www.demolandia.net/4k-video-test/dolby-vision/page-1.html
It's the "Containers" one
Comment 4 Enrico 2023-10-28 11:04:17 UTC
Hello,
after the latest updates this issue is solved. I can't see the open as administrator option anymore