Bug 477665

Summary: Cannot move icon in icons-only task manager if multiple instances of a program are running
Product: [Plasma] plasmashell Reporter: Dennis <dennis>
Component: Task Manager and Icons-Only Task Manager widgetsAssignee: Plasma Bugs List <plasma-bugs-null>
Status: REOPENED ---    
Severity: normal CC: agurenko, formularsumo, jr, justin, mds_foss, nathan.murphree, neon-bugs, qydwhotmail, sitter
Priority: NOR Keywords: qt6
Version First Reported In: 6.0.3   
Target Milestone: 1.0   
Platform: Neon   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:
Attachments: icon shifting on taskbar jumps back
icon-re-arrange-issue
Video of task manager icon movement behavior

Description Dennis 2023-11-28 10:32:12 UTC
Created attachment 163561 [details]
icon shifting on taskbar jumps back

SUMMARY
Icon-only task manager does not allow to shift the icon to another location if there are multiple instances of an app. 


STEPS TO REPRODUCE
1. Install Neon
2. Install Evolution mail client
3. Install terminator
4. Open 2 instances of Evolution, for example Mail and Calendar
5. open terminator
6. Drag the icon of terminator to the left.

OBSERVED RESULT
icon move looks succesfull, but changes back to original place. See the attached file as example

EXPECTED RESULT
icon should stay put

SOFTWARE/OS VERSIONS
Operating System: KDE neon Unstable Edition
KDE Plasma Version: 5.81.80
KDE Frameworks Version: 5.245.0
Qt Version: 6.6.0
Kernel Version: 6.2.0-37-generic (64-bit)
Graphics Platform: Wayland
Processors: 8 × Intel® Core™ i7-8565U CPU @ 1.80GHz
Memory: 15,3 GiB of RAM
Graphics Processor: Mesa Intel® UHD Graphics 620
Manufacturer: Dell Inc.
Product Name: XPS 13 9380

ADDITIONAL INFORMATION
- this does not happen if there is only one instance of Evolution open. 
- happens also with asbru-cm instead of terminator.
- Let me know if there is more testing required.
Comment 1 Justin Zobel 2023-12-27 10:45:59 UTC
Can confirm.

If I move them quickly before the preview appears, they stick.

If I let the preview appear while dragging, they revert.
Comment 2 Gurenko Alex 2024-01-30 17:19:41 UTC
Created attachment 165360 [details]
icon-re-arrange-issue

I have similar issue, although they are not coming back on their own, but I cannot drag more than 3 icons at the time it seems.
Comment 3 Gurenko Alex 2024-01-30 17:20:17 UTC
(In reply to Gurenko Alex from comment #2)
> Created attachment 165360 [details]
> icon-re-arrange-issue
> 
> I have similar issue, although they are not coming back on their own, but I
> cannot drag more than 3 icons at the time it seems.

Operating System: Fedora Linux 40
KDE Plasma Version: 5.92.0
KDE Frameworks Version: 5.248.0
Qt Version: 6.6.1
Kernel Version: 6.8.0-0.rc2.19.fc40.x86_64 (64-bit)
Graphics Platform: Wayland
Processors: 12 × Intel® Core™ i7-9850H CPU @ 2.60GHz
Memory: 31.0 GiB of RAM
Graphics Processor: Mesa Intel® UHD Graphics 630
Manufacturer: LENOVO
Product Name: 20QUS10L16
System Version: ThinkPad P1 Gen 2
Comment 4 mydarkstar 2024-04-06 08:16:54 UTC
(In reply to Dennis from comment #0)

I can't reproduce this issue on Plasma 6.0.3, even with grouping in the Icons-only Task Manager disabled ("Do not group").

(In reply to Gurenko Alex from comment #2)

As for the second video uploaded, I believe I have had a similar issue before a long time ago.

It was however not related to the fact that multiple instances of a program were running, but that a Flatpak app I had pinned (while it was running) broke the panel's INI config. Pinning programs that are running with a lot of parameters may put all those parameters into your panel's configuration, which I speculate may break the parsing. Because of this, I learned to only pin those kind of apps from the Application Launcher search.

I would recommend you try to unpin all your apps or remove the Icons-only Task Manager entirely and re-add it to your panel.
Please report if that helps!

I have also filed this bug report for plasmashell and the Icons-only Task Manager, instead of the KDE neon distribution and their packages. They have nothing to do with this. :)
Comment 5 Dennis 2024-04-08 11:39:34 UTC
It is not happening to me either in 

Operating System: KDE neon 6.0
KDE Plasma Version: 6.0.3
KDE Frameworks Version: 6.0.0
Qt Version: 6.6.3
Kernel Version: 6.5.0-26-generic (64-bit)
Graphics Platform: Wayland
Processors: 24 × AMD Ryzen 9 5900 12-Core Processor
Memory: 31,2 GiB of RAM
Graphics Processor: NV174
Manufacturer: Alienware
Product Name: Alienware Aurora Ryzen Edition R14
System Version: 2.15.0

cl;osing the issue
Comment 6 Nathan Murphree 2024-07-09 19:28:04 UTC
I would like to ask that this be considered experiencing a possible regression.
Once I can attach video of the behavior, I will do so.

In short, click and hold an icon to rearrange it, and the icon you selected is changed auto-magically.
Comment 7 Nathan Murphree 2024-07-09 19:29:04 UTC
Created attachment 171510 [details]
Video of task manager icon movement behavior
Comment 8 FormularSumo 2024-08-29 23:45:14 UTC
I'm getting the same issue as shown in the video, trying to move apps in the task manager is very difficult, so I've resorted to just pinning them in the order I want. It doesn't seem to matter if the apps are open or not, although some are Flatpacks that I pinned while having open.

I've now tried deleting the Icons-only Task Manager as suggested then creating it again, adding all the apps while closed from Application Search, but unfortunately no difference after that.

Device: Asus Zenbook Flip (UP4304V), OS:KDE Neon 6.0 User Edition, KDE Plasma version 6.1.4
Comment 9 Dennis 2024-09-11 07:02:51 UTC
Still ongoing on a new install:

Operating System: KDE neon 6.0
KDE Plasma Version: 6.1.4
KDE Frameworks Version: 6.5.0
Qt Version: 6.7.2
Kernel Version: 6.8.0-40-generic (64-bit)
Graphics Platform: Wayland
Processors: 8 × Intel® Core™ i7-6700HQ CPU @ 2.60GHz
Memory: 15,4 GiB of RAM
Graphics Processor: Mesa Intel® HD Graphics 530
Manufacturer: Dell Inc.
Product Name: XPS 15 9550

Let me know if I can test/try anything. I'm not a dev but willing to help.