Bug 375911

Summary: Application Menu (global menu) size bug
Product: [Plasma] plasmashell Reporter: alxgvr <alxgvr>
Component: Global Menu widgetAssignee: Kai Uwe Broulik <kde>
Status: RESOLVED FIXED    
Severity: normal CC: edithkeeler7, igshov, nwhisper, plasma-bugs, vmorenomarin
Priority: NOR    
Version: 5.9.0   
Target Milestone: 1.0   
Platform: Other   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:
Attachments: global menu situated not symmetrical
Global menu is not scaled with the panel

Description alxgvr 2017-02-02 18:43:40 UTC
Created attachment 103779 [details]
global menu situated not symmetrical

Hi. Just installed Plasma 5.9
I use global menu widget on top panel. 
As you can see from the screenshot - it is not placed symmetrically in vertical plane.
It is located close to bottom border, and far from top border.
Comment 1 ishovkun 2017-02-04 00:42:27 UTC
Created attachment 103810 [details]
Global menu is not scaled with the panel

When the panel is appreciably tall, the widget text is centered vertically.
With the smaller panes size, the widget is not centered vertically.
Comment 2 Kai Uwe Broulik 2017-02-06 14:20:28 UTC
Git commit c21ff749e6467d4fdf3017e423471ea756218863 by Kai Uwe Broulik.
Committed on 06/02/2017 at 14:20.
Pushed by broulik into branch 'master'.

[Button Styles] Use Layout.fillHeight instead of parent.height in a Layout

This fixes the label not being vertically centered if the button is smaller than its implicit height.
This can happen with the global menu applet in a narrow panel.

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

M  +1    -1    src/declarativeimports/plasmastyle/ButtonStyle.qml
M  +1    -1    src/declarativeimports/plasmastyle/ToolButtonStyle.qml

https://commits.kde.org/plasma-framework/c21ff749e6467d4fdf3017e423471ea756218863
Comment 3 Kai Uwe Broulik 2017-02-17 09:22:25 UTC
*** Bug 376564 has been marked as a duplicate of this bug. ***
Comment 4 Kai Uwe Broulik 2017-03-01 10:59:31 UTC
*** Bug 377043 has been marked as a duplicate of this bug. ***