SUMMARY Sometimes, when browsing a directory with dolphin after using the "Open as Administrator" option to view root-owned folders, the dolphin window will freeze and become unresponsive. After a short while, the window is killed. This happened while I was browsing the /boot directory. I saw this in journalctl both times it happened: >Dec 21 11:15:48 <hostname> kernel: oom-kill:constraint=CONSTRAINT_NONE,nodemask=(null),cpuset=/,mems_allowed=0,global_oom,task_memcg=/user.slice/user-1000.slice/user@1000.service/app.slice/app-dolphin-d404b4650d8948828d743209543602cd.scope,task=dolphin,pid=7430,uid=1000 >Dec 21 11:15:48 <hostname> kernel: Out of memory: Killed process 7430 (dolphin) total-vm:22055596kB, anon-rss:13076652kB, file-rss:67080kB, shmem-rss:2016kB, UID:1000 pgtables:37908kB oom_score_adj:200 >Dec 21 11:15:48 <hostname> systemd[1758]: app-dolphin-d404b4650d8948828d743209543602cd.scope: A process of this unit has been killed by the OOM killer. >Dec 21 11:15:49 <hostname> systemd[1758]: app-dolphin-d404b4650d8948828d743209543602cd.scope: Failed with result 'oom-kill'. >Dec 21 11:15:49 <hostname> systemd[1758]: app-dolphin-d404b4650d8948828d743209543602cd.scope: Consumed 24.493s CPU time. I had this happen twice very quickly, and then when I went to repro it a third time to gather more information I couldn't get it to happen, so it's not 100% consistent. STEPS TO REPRODUCE 1. Navigate to /boot in dolphin 2. Right-click and select "Open as Administrator" 3. Enter password 4. Browse the directory and subdirectories. Click on files. Interact with the window. OBSERVED RESULT Sometimes, the window will freeze and no longer respond to input. Eventually, it will be killed. EXPECTED RESULT Expected that the window will not freeze when browsing the directory. SOFTWARE/OS VERSIONS Operating System: Fedora Linux 39 KDE Plasma Version: 5.27.10 KDE Frameworks Version: 5.111.0 Qt Version: 5.15.11 Kernel Version: 6.6.8_tkg_eevdf (64-bit) Graphics Platform: X11 Processors: 28 × Intel® Core™ i7-14700KF Memory: 15.3 GiB of RAM Graphics Processor: NVIDIA GeForce RTX 4080/PCIe/SSE2 Manufacturer: Alienware Product Name: Alienware Aurora R16
Can you send a screenshot of your context menu where the "Open as Adminstrator" is showing? Do you know if it's official KDE plugin, or a third party plugin?
(In reply to Akseli Lahtinen from comment #1) > Can you send a screenshot of your context menu where the "Open as > Adminstrator" is showing? > > Do you know if it's official KDE plugin, or a third party plugin? https://ibb.co/Pr2JV2f shows the context menu. I didn't think about whether or not this is official or not, or even a built-in function or not. I believe it is from the kio-admin package.
Yep, that's the KIO Admin one, it's the dog icon :) Thanks!
I happened upon this bug report, which looks like it may have been the same issue (now that I know the kio-admin plugin provides the context menu option): https://bugs.kde.org/show_bug.cgi?id=474909
Starting dolphin as root is bad practice and unsupported. For root operations please use kio-admin