Bug 504532 - Folder View Widget on Desktop containment temporarily hangs desktop when copying or moving files into it from Dolphin
Summary: Folder View Widget on Desktop containment temporarily hangs desktop when copy...
Status: VERIFIED FIXED
Alias: None
Product: plasmashell
Classification: Plasma
Component: Desktop icons & Folder View widget (other bugs)
Version First Reported In: 6.3.5
Platform: Fedora RPMs Linux
: NOR normal
Target Milestone: 1.0
Assignee: Plasma Bugs List
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2025-05-19 15:46 UTC by Mike
Modified: 2025-06-20 16:13 UTC (History)
5 users (show)

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


Attachments
Screenshot of Desktop with Folder Views (660.62 KB, image/png)
2025-05-20 17:31 UTC, Mike
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Mike 2025-05-19 15:46:24 UTC
***
If you're not sure this is actually a bug, instead post about it at https://discuss.kde.org

If you're reporting a crash, attach a backtrace with debug symbols; see https://community.kde.org/Guidelines_and_HOWTOs/Debugging/How_to_create_useful_crash_reports

Please remove this comment after reading and before submitting - thanks!
***

SUMMARY
When copying or moving a file into a folder view widget, the desktop temporarily hangs.

STEPS TO REPRODUCE
1. Create a folder view widget on the desktop.
2. Copy or move a file (size of file doesn't seem to matter) from Dolphin into the folder view widget.

OBSERVED RESULT
System becomes unresponsive and CPU usage increases for about 10-20 seconds before copy/move completes.

EXPECTED RESULT
Normal move/copy responsiveness similar to when copying/moving from Dolphin folder to another Dolphin folder.

SOFTWARE/OS VERSIONS
Windows: 
macOS: 
(available in the Info Center app, or by running `kinfo` in a terminal window)
Linux/KDE Plasma: Fedora Kinoite 42
KDE Plasma Version: 6.3.5
KDE Frameworks Version: 6.14.0 
Qt Version: 6.9.0

ADDITIONAL INFORMATION
Comment 1 Nate Graham 2025-05-19 19:04:04 UTC
Is your desktop also set to Folder, or is it set to Desktop?
Comment 2 Mike 2025-05-19 19:23:24 UTC
My actual Desktop is set to Desktop.  I have four Folder Views on the Desktop, one of which is a folder view of the Desktop (helps keeps things sorted and organized better).
Comment 3 Nate Graham 2025-05-20 17:05:36 UTC
Thanks. On current git master, I can't reproduce this. Copying or moving into a Folder View widget (showing the contents of ~/Desktop) on a Desktop containment is instantaneous.

What location is the folder view widget set up to show? Is it perhaps a network location?
Comment 4 Mike 2025-05-20 17:31:48 UTC
Created attachment 181580 [details]
Screenshot of Desktop with Folder Views
Comment 5 Mike 2025-05-20 17:33:58 UTC
I have four folder views on my Desktop.  Their locations are Desktop, Home, and two subfolders of Home.  I've attached a screenshot.
Comment 6 Mike 2025-05-24 17:11:29 UTC
Some additional information.  If I run plasmashell -d --replace, I get the following output:

✗  plasmashell -d --replace
kf.plasma.quick: Applet preload policy set to 1
org.kde.plasma.containmentlayoutmanager: Error: cannot change the containment to AppletsLayout
org.kde.plasma.containmentlayoutmanager: Error: cannot change the containment to AppletsLayout
org.kde.plasma.containmentlayoutmanager: Error: cannot change the containment to AppletsLayout
org.kde.plasma.containmentlayoutmanager: Error: cannot change the containment to AppletsLayout
file:///usr/share/plasma/plasmoids/org.kde.desktopcontainment/contents/ui/main.qml:178:25: QML FolderViewDropArea (parent or ancestor of QQuickLayoutAttached): Binding loop detected for property "minimumWidth":
file:///usr/share/plasma/plasmoids/org.kde.desktopcontainment/contents/ui/main.qml:201:9
Toolbox not loading, toolbox package is either invalid or disabled.
file:///usr/share/plasma/plasmoids/org.kde.plasma.kickoff/contents/ui/main.qml:310:13: QML Image: Cannot open: file:///usr/share/plasma/plasmoids/org.kde.plasma.kickoff/contents/ui/start-here-kde-plasma
org.kde.applets.brightness: D-Bus action "KeyboardBrightnessControl" is not available at service "org.kde.Solid.PowerManagement"
file:///usr/share/plasma/plasmoids/org.kde.plasma.kickoff/contents/ui/main.qml:310:13: QML Image: Cannot open: file:///usr/share/plasma/plasmoids/org.kde.plasma.kickoff/contents/ui/start-here-kde-plasma
Comment 7 Mike 2025-05-30 13:55:21 UTC
Some additional information: 

- Does not always happen the first time I move or copy a file into a Folder View Widget.  Usually starts having issues after the 2nd copy/move operation.
- Does not happen at all if I use keyboard cut/copy/paste shortcuts, only happens when file/folder is dragged and dropped with a mouse.
Comment 8 Kalzi 2025-06-03 18:43:35 UTC Comment hidden (spam)
Comment 9 Nate Graham 2025-06-03 19:30:15 UTC Comment hidden (spam)
Comment 10 Kalzi 2025-06-03 23:05:23 UTC
(In reply to Nate Graham from comment #9)
> This bug is about when using a Desktop containment. If you can reproduce it
> with a Folder containment, it's very likely a different issue. Can you open
> a new bug report for that and then relate it to this one using the "See
> Also" field? Thanks!

Yup, I just reproduced it in folder view. I am going to make a bug report about it
Comment 11 Lenzoid 2025-06-04 20:06:37 UTC
> On current git master, I can't reproduce this. 

Same here, we don't see the hang in Beta 6.4 and newer. There, the Folder View widget seems to be affected by at least a graphical glitch, which I will report in separate different issue.

Closing this because it appears to be fixed. Should you still see this in 6.4, there may be a special constellation for you that is causing this, but I don't believe you will.
Comment 12 Mike 2025-06-20 13:52:12 UTC
Just circling back to confirm that my system upgraded to KDE 6.4 today and the issue is indeed resolved.  Thank you.
Comment 13 Nate Graham 2025-06-20 16:13:35 UTC
Great!