Summary: | Pinned launchers add extra unnecessary whitespace to Traditional Task manager, causing improper centering behavior | ||
---|---|---|---|
Product: | [Plasma] plasmashell | Reporter: | Michael K. <f4tmike> |
Component: | Task Manager and Icons-Only Task Manager | Assignee: | Plasma Bugs List <plasma-bugs> |
Status: | RESOLVED FIXED | ||
Severity: | minor | CC: | meven.car, natalie_clarius, nate, plasma-bugs, postix, qydwhotmail, rossoklakovich |
Priority: | NOR | ||
Version: | 5.19.2 | ||
Target Milestone: | 1.0 | ||
Platform: | openSUSE | ||
OS: | Linux | ||
Latest Commit: | https://invent.kde.org/plasma/plasma-desktop/-/commit/d1b33d1a9dc872e9a2af042152d6ab5ed2617e4e | Version Fixed In: | 6.1 |
Sentry Crash Report: | |||
Attachments: |
screenshot secondary screen
screenshot primary screen screencast taskbar |
Created attachment 130021 [details]
screenshot primary screen
You might have a separator more in the taskbar with the issue between virtual desktop indicator and task list. Try editing your task bar and remove the separator plasmoid between. Created attachment 130026 [details]
screencast taskbar
No there's no additional spacer between.
All right thanks to your screen cast we can see the pinned icons widget is too wide compared to how it should be. *** Bug 438371 has been marked as a duplicate of this bug. *** From the duplicate bug report:
> I think the problem is `launcherLayoutTasks` in the layout code, which always adds one or more spaces the size of a regular task even when (as in my example) part of it are only launchers.
Without launchers the problem does not occur. *** Bug 472859 has been marked as a duplicate of this bug. *** Git commit d1b33d1a9dc872e9a2af042152d6ab5ed2617e4e by Marco Martin. Committed on 06/05/2024 at 07:50. Pushed by mart into branch 'master'. Use a GridLayout for taskbar layout The current javascript layout code is very buggy and error prone, The normal layouting mechanism of GridLayout is much more reliable and does for faster and more readable code Related: bug 485223 M +2 -2 applets/taskmanager/package/contents/ui/ContextMenu.qml M +4 -4 applets/taskmanager/package/contents/ui/GroupDialog.qml M +1 -17 applets/taskmanager/package/contents/ui/MouseHandler.qml M +109 -28 applets/taskmanager/package/contents/ui/Task.qml M +28 -14 applets/taskmanager/package/contents/ui/TaskList.qml D +0 -246 applets/taskmanager/package/contents/ui/code/layout.js A +126 -0 applets/taskmanager/package/contents/ui/code/layoutmetrics.js M +51 -49 applets/taskmanager/package/contents/ui/main.qml https://invent.kde.org/plasma/plasma-desktop/-/commit/d1b33d1a9dc872e9a2af042152d6ab5ed2617e4e |
Created attachment 130020 [details] screenshot secondary screen SUMMARY I have two screens and on the second screen I set the taskbar the same as on the first. The first taskbar is okay, but the window bar of the second taskbar shows so much space to the next plasmoid in the middle. STEPS TO REPRODUCE 1. create empty taskbar on the secondary screen 2. configure it the same as the taskbar of the primary screen OBSERVED RESULT window bar of each screen has different space to the next plasmoid EXPECTED RESULT no space to the next plasmoid on both screens Operating System: openSUSE Leap 15.2 KDE Plasma Version: 5.18.5 KDE Frameworks Version: 5.71.0 Qt Version: 5.12.7 Kernel Version: 5.3.18-lp152.20.7-default OS Type: 64-bit Processors: 8 × Intel® Xeon® CPU E3-1241 v3 @ 3.50GHz Memory: 15,5 GiB