Bug 475833 - System Tray and Clock overlap with 40px thick or thicker horizontal panel until panel is moved to another screen edge and back
Summary: System Tray and Clock overlap with 40px thick or thicker horizontal panel unt...
Status: RESOLVED FIXED
Alias: None
Product: plasmashell
Classification: Plasma
Component: Panel (show other bugs)
Version: master
Platform: Other Linux
: NOR major
Target Milestone: 1.0
Assignee: Plasma Bugs List
URL:
Keywords: qt6, regression
: 481432 (view as bug list)
Depends on:
Blocks:
 
Reported: 2023-10-19 16:43 UTC by Nate Graham
Modified: 2024-02-21 16:55 UTC (History)
3 users (show)

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


Attachments
That's very interesting, Linda (48.96 KB, image/jpeg)
2023-10-19 16:43 UTC, Nate Graham
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Nate Graham 2023-10-19 16:43:54 UTC
Created attachment 162424 [details]
That's very interesting, Linda

Today's git master Plasma 6, Wayland, 200% scale

With today's git master of everything, when I use a horizontal panel, the System Tray and Digital Clock widgets overlap 100% of the time. See attached screenshot.

It reproduces if I restart plasmashell.

I can make it temporarily go away by moving the panel to the left or right screen edge to make it vertical, and then back to the top or bottom screen edge to make it horizontal again. Thereafter, if plasmashell is restarted, the problem returns.

The problem is not seen with a vertical panel.
Comment 1 Nate Graham 2023-11-14 15:44:40 UTC
Can reproduce this at will when using a horizontal panel that's 40px thick or thicker. Does not reproduce with a panel of 38px thick or thinner.
Comment 2 Bug Janitor Service 2023-11-15 07:42:32 UTC
A possibly relevant merge request was started @ https://invent.kde.org/plasma/plasma-workspace/-/merge_requests/3538
Comment 3 Nate Graham 2023-11-16 16:10:16 UTC
Git commit 467d3215cc20985b6141e57c5d31961dd462ef7d by Nate Graham, on behalf of Bacteria Dev.
Committed on 16/11/2023 at 17:10.
Pushed by ngraham into branch 'master'.

applets/digital-clock: Don't overlap adjacent widgets in horizontalPanel state

The issue occurred because `sizehelper.contentWidth` does not provide the
right width of the time component. 

So let's use `timeLabel.paintedWidth` that provides the right width of the
time component. 

M  +1    -1    applets/digital-clock/package/contents/ui/DigitalClock.qml

https://invent.kde.org/plasma/plasma-workspace/-/commit/467d3215cc20985b6141e57c5d31961dd462ef7d
Comment 4 Nate Graham 2024-02-21 16:55:04 UTC
*** Bug 481432 has been marked as a duplicate of this bug. ***