Bug 489648 - Icons-only task manager "open to the left" no longer right-aligns icons
Summary: Icons-only task manager "open to the left" no longer right-aligns icons
Status: RESOLVED FIXED
Alias: None
Product: plasmashell
Classification: Plasma
Component: Task Manager and Icons-Only Task Manager (show other bugs)
Version: 6.1.1
Platform: Gentoo Packages Linux
: NOR minor
Target Milestone: 1.0
Assignee: Plasma Bugs List
URL:
Keywords: regression
Depends on:
Blocks:
 
Reported: 2024-07-03 02:15 UTC by Mike Rivnak
Modified: 2024-10-31 03:09 UTC (History)
2 users (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Mike Rivnak 2024-07-03 02:15:35 UTC
SUMMARY

Changing the direction in which new tasks appear in the items-only task manager no longer right aligns the icons, as it did in plasma 5

STEPS TO REPRODUCE
1. Create a new default panel
2. Change the direction in which new tasks appear for the icons-only task manager to "to the left"
3. Apply settings changes

OBSERVED RESULT
New tasks to the left, but all icons remain left-aligned

EXPECTED RESULT
New tasks to the left, and all icons are right-aligned

SOFTWARE/OS VERSIONS
Linux/KDE Plasma: Gentoo Linux
(available in About System)
KDE Plasma Version: 6.1.1
KDE Frameworks Version: 6.3.0
Qt Version: 6.7.1

ADDITIONAL INFORMATION
I've also tested this in a fresh KDE Neon testing install from today and observed this behavior in wayland and X11.

If this is an intended change then with it should come with an additional option to change the alignment of icons in the task manager.
Comment 1 Nate Graham 2024-07-03 19:43:24 UTC
Can reproduce.
Comment 2 Bug Janitor Service 2024-10-29 21:25:54 UTC
A possibly relevant merge request was started @ https://invent.kde.org/plasma/plasma-desktop/-/merge_requests/2608
Comment 3 Nate Graham 2024-10-31 01:48:53 UTC
Git commit 8b78def13fcc0980c274ad12f88b11075bb6d0e6 by Nate Graham, on behalf of Michael Rivnak.
Committed on 31/10/2024 at 01:48.
Pushed by ngraham into branch 'master'.

applets/taskmanager: Fix icon alignment when is reversed

Setting the icons-only task manager to open new tasks to the left
should reverse the icon order and align items to the right side of the
panel; previously, only the order was affected.
FIXED-IN: 6.2.3

M  +0    -6    applets/taskmanager/package/contents/ui/TaskList.qml
M  +14   -2    applets/taskmanager/package/contents/ui/main.qml

https://invent.kde.org/plasma/plasma-desktop/-/commit/8b78def13fcc0980c274ad12f88b11075bb6d0e6
Comment 4 Nate Graham 2024-10-31 03:09:35 UTC
Git commit 281cee2962b04be09e645436f512489eb292a8a9 by Nate Graham.
Committed on 31/10/2024 at 02:01.
Pushed by ngraham into branch 'Plasma/6.2'.

applets/taskmanager: Fix icon alignment when is reversed

Setting the icons-only task manager to open new tasks to the left
should reverse the icon order and align items to the right side of the
panel; previously, only the order was affected.
FIXED-IN: 6.2.3


(cherry picked from commit 8b78def13fcc0980c274ad12f88b11075bb6d0e6)

615548b2 Fix icon alignment when task manager is reversed
97175bf8 simplify isMirrored contition
098b6d29 retain old behavior for vertical panels
b1d9769c refactor to clarify mirroring behavior with rtl
f7a809be remove property with same name as function
da383cbe qualify function call

Co-authored-by: Michael Rivnak <rivnakm1@gmail.com>

M  +0    -6    applets/taskmanager/package/contents/ui/TaskList.qml
M  +14   -2    applets/taskmanager/package/contents/ui/main.qml

https://invent.kde.org/plasma/plasma-desktop/-/commit/281cee2962b04be09e645436f512489eb292a8a9