Moving file into folderview widget causes plasmashell to freeze

Hello, everyone! I’ve stumbled upon a weird behavior: moving file into a folderview widget causes the whole shell to freeze (panels don’t respond, alt-tabs etc…, while apps themselves work)

OS: Arch Linux x86_64
Kernel: 6.14.10-arch1-1
plasma-desktop 6.3.5-1
Kwin with Wayland

Starting my graphical session as /usr/lib/plasma-dbus-run-session-if-needed /usr/bin/startplasma-wayland plasma

I suspect these logs to point to the issue

Jun 07 14:22:08 mvv plasmashell[11107]: file:///usr/share/plasma/plasmoids/org.kde.desktopcontainment/contents/ui/FolderItemDelegate.qml:365:21: Unable to assign [undefined] to bool
Jun 07 14:22:08 mvv plasmashell[11107]: file:///usr/share/plasma/plasmoids/org.kde.desktopcontainment/contents/ui/FolderItemDelegate.qml:233:17: Unable to assign [undefined] to bool
Jun 07 14:22:09 mvv plasmashell[11107]: cannot grab mouse: no event is currently being delivered
Jun 07 14:22:11 mvv plasmashell[11107]: cannot grab mouse: no event is currently being delivered
Jun 07 14:22:11 mvv plasmashell[11107]: cannot grab mouse: no event is currently being delivered
Jun 07 14:22:12 mvv plasmashell[11107]: cannot grab mouse: no event is currently being delivered
Jun 07 14:22:35 mvv kwin_wayland[1091]: kwin_wayland_drm: atomic commit failed: Permission denied
[mvvdovitsyn@mvv ~]$  lspci -k | grep -A 2 -E "(VGA|3D)"
00:02.0 VGA compatible controller: Intel Corporation Raptor Lake-P [Iris Xe Graphics] (rev 04)
        Subsystem: Lenovo Device 230e
        Kernel driver in use: i915

What can I do further to troubleshoot the cause of the issue?
I suspected the problem with the drivers, as kwin_wayland_drm encountered atomic commit failed, but doesn’t seem, does it?

/usr/share/plasma/plasmoids/org.kde.desktopcontainment/contents/ui/FolderItemD
elegate.qml:232-233

sourceComponent: frameComponent
active: impl.iconAndLabelsShouldlookSelected || model.selected
asynchronous: true

364-366

text: main.nameWrapped
font.italic: model.isLink
wrapMode: (maximumLineCount === 1) ? Text.NoWrap : Text.Wrap

I had a similar problem, though it may be unrelated. The cause was a KM switch that continuously spammed (look at dmesg output) :

usb usb6-port2: Cannot enable. Maybe the USB cable is bad?
usb usb6-port2: Cannot enable. Maybe the USB cable is bad?
usb usb6-port2: Cannot enable. Maybe the USB cable is bad?

The cause was a KM switch I used to switch keyboard and mouse between computers. I removed the KM switch and the problem went away.

I am not sure if this will help you any.

1 Like

Thanks for the guess! Checked dmesg after reproducing the bug, and nothing, like at all, happens, when the freeze happens

Also, journalctl entries I’ve posted might be not related, as they do not appear, when the bug is reproduced as well

Hi, this is a confirmed bug that is fixed now. The fix should appear in Plasma 6.4.

2 Likes

Thank you so much! Tried to find it, but used all the wrong keywords :smile:

1 Like