Bug 489703 - Non-space-filling panel prevents space-filling panels on adjacent screen edges from actually filling the space
Summary: Non-space-filling panel prevents space-filling panels on adjacent screen edge...
Status: ASSIGNED
Alias: None
Product: plasmashell
Classification: Plasma
Component: Panel (show other bugs)
Version: 6.1.2
Platform: Gentoo Packages Linux
: NOR minor
Target Milestone: 1.0
Assignee: Plasma Bugs List
URL:
Keywords:
: 486458 490311 (view as bug list)
Depends on:
Blocks:
 
Reported: 2024-07-03 22:09 UTC by Daniel
Modified: 2024-10-02 18:49 UTC (History)
7 users (show)

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


Attachments
Top panel offset due to left panel space reservation. (1.60 MB, image/png)
2024-07-03 22:09 UTC, Daniel
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Daniel 2024-07-03 22:09:00 UTC
Created attachment 171346 [details]
Top panel offset due to left panel space reservation.

SUMMARY
Having a panel on the left and top sides of the screen causes the left panel to reserve space preventing the top panel from extending the full width of the left side of the screen. As a side effect the top panel is also pushed out into the space of the the right hand monitor.
Using custom control only allows removing the overhang onto the second monitor it is still not possible to make the top panel fill the left hand space reserved by the left panel.

STEPS TO REPRODUCE
1. Add a left hand panel to the desktop.
2. Add a top panel to the desktop.
3. Have top panel fill width
4. Have left panel set to any width/height.

OBSERVED RESULT
Left panel incorrectly reserves space preventing other panels from using that space.

EXPECTED RESULT
Prior to 6.1.1 panels could overlap allowing any configuration of panels. Ideally the panels should only reserve their active space, so by using custom and making the panel be smaller than the full width/height this should allow other panels to fill the space.

SOFTWARE/OS VERSIONS
Linux/KDE Plasma: Gentoo, linux 6.6.36, plasma-meta-6.1.2
(available in About System)
KDE Plasma Version: 6.1.2
KDE Frameworks Version: 6.3.0
Qt Version: 6.7.2
Comment 1 Daniel 2024-07-23 05:34:45 UTC
Fixed in 6.1.3, am now able to set Alignment center, and fill width for top panel and it fills the entire screen width without any offsets from the strut of the left panel.
Comment 2 Daniel 2024-07-24 02:00:48 UTC
Not fixed in 6.1.3. After rebooting the issue reappeared, no amount of changing options allows the top bar to extend into the left corner where the left panel has reserved space.

It is possible this is a kind of race condition where the top panel could reserve space before the left panel allowing it to act as I would expect allowing the top bar to fill the full screen width. Other times (and it seems more consistently) the left bar is reserving space first meaning the top bar gets offset to the right and cannot overlap this space.
Comment 3 Nate Graham 2024-07-26 22:56:38 UTC
Can reproduce the issue.
Comment 4 John-Henry 2024-08-05 16:01:39 UTC
Hello, its my first time on the bug tracker. In my case, I am using an auto-hidden panel. However, the panel, despite being auto-hidden, reserves space on the desktop, preventing widgets from being expanded into that space. This leaves an awkwardly large gap at the bottom of my desktop which no widget can fill since its reserved by the hidden panel. I think the issue might be related to this.
Comment 5 Niccolò Venerandi 2024-10-02 18:48:09 UTC
*** Bug 490311 has been marked as a duplicate of this bug. ***
Comment 6 Niccolò Venerandi 2024-10-02 18:49:32 UTC
*** Bug 486458 has been marked as a duplicate of this bug. ***
Comment 7 Niccolò Venerandi 2024-10-02 18:49:49 UTC
Will be fixed by https://invent.kde.org/plasma/plasma-workspace/-/merge_requests/4274