Bug 455483 - Panel widget popups should touch the edges of a floating panel
Summary: Panel widget popups should touch the edges of a floating panel
Status: RESOLVED FIXED
Alias: None
Product: plasmashell
Classification: Plasma
Component: Panel (show other bugs)
Version: 5.25.0
Platform: Other Linux
: NOR wishlist
Target Milestone: 1.0
Assignee: Plasma Bugs List
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2022-06-17 13:16 UTC by Joshua Glass
Modified: 2022-10-25 14:53 UTC (History)
2 users (show)

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


Attachments
Image showing the space between the launcher and panel (27.89 KB, image/png)
2022-06-17 13:16 UTC, Joshua Glass
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Joshua Glass 2022-06-17 13:16:44 UTC
Created attachment 149860 [details]
Image showing the space between the launcher and panel

I have some improvements i'd like to suggest for the floating panel. (if i have this in the wrong place please let me know)

When a window is maximized the idea of the panel filling the space around it is nice but it uses way too much space. It would be nice to see the panel go to the same place and size as if it was not a floating panel (if that makes sense) as opposed to just coloring the space around it. This ensures that the panel is not using/wasting space on the screen when an app is fullscreen and also ensures that the panel still looks how it is expected to look. 

It would also look much better if things like the calendar, application launcher and status and notification windows were to touch and align themselves with the panel when they are opened. Hence making them floating as well (so the application launcher for example would be in contact with the top of the panel and there would be a space between the launcher and screen edge like with panel. (I have attached an image so you can see the space i am talking about)

These are just my initial thoughts an opinions really but i think it would really help integrate the floating panel and make it look like it fits in better.
Comment 1 Nate Graham 2022-06-17 19:28:02 UTC
Idea #1 is effectively 455323; let's use this bug report for idea #2.
Comment 2 Bug Janitor Service 2022-10-15 15:55:22 UTC
A possibly relevant merge request was started @ https://invent.kde.org/plasma/plasma-desktop/-/merge_requests/1206
Comment 3 Nate Graham 2022-10-25 14:53:01 UTC
Git commit ed0214057e7ae78bedc4486a6344db9459ce5570 by Nate Graham, on behalf of Niccolò Venerandi.
Committed on 25/10/2022 at 14:52.
Pushed by ngraham into branch 'master'.

Panel: when floating, de-float when window touches it

A floating Panel now de-floats and becomes opaque whenever a window touches it.
This also allows for a thinner Panel when a window is maximized (a normal Panel
is 44 px; before this patch a de-floated one was 60, now it's 52px) and that should
allay complaints about excessive margins).
Related: bug 455538, bug 455323
FIXED-IN: 5.27

M  +29   -6    desktoppackage/contents/views/Panel.qml

https://invent.kde.org/plasma/plasma-desktop/commit/ed0214057e7ae78bedc4486a6344db9459ce5570