Bug 494520

Summary: Unable to arrange icons
Product: [Plasma] plasmashell Reporter: pallaswept <pallaswept>
Component: Task Manager and Icons-Only Task Manager widgetsAssignee: Plasma Bugs List <plasma-bugs>
Status: RESOLVED UPSTREAM    
Severity: normal CC: nate, qydwhotmail
Priority: NOR    
Version: 6.2.0   
Target Milestone: 1.0   
Platform: Other   
OS: Linux   
See Also: https://bugs.kde.org/show_bug.cgi?id=491100
https://bugs.kde.org/show_bug.cgi?id=494581
Latest Commit: Version Fixed In:
Sentry Crash Report:
Attachments: Screencap of the bug. Note cursor is 'stuck' afterwards.
Screencap in stock breeze

Description pallaswept 2024-10-11 10:53:07 UTC
Created attachment 174682 [details]
Screencap of the bug. Note cursor is 'stuck' afterwards.

SUMMARY
Drag-and-drop to arrange icons in the task manager (icons only or icons-and-text) fails.

STEPS TO REPRODUCE
1. Open kate
2. Open konsole
3. Try to rearrange their icons by drag'n'drop

OBSERVED RESULT
Cursor changes to the move cursor (cardinal arrows, but sometimes the hand instead, depending on the subtleties of how you do it, like how fast you are)
Task Manager 'icon' does not move.

EXPECTED RESULT
Task manager icon moves.

SOFTWARE/OS VERSIONS
Operating System: openSUSE Tumbleweed 20241009
KDE Plasma Version: 6.2.0
KDE Frameworks Version: 6.6.0
Qt Version: 6.7.3
Kernel Version: 6.11.2-1-default (64-bit)
Graphics Platform: Wayland
Processors: 24 ร— AMD Ryzen 9 5900X 12-Core Processor
Memory: 31.3 GiB of RAM
Graphics Processor: NVIDIA GeForce RTX 3090/PCIe/SSE2
Manufacturer: ASUS

ADDITIONAL INFORMATION

Another report of the bug from reddit: https://old.reddit.com/r/kde/comments/1g0qj4n/fedora_40_can_no_longer_left_click_anything_in_my/
Comment 1 Nate Graham 2024-10-11 17:21:42 UTC
Thanks for the screen recording, but unfortunately it's somewhat difficult to see what's going on in there because 99% of the screen content is black! Can you try this in a new clean user account with no Plasma customizations and see if it happens there? If it does, would you mind taking another screen recording of it? If it doesn't happen, then it would be helpful if you could narrow down which exact customization in your normal user account causes it. Thanks!
Comment 2 pallaswept 2024-10-12 00:21:50 UTC
Created attachment 174718 [details]
Screencap in stock breeze

Video includes 489952 and 487563 behaviour, but this is only about the drag'n'drop failure
Comment 3 pallaswept 2024-10-12 00:29:49 UTC
(In reply to Nate Graham from comment #1)
> Can you try this in a new clean user account with no Plasma customizations and see if it happens there? 

Hi Nate, thanks for looking at this. I've attached a new video with an unmodified new account. I'm still suffering the frame pacing bug and the VRR bug, so the video is very choppy, but hopefully the two videos together will give some clarity.

One thing that's more obvious with this one, is the 'stuck' cursor after attempting the move. I suspect that's just 491100 though. 

Ignore the kwin crash, that only happens with spectacle with these new accounts and not with my usual account. I don't know what that's about and I have enough bugs on my plate that I'd prefer to ignore it for now if that's OK :)

5 bugs in one, I'm special! D: hahahaha
Comment 4 Nate Graham 2024-10-16 17:40:27 UTC
Is the affected Task Manager by any chance configured to sort by something other than "Manually" in its settings window?

If I use any of those settings, I can reproduce it. If I set it to "Manually" (which is the default setting), then I can re-arrange the tasks as expected.
Comment 5 pallaswept 2024-10-16 20:08:38 UTC
(In reply to Nate Graham from comment #4)
> Is the affected Task Manager by any chance configured to sort by something
> other than "Manually" in its settings window?

Hi Nate

Yep it's set to manual. I also tried changing it to something else and then back to manual, just to make sure. No dice. The behaviour I'm seeing isn't quite the same as those other settings - things like, the cursor being 'stuck' in the hand or the red circle/cross, and having to click once to stop the failing drag operation. Its behaviour is intermittent, but it's not the normal.

This is basically effecting all of KDE, for eg I can't drag'n'drop text in Kate (but can eg in firefox) or drag files in dolphin, so I think it's something bigger.

I've seen the app updates to 24.08.2 since logging this, no change there. Qt 6.8 is due any day here.
Comment 6 Bug Janitor Service 2024-10-31 03:46:56 UTC
๐Ÿ›๐Ÿงน โš ๏ธ This bug has been in NEEDSINFO status with no change for at least 15 days. Please provide the requested information, then set the bug status to REPORTED. If there is no change for at least 30 days, it will be automatically closed as RESOLVED WORKSFORME.

For more information about our bug triaging procedures, please read https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging.

Thank you for helping us make KDE software even better for everyone!
Comment 7 Nate Graham 2024-10-31 16:24:02 UTC
This definitely feels like a Qt issue. I would recommend talking with your distro about it, as it's also possible they've patched Qt in a way that made this happen.
Comment 8 pallaswept 2024-11-01 15:23:42 UTC
Thanks to your advice, Nate, it's fixed!

There was a leftover remnant of libQt6eglWaylandClient6 patched from 491100, my package manager (zypper, but it was my package to blame, not a bug there) thought it was the same, I force-reinstalled the unpatched package and it's come good, obviously it was not the same. 

Without your advice, I'd never have thought to reinstall the thing I already reinstalled twice. Thanks Nate!!! Three weeks of no drag'n'drop, wow SUCH a *relief*!
Comment 9 Nate Graham 2024-11-01 15:41:09 UTC
Fantastic!