Bug 445223

Summary: Dragging icons in task manager stops working after a few drags
Product: [Plasma] plasmashell Reporter: yizel7
Component: Task Manager and Icons-Only Task Manager widgetsAssignee: Eike Hein <hein>
Status: RESOLVED WORKSFORME    
Severity: normal CC: nate, plasma-bugs-null, qydwhotmail, zocsfxljsgpmiuaanz
Priority: NOR    
Version First Reported In: 5.23.3   
Target Milestone: 1.0   
Platform: Arch Linux   
OS: Other   
Latest Commit: Version Fixed In:
Sentry Crash Report:
Attachments: Dragging icons in the Task Manager stops working

Description yizel7 2021-11-09 18:47:30 UTC
While attempting to rearrange icons on my task manager it stops allowing me to drop and drop icons after a few. The following errors can be seen in journalctl but I am not sure if they are related.

This one is logged 5-6 times
qt.qpa.xcb: QXcbConnection: XCB error: 3 (BadWindow), sequence: 51811, resource id: 31457657, major code: 2 (ChangeWindowAttributes), minor code: 0

This one I see 1 time
qt.qpa.xcb: QXcbConnection: XCB error: 3 (BadWindow), sequence: 18127, resource id: 31457847, major code: 18 (ChangeProperty), minor code: 0

OBSERVED RESULT
After 3 or 4 drags, the user is still able to "pick up" the icon but it doesn't move anywhere again unless you reboot/log out.

EXPECTED RESULT
The user is able to drag and place icons as many times as they want.

SOFTWARE/OS VERSIONS
OS: Arch Linux x86_64
Kernel: 5.14.16-arch1-1
(available in About System)
KDE Plasma Version: 5.23.2
KDE Frameworks Version: 5.87.0
Qt Version: 5.15.2
Graphics Platform: X11
Comment 1 Nate Graham 2021-11-09 21:51:39 UTC
Those errors are unrelated. Cannot reproduce. :/
Comment 2 yizel7 2021-11-09 23:39:32 UTC
(In reply to Nate Graham from comment #1)
> Those errors are unrelated. Cannot reproduce. :/

Maybe my steps were incorrect the first time. I had it happen just now from a reboot with various methods but the below one worked every time. Please try again:

Perhaps it is tied to the amount of programs pinned? I have about 17 programs pinned in the task manager.

1) I took the 3rd last one and dragged it to the end.
2) Then again grabbed third last one to the end.
3) one more time did the same.

After this the issue occurs where you can "pick up" the icon (it actually stays in the task manager but you get a mini version) however you cannot actually do anything with it but let go. This happens to all of the icons regardless if they moved before or not.

Other cases, I simply did a cold boot and just dragged various programs here and there and then it stops working.
Comment 3 zocsfxljsgpmiuaanz 2021-11-10 03:26:28 UTC
I can reproduce the bug. I will attach a video showing it.
Comment 4 zocsfxljsgpmiuaanz 2021-11-10 03:30:06 UTC
Created attachment 143391 [details]
Dragging icons in the Task Manager stops working
Comment 5 yizel7 2021-11-10 15:39:25 UTC
(In reply to zocsfxljsgpmiuaanz from comment #3)
> I can reproduce the bug. I will attach a video showing it.

Yep this is exactly what happens to me. Thanks for adding a clip.

(In reply to Nate Graham from comment #1)
> Those errors are unrelated. Cannot reproduce. :/

Any way I can help further diagnose this issue or are the new steps in comment 2 able to be reproduced?
Comment 6 Nate Graham 2021-11-10 21:19:17 UTC
Thanks, I can confirm the issue with those exact steps! Weird bug.
Comment 7 Fushan Wen 2023-03-17 15:29:38 UTC
Should be no longer reproducible in 5.27 after the custom drag handler was ported away.
Comment 8 Bug Janitor Service 2023-04-01 03:45:28 UTC
Dear Bug Submitter,

This bug has been in NEEDSINFO status with no change for at least
15 days. Please provide the requested information as soon as
possible and set the bug status as REPORTED. Due to regular bug
tracker maintenance, if the bug is still in NEEDSINFO status with
no change in 30 days the bug will be closed as RESOLVED > WORKSFORME
due to lack of needed information.

For more information about our bug triaging procedures please read the
wiki located here:
https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging

If you have already provided the requested information, please
mark the bug as REPORTED so that the KDE team knows that the bug is
ready to be confirmed.

Thank you for helping us make KDE software even better for everyone!
Comment 9 Bug Janitor Service 2023-04-16 03:45:44 UTC
This bug has been in NEEDSINFO status with no change for at least
30 days. The bug is now closed as RESOLVED > WORKSFORME
due to lack of needed information.

For more information about our bug triaging procedures please read the
wiki located here:
https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging

Thank you for helping us make KDE software even better for everyone!