Bug 482121 - Plasma 6 panel has larger end margins compared to Plasma 5
Summary: Plasma 6 panel has larger end margins compared to Plasma 5
Status: RESOLVED INTENTIONAL
Alias: None
Product: plasmashell
Classification: Plasma
Component: Panel (show other bugs)
Version: 5.93.0
Platform: Other Linux
: NOR minor
Target Milestone: 1.0
Assignee: Plasma Bugs List
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-03-01 08:03 UTC by András Manţia
Modified: 2024-03-06 14:46 UTC (History)
4 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments
Space before the menu (8.00 KB, image/png)
2024-03-01 08:03 UTC, András Manţia
Details
Inner is plasma5 in a remote machine, outer is plasma 6 (282.19 KB, image/png)
2024-03-01 10:41 UTC, András Manţia
Details
Plasma5 vs 6 (76.22 KB, image/png)
2024-03-01 10:44 UTC, András Manţia
Details
Extra border on left (96.94 KB, image/png)
2024-03-01 10:49 UTC, András Manţia
Details
Before / After (170.01 KB, image/png)
2024-03-03 13:29 UTC, Niccolò Venerandi
Details
Whole width panel (340.02 KB, image/png)
2024-03-04 10:51 UTC, András Manţia
Details

Note You need to log in before you can comment on or make changes to this bug.
Description András Manţia 2024-03-01 08:03:04 UTC
Created attachment 166236 [details]
Space before the menu

In Plasma 6.0.0 the widgets on the panel do not go all the way to the sides and you have borders there. I use full-width , non-floating panel.
Comment 1 Tammes Burghard 2024-03-01 09:33:06 UTC
Sorry, I don't get what you are describing from the screenshot. Can you maybe show more of your panel and all the way to the screen edge?

Also, I get some empty space on the sides when my panel defloats, but when it is set to non floating, the widgets move further out.
Comment 2 András Manţia 2024-03-01 10:33:51 UTC
In plasma 5 the menu icon was all the way to the left side. In plasma 6 there is a gap. The screenshot shows the left side of the panel all the way to the screen edge. I will add another screenshot with plasma5 vs 6.
Comment 3 András Manţia 2024-03-01 10:41:43 UTC
Created attachment 166245 [details]
Inner is plasma5 in a remote machine, outer is plasma 6
Comment 4 András Manţia 2024-03-01 10:44:03 UTC
Created attachment 166246 [details]
Plasma5 vs 6
Comment 5 András Manţia 2024-03-01 10:49:18 UTC
Created attachment 166247 [details]
Extra border on left

Maybe this shows better:
- gap between the panel edge and the app icon on the left is 33px
- gap between the icons and the next item (desktop selection) is 24px
Comment 6 Nate Graham 2024-03-01 21:06:39 UTC
IIRC this is intentional in Plasma 6. CCing Niccolò who can explain the reasoning.
Comment 7 Niccolò Venerandi 2024-03-03 13:28:52 UTC
Hi! Yes, this is intentional. I added the same margin that we use between panel elements to the left and right of all applets. Without this, many elements would look visually unbalanced and too close to the panel sides. I'll attach a screenshot.
Comment 8 Niccolò Venerandi 2024-03-03 13:29:26 UTC
Created attachment 166358 [details]
Before / After
Comment 9 András Manţia 2024-03-04 10:50:03 UTC
it is your decision of course, but right now if you look at the panel as a whole, it is unbalanced. See attachment. 27px on the left, 22px on the right.
Comment 10 András Manţia 2024-03-04 10:51:26 UTC
Created attachment 166391 [details]
Whole width panel
Comment 11 Niccolò Venerandi 2024-03-06 14:46:59 UTC
The spacing done by the panel itself is balanced, you see some extra pixels because all icons leave some extra margin, whereas the clock widget drawn until the very border of the applets. I'm not sure we can do much about it at the current time.