Bug 489809 - Panel drag'n'drop broken - ends on mousedown (should be mouseup)
Summary: Panel drag'n'drop broken - ends on mousedown (should be mouseup)
Status: RESOLVED DUPLICATE of bug 491100
Alias: None
Product: plasmashell
Classification: Plasma
Component: Panel (show other bugs)
Version: 6.1.2
Platform: Other Linux
: NOR normal
Target Milestone: 1.0
Assignee: Plasma Bugs List
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-07-06 03:57 UTC by pallaswept
Modified: 2024-09-12 21:26 UTC (History)
3 users (show)

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


Attachments
Video of bug (924.33 KB, video/mp4)
2024-08-07 00:50 UTC, pallaswept
Details

Note You need to log in before you can comment on or make changes to this bug.
Description pallaswept 2024-07-06 03:57: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
***

SUMMARY
Moving items in the Task Manager, or in the Kickoff menu, if you click to drag, the icon will move, when you release the button, the icon appears to drop, but you will be unable to move other icons until you end the drag'n'drop by clicking (mousedown) outside of the icon to reset the drag'n'drop state. 

See video at https://old.reddit.com/r/kde/comments/1dvoadm/weird_issue_while_moving_icons_in_task_manager/

I've had this one filed with opensuse https://bugzilla.suse.com/show_bug.cgi?id=1226103 as I could not reproduce this in Neon, but opensuse is using a newer KDE frameworks and Qt version than Neon, so perhaps that is what causes the issue?

STEPS TO REPRODUCE
1. Boot Opensuse Tumbleweed live ISO
2. Log out. Change to Plasma Wayland session. Log in
3. Attempt to move icons as per video on reddit above

OBSERVED RESULT
The first icon will move, subsequent attempts to move icons will result in the first icon moving again, because the drag'n'drag is still active for it.

I have seen this bug while moving items in the Task Manager (Icons and Text, ungrouped, manual sort), panel (per video), kickoff, etc. I have not seen this behaviour outside of the plasma panel itself.

EXPECTED RESULT
Arrange plasma icons by drag'n'drop.

SOFTWARE/OS VERSIONS
Windows: 
macOS: 
Linux/KDE Plasma: Tumbleweed
(available in About System)
KDE Plasma Version: 6.1.2
KDE Frameworks Version: 6.3.0
Qt Version: 6.7.2

ADDITIONAL INFORMATION
Thanks :)
Comment 1 pallaswept 2024-07-22 00:28:37 UTC
I noticed that the post about this bug on reddit was in the top 20 for this month, even among all the posts about the 6.1 release. This is annoying a lot of people. Accordingly I'll change this to 'confirmed' status since it's obviously not just me.

Meanwhile, found another way to alter this behaviour:

Mouse down on the task manager icon to initiate drag'n'drop moving it. Instead of dragging to another place on the same Task Manager like normal, drag the mouse onto your second display. Now drag it back to the Task Manger like normal, drop it like normal (mouse up) and everything works like normal. Grab another different icon from Task Manager, attempt to move it, and that icon you clicked on, is the one that moves. Like normal.

In contrast:

Mouse down on the task manager icon to initiate drag'n'drop moving it. Drag to another place on the same Task Manager like normal, drop it like normal (mouse up) and everything seems to have worked. Grab another different icon from Task Manager, attempt to move it, and that icon you clicked on, is NOT the one that moves. You're still moving the first icon you clicked, the one you already dropped.

Again I suggest viewing the video from the reddit thread, as I can't record video to demonstrate, courtesy of bug 489434.
Comment 2 pallaswept 2024-08-07 00:50:08 UTC
Created attachment 172367 [details]
Video of bug

Now that spectacle is fixed I can attach video. I used the 'Mouse Click Animation' kwin effect, so that you can see when I click - look for the red circles. This is an unmodified tumbleweed iso in a VM but it does this with any distro. Wayland session - this bug does not effect X11.

Note also the misplaced thumbnail/thumbnail of the wrong app during moves, and failure to activate a window when clicking its icon after moving one. Just a few other hints that the applet is confused.
Comment 3 pallaswept 2024-08-10 18:25:17 UTC

*** This bug has been marked as a duplicate of bug 491100 ***