Bug 468195

Summary: Last task in multi-row Task Manager can overlap with adjacent panel widgets
Product: [Plasma] plasmashell Reporter: Jaime Torres <jtamate>
Component: Task Manager and Icons-Only Task Manager widgetsAssignee: Plasma Bugs List <plasma-bugs>
Status: RESOLVED DUPLICATE    
Severity: normal CC: nate, ostroffjh, plevine457
Priority: NOR    
Version First Reported In: master   
Target Milestone: 1.0   
Platform: Neon   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:
Attachments: task overlapping
Yes, it happens in X11 also

Description Jaime Torres 2023-04-06 08:09:27 UTC
Created attachment 157889 [details]
task overlapping

SUMMARY
When I have 13 tasks (or dialogs), one of them is out of the limits of the task bar and is over the system tray.
I have manual order for the taskbars, two rows maximum, never group, fill the free space in the panel and using wayland

STEPS TO REPRODUCE (I haven't tried in other configurations)
1. Have the status bar with two rows
2. Have 12 tasks in the task bar (6 in the first row and 6 in the second row)
3. Add another task.

OBSERVED RESULT
One of the tasks is over the system tray 

EXPECTED RESULT
All the tasks are inside the space of the task bar


SOFTWARE/OS VERSIONS
Operating System: openSUSE Tumbleweed 20230324
KDE Plasma Version: 5.27.3
KDE Frameworks Version: 5.104.0
Qt Version: 5.15.8
Kernel Version: 6.2.8-1-default (64-bit)
Graphics Platform: Wayland

ADDITIONAL INFORMATION
Comment 1 Nate Graham 2023-04-06 15:48:47 UTC
Weird. Does it not happen on X11? What's your panel height?
Comment 2 Jaime Torres 2023-04-06 16:19:37 UTC
Created attachment 157901 [details]
Yes, it happens in X11 also

The height in the X11 test was 62, the screen with is  1920*1080.
Comment 3 Nate Graham 2023-04-10 19:51:21 UTC
Thanks for the info. A few more questions:
- Does it still happen if you force your Task Manager to not be multi-row? I'm suspecting it will not.
- Does it still happen if you replace the overlapped widget with any other widget, or does it only overlap that one? I'm suspecting it will overlap any widget.
Comment 4 Jaime Torres 2023-04-11 08:35:07 UTC
Yes, it overlapped any widget at the right of the taskbar.
After changing the maximum number of rows, the problem is gone. I can not reproduce it any more. 
But I create another panel with a taskbar with the same configuration and another widget at the right and the problem is there only in the new taskbar.
Comment 5 Peter Levine 2024-04-13 00:08:15 UTC
I've run into this.  It seems to happen only if there are any icons pinned to the task manager.  If I remove all pinned icons, the overlap goes away.
Comment 6 Nate Graham 2024-05-12 05:10:45 UTC

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