Context menu freezes when trying to move files with Dolphin

Since some time I have the problem that when I try to drag a larger file (eg video) from a Dolphin window to the desktop, the context menu that appears freezes. But also the whole desktop freezes. After some time, the freeze dissolves again and I can continue working. This only happens when I try to move, link, copy etc. a large file to the desktop (NOT desktop folder!) via context menu. Smaller files work fine. In the screenshot it is for example a 15 GB video.
So: I touch the video with LMB in the Dolphin window, drag it out to the desktop, click RMB to get the context menu - Freeze.

20220715_181853

The desktop layout is the Folder View.

Maybe System Monitor could be helpful to see what’s happening while you’re trying to copy a large file to the Desktop, I guess it could show which program is eating lot of resources causing the freezing.

1 Like

Good Idea, thank you.

maybe just deactivate preview mode in dolphin?

Just tested this, no change. But it works when I open the desktop in Dolphin as a folder, so from window to window.

Open up terminal and dolphin simultaneously.

In terminal, enter command journalctl -f to check the real time logs.

Now try to move from dolphin and then check what the real time logs are.

2 Likes

And that’s the result:

[uwe@HAL ~]$ journalctl -f
Jul 16 13:05:51 HAL kernel: audit: type=1106 audit(1657969551.164:181): pid=26339 uid=1000 auid=1000 ses=3 msg='op=PAM:session_close grantors=pam_systemd_home,pam_limits,pam_unix,pam_permit acct="root" exe="/usr/bin/sudo" hostname=? addr=? terminal=/dev/pts/0 res=success'
Jul 16 13:05:51 HAL kernel: audit: type=1104 audit(1657969551.164:182): pid=26339 uid=1000 auid=1000 ses=3 msg='op=PAM:setcred grantors=pam_faillock,pam_permit,pam_faillock acct="root" exe="/usr/bin/sudo" hostname=? addr=?terminal=/dev/pts/0 res=success'
Jul 16 13:05:51 HAL plasmashell[640]: file:///usr/share/plasma/plasmoids/org.kde.kdeconnect/contents/ui/FullRepresentation.qml:37:23: QML DeviceDelegate: Binding loop detected for property "width"
Jul 16 13:06:26 HAL kwin_x11[618]: qt.qpa.xcb: QXcbConnection: XCB error: 3 (BadWindow), sequence: 41170, resource id: 54525973, major code: 18 (ChangeProperty), minor code: 0
Jul 16 13:06:26 HAL systemd[568]: app-org.kde.konsole-fad75297e72f46c3a5a46ac09420190e.scope: Consumed 22.601s CPU time.
Jul 16 13:06:43 HAL plasmashell[640]: file:///usr/lib/qt/qml/org/kde/plasma/core/private/DefaultToolTip.qml:69:13: QML Label: Binding loop detected for property "verticalAlignment"
Jul 16 13:07:02 HAL plasmashell[640]: file:///usr/share/plasma/plasmoids/org.kde.plasma.taskmanager/contents/ui/Task.qml:385: Unable to assign [undefined] to QString
Jul 16 13:07:02 HAL plasmashell[640]: file:///usr/share/plasma/plasmoids/org.kde.plasma.taskmanager/contents/ui/Task.qml:385: Unable to assign [undefined] to QString
Jul 16 13:07:02 HAL kwin_x11[618]: qt.qpa.xcb: QXcbConnection: XCB error: 3 (BadWindow), sequence: 58232, resource id: 23069688, major code: 18 (ChangeProperty), minor code: 0
Jul 16 13:07:02 HAL systemd[568]: Started Konsole - Terminal.
Jul 16 13:07:25 HAL plasmashell[640]: Arrived mimeData (QUrl("file:///home/uwe/Videos/Filme/Das Philadelphia Experiment.mkv")) ("text/uri-list", "text/plain", "application/x-kde4-urilist") at 787 ,  1027
Jul 16 13:07:25 HAL plasmashell[640]: Mimetype Job returns. "video/x-matroska"
Jul 16 13:07:25 HAL plasmashell[640]: Received a suitable dropEvent at  QPoint(787,1027)
Jul 16 13:07:25 HAL plasmashell[640]: Bailing out. Cannot find associated dropEvent related to the TransferJob
Jul 16 13:07:25 HAL plasmashell[640]: Creating menu for:  "video/x-matroska"
Jul 16 13:08:43 HAL plasmashell[640]: file:///usr/share/plasma/plasmoids/org.kde.desktopcontainment/contents/ui/FolderItemDelegate.qml:322:17: QML Label: Binding loop detected for property "verticalAlignment"
Jul 16 13:08:43 HAL plasmashell[640]: file:///usr/share/plasma/plasmoids/org.kde.desktopcontainment/contents/ui/FolderItemDelegate.qml:322:17: QML Label: Binding loop detected for property "width"
Jul 16 13:08:52 HAL plasmashell[640]: plasma.containments.desktop.folder.foldermodel: clearing drop target positions after timeout: QHash(("Reilly, Matthew - Das Tartarus-Orakel.pdf", QPoint(1863,482))("Controller-SettingsSupertuxkart", QPoint(1986,472))("VDPAU.txt", QPoint(307,933)))

I can’t do anything with it, sorry.

I had not experienced this when I tried to follow the method adopted by you.

I will look over this tomorrow, I am little busy today.

1 Like

thx @SearingSunrazeSmash :+1:t2:

1 Like

I don’t know why Dolphin is still around, it does not even allow you to open a folder as root.

sudo pkexec env DISPLAY=$DISPLAY XAUTHORITY=$XAUTHORITY KDE_SESSION_VERSION=5 KDE_FULL_SESSION=true dbus-launch dolphin

It looks like it should work without sudo as well. Have you tried:

pkexec env DISPLAY=$DISPLAY XAUTHORITY=$XAUTHORITY KDE_SESSION_VERSION=5 KDE_FULL_SESSION=true dbus-launch dolphin

?

Yes, it works, but still the password prompt comes up.

But that’s the idea :slightly_smiling_face:
Just wanted to point out that sudo is not necessary in combination with pkexec.

All of that, just to get Dolphin to run as root?
Compared with Nemo: sudo su then password, then nemo. Perhaps I misunderstand.

If I remember correctly, the ability to run Dolphin as root was removed quite a while back. Perhaps KDE users on the forum could fill in with more info on that.

Also I am not sure if it is a good thing or advisable to run the whole of a GUI file manager as root. Generally running GUI apps as root is dissuaded. Perhaps more advanced users could fill in with more info on that :blush:.

:eye: https://wiki.archlinux.org/title/Running_GUI_applications_as_root

I am not a regular KDE user but if one just need to to edit a file as root, Kate could do that. It will prompt the user for password when saving the file after editing.

You could also use the context menu in Nemo and choose “Open as root”.

Screenshot from 2022-07-17 09-35-37

2 Likes

Neither am I, I just remembered it from when I once used it.

Even easier.

1 Like

Drinking and driving is NOT a good thing, but some people still do it anyway.

Pudge

5 Likes

Yeah, either way, hightened probability of an unpleasant “crash”.

3 Likes

Well said, my friend, well said.

Pudge

1 Like