Bug 476547

Summary: List header in system tray config dialog is misplaced or not aligned with tray items
Product: [Plasma] plasmashell Reporter: Fushan Wen <qydwhotmail>
Component: System Tray widgetAssignee: Plasma Bugs List <plasma-bugs-null>
Status: RESOLVED FIXED    
Severity: minor CC: materka
Priority: NOR Keywords: qt6, regression
Version First Reported In: master   
Target Milestone: 1.0   
Platform: Other   
OS: Linux   
Latest Commit: Version Fixed/Implemented In: 6
Sentry Crash Report:
Attachments: not aligned.png

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