Bug 463136 - Copying files by dragging them doesn't work. Also dragging files to folders sometimes makes the whole editor freeze for some time.
Summary: Copying files by dragging them doesn't work. Also dragging files to folders s...
Status: REPORTED
Alias: None
Product: dolphin
Classification: Applications
Component: general (show other bugs)
Version: 22.12.0
Platform: Arch Linux Linux
: NOR major
Target Milestone: ---
Assignee: Dolphin Bug Assignee
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2022-12-16 22:48 UTC by Blendy
Modified: 2023-09-01 20:55 UTC (History)
7 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments
Screenshot of the error message (8.73 KB, image/png)
2022-12-16 22:48 UTC, Blendy
Details
Dolphin 22.12.3 with FUSE enabled in the kernel (212.42 KB, text/plain)
2023-06-30 08:37 UTC, kocelfc
Details
Dolphin 22.12.3 without FUSE enabled in the kernel (190.23 KB, text/plain)
2023-06-30 08:38 UTC, kocelfc
Details
Dolphin 23.04.2 without FUSE enabled in the kernel (118.85 KB, text/plain)
2023-06-30 08:38 UTC, kocelfc
Details
Dolphin 23.04.2 with FUSE enabled in the kernel (198.97 KB, text/plain)
2023-06-30 08:38 UTC, kocelfc
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Blendy 2022-12-16 22:48:22 UTC
Created attachment 154635 [details]
Screenshot of the error message

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. Open dolphin
2. Drag a file to somewhere else, click "Copy Here"

OBSERVED RESULT
Doesn't copy the file, instead a red popup saying "The file or folder Message recipient disconnected from message bus without replying does not exist."
Sometimes dolphin freezes for some time (and other programs too for a short time)

EXPECTED RESULT
The file copies to the desired location fine, and dolphin doesn't freeze.

SOFTWARE/OS VERSIONS
Linux/KDE Plasma: 
(available in About System)
KDE Plasma Version: 5.26.4
KDE Frameworks Version: 5.101.0
Qt Version: 5.15.7
Kernel Version: 6.0.12-arch1-1 (64-bit)
Graphics platform: X11

ADDITIONAL INFORMATION
Dolphin doesn't log anything to the terminal when the bug occurs
Comment 1 kocelfc 2023-06-30 05:45:46 UTC
Still reproducible on 23.04.2
Comment 2 kocelfc 2023-06-30 08:37:06 UTC
(In reply to kocelfc from comment #1)
> Still reproducible on 23.04.2

So, I am running Gentoo and noticed that 22.12.3 was still in the tree, and built that, and the problem wasn't there. Then I decided to do a bisect between 23.04.2 and 22.12.3 which led to nothing. Then I started checking for failing services, and noticed that xdg-document-portal.service was failing because I hadn't had the fuse module enabled in my kernel. 

Jun 30 11:13:16 gentoo systemd[785]: Starting xdg-document-portal.service...
Jun 30 11:13:16 gentoo systemd[785]: Started xdg-document-portal.service.
Jun 30 11:13:16 gentoo xdg-document-portal[850]: fuse: device not found, try 'modprobe fuse' first
Jun 30 11:13:16 gentoo xdg-document-portal[850]: error: fuse init failed: Can't mount path /run/user/1000/doc
Jun 30 11:13:16 gentoo systemd[785]: xdg-document-portal.service: Main process exited, code=exited, status=6/NOTCONFIGURED
Jun 30 11:13:16 gentoo systemd[785]: xdg-document-portal.service: Failed with result 'exit-code'.

After building the kernel with CONFIG_FUSE_FS=m, dolphin started working properly on all versions. I am going to attach logs from dolphin with both 22.12.3 and 23.04.2 with and without fuse.
Comment 3 kocelfc 2023-06-30 08:37:35 UTC
Created attachment 159994 [details]
Dolphin 22.12.3 with FUSE enabled in the kernel
Comment 4 kocelfc 2023-06-30 08:38:00 UTC
Created attachment 159995 [details]
Dolphin 22.12.3 without FUSE enabled in the kernel
Comment 5 kocelfc 2023-06-30 08:38:15 UTC
Created attachment 159996 [details]
Dolphin 23.04.2 without FUSE enabled in the kernel
Comment 6 kocelfc 2023-06-30 08:38:32 UTC
Created attachment 159997 [details]
Dolphin 23.04.2 with FUSE enabled in the kernel
Comment 7 Petr 2023-07-07 17:40:14 UTC
still there, very annoying.

Operating System: Fedora Linux 38
KDE Plasma Version: 5.27.6
KDE Frameworks Version: 5.107.0
Qt Version: 5.15.10
Kernel Version: 6.3.11-200.fc38.x86_64 (64-bit)
Graphics Platform: X11
Processors: 4 × Intel® Core™ i3-7100U CPU @ 2.40GHz
Memory: 7.6 GiB of RAM
Graphics Processor: Mesa Intel® HD Graphics 620
Manufacturer: Acer
Product Name: Aspire F5-771
System Version: V1.18
Comment 8 Dick Tracey 2023-07-13 06:03:09 UTC
Happens in Arch Linux as well, using 23.04.3
Comment 9 Chris 2023-07-14 21:42:35 UTC
I saw this on gentoo after upgrading from 22.12.3 to 23.04.2.  Loading the fuse module does indeed seem to fix it.  It seems this is required now, but I can't really see a reason why.  In the past, I only would load fuse when I need to use appimages.  I don't use snaps, flatpacks, etc.
Comment 10 Dick Tracey 2023-07-20 02:46:20 UTC
Happens on Arch Linux with fuse module loaded.
Comment 11 Dick Tracey 2023-07-20 02:48:55 UTC
So far, on Arch Linux, this only happens to a dolphin process started for a different user, using kdesu dbus-launch:

kdesu -u user dbus-launch dolphin