Bug 374996 - Global menu should not take up space when no menu are shown
Summary: Global menu should not take up space when no menu are shown
Status: RESOLVED FIXED
Alias: None
Product: plasmashell
Classification: Plasma
Component: Global Menu (show other bugs)
Version: 5.8.95
Platform: Arch Linux Linux
: NOR wishlist
Target Milestone: 1.0
Assignee: Kai Uwe Broulik
URL:
Keywords:
Depends on:
Blocks: 435928
  Show dependency treegraph
 
Reported: 2017-01-13 09:46 UTC by Federico
Modified: 2022-09-28 09:33 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments
You can see that ugly wasted space on panel (12.58 KB, image/png)
2017-01-13 09:46 UTC, Federico
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Federico 2017-01-13 09:46:16 UTC
Created attachment 103392 [details]
You can see that ugly wasted space on panel

Something like https://bugs.kde.org/show_bug.cgi?id=262148 but for plasma 5.
Comment 1 David Edmundson 2017-01-13 12:05:28 UTC
Git commit e7dc85aa0b5f7e96e50f073a7b3e2662436a8c0c by David Edmundson.
Committed on 13/01/2017 at 12:05.
Pushed by davidedmundson into branch 'master'.

Keep AppletMenu as small as possible

Summary:
In retrospect there's no need to fill the width, if people want that
effect they can add a spacer; whereas you can't do the opposite.

Also set the size to 0 when it's empty. This mean using status as
normally PanelContainment ensures plasmoid's are a minimum of a square.

Reviewers: #plasma

Subscribers: plasma-devel

Tags: #plasma

Differential Revision: https://phabricator.kde.org/D4115

M  +4    -5    applets/appmenu/package/contents/ui/main.qml

https://commits.kde.org/plasma-workspace/e7dc85aa0b5f7e96e50f073a7b3e2662436a8c0c
Comment 2 Federico 2017-01-13 12:06:46 UTC
Thanks! This was really fast!
Comment 3 David Edmundson 2017-01-16 13:30:15 UTC
Git commit 5937f917b29388e849341c8f1ef03f3bfeba4456 by David Edmundson.
Committed on 16/01/2017 at 13:29.
Pushed by davidedmundson into branch 'Plasma/5.9'.

Keep AppletMenu as small as possible

Summary:
In retrospect there's no need to fill the width, if people want that
effect they can add a spacer; whereas you can't do the opposite.

Also set the size to 0 when it's empty. This mean using status as
normally PanelContainment ensures plasmoid's are a minimum of a square.

Reviewers: #plasma

Subscribers: plasma-devel

Tags: #plasma

Differential Revision: https://phabricator.kde.org/D4115

M  +4    -5    applets/appmenu/package/contents/ui/main.qml

https://commits.kde.org/plasma-workspace/5937f917b29388e849341c8f1ef03f3bfeba4456
Comment 4 John 2022-09-28 09:33:10 UTC
I would pretty much like the opposite ( see https://bugs.kde.org/show_bug.cgi?id=435928 ).

Because having it hiding and showing constantly has some awful side effects and a spacer does not fix it in any way!

Can you make this optional?