Bug 476547 - List header in system tray config dialog is misplaced or not aligned with tray items
Summary: List header in system tray config dialog is misplaced or not aligned with tra...
Status: RESOLVED FIXED
Alias: None
Product: plasmashell
Classification: Plasma
Component: System Tray widget (other bugs)
Version First Reported In: master
Platform: Other Linux
: NOR minor
Target Milestone: 1.0
Assignee: Plasma Bugs List
URL:
Keywords: qt6, regression
Depends on:
Blocks:
 
Reported: 2023-11-04 13:18 UTC by Fushan Wen
Modified: 2023-11-05 15:03 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed/Implemented In: 6
Sentry Crash Report:


Attachments
not aligned.png (158.83 KB, image/png)
2023-11-04 13:18 UTC, Fushan Wen
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Fushan Wen 2023-11-04 13:18:07 UTC
Created attachment 162859 [details]
not aligned.png

See the screenshot for example

plasma-workspace at c568fc2ddcf527f6db4980de5ac65f82255de27d
Qt 6.6.0
Comment 1 Bug Janitor Service 2023-11-05 02:04:24 UTC
A possibly relevant merge request was started @ https://invent.kde.org/plasma/plasma-workspace/-/merge_requests/3476
Comment 2 Ismael Asensio 2023-11-05 15:03:49 UTC
Git commit 9e24aba959e6a6aabc1202a7e0b6bbf0f97e09b2 by Ismael Asensio.
Committed on 05/11/2023 at 15:39.
Pushed by iasensio into branch 'master'.

applets/systray: Fix alignment of entries config headers

The alignment of headers is based on mimicking the delegate's
fixed width for all columns but the "Entries" one which fills
the space.

Make sure that the width of the header matches that of the
list view so the alignment can work.

Also elade the text on "Entries" to avoid overlapping and
account for some extra spacings so the alignment to columns
is pixel perfect.
FIXED-IN: 6

M  +4    -1    applets/systemtray/package/contents/ui/ConfigEntries.qml

https://invent.kde.org/plasma/plasma-workspace/-/commit/9e24aba959e6a6aabc1202a7e0b6bbf0f97e09b2