Bug 363811

Summary: window titlebar too large
Product: [Plasma] Breeze Reporter: arne anka <kde-bugs>
Component: window decorationAssignee: Hugo Pereira Da Costa <hugo.pereira.da.costa>
Status: RESOLVED FIXED    
Severity: normal CC: hugo.pereira.da.costa, plasma-devel
Priority: NOR    
Version: 5.6.4   
Target Milestone: ---   
Platform: Debian unstable   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:
Attachments: screenshot illustration wasted space for huge titlebar
illustrate broken propoprtions

Description arne anka 2016-06-01 19:32:19 UTC
starting with one of the latest updates, the title bar of windows is all of a sudden at least one third higher than before.
although buttons, icon and title font all are small, there's  a huge empty space around wich apparently cannot be removed by any configuration.

please, fix.

Reproducible: Always
Comment 1 arne anka 2016-06-01 19:33:32 UTC
Created attachment 99312 [details]
screenshot illustration wasted space for huge titlebar

as you can see, both the close button and the icon are small -- there's no need (let alone justification) for that waste of screen space
Comment 2 Hugo Pereira Da Costa 2016-06-02 23:06:19 UTC
Hi,
Thanks for reporting
Strange though. nothing has changed in breeze window decoration for a long time now, and I cannot reproduce here. 
Not sure how to debug it. Does something similar happens with other decorations ? (oxygen ? Plastique ?)
Comment 3 arne anka 2016-06-03 20:13:50 UTC
difficult to say, since I never used Plastik and it is a long time since oxygen.
currently , only Plastik is installed additionally, and its titlebar is only marginally smaller -- OTOH the title font there is huge, although it should be the same size as for Breeze.

it seems to be caused by be a change in the core of kde5, since 
- the minimum height of the digital clock widget required to show time and date in two rows increased considerably, forcing me to enlarge the panel height by at least 1/3
- the font size in the network manager widget's popup for the connection status and in/out bytes has also increased and is out of any proprtion to the font size used for the connection name (see attachment)
Comment 4 arne anka 2016-06-03 20:16:08 UTC
Created attachment 99348 [details]
illustrate broken propoprtions

compare the somewhat plausibly sized font of the connection names (Wired, M42) with the ridiculously oversized grey font for connection status ("Connected")
Comment 5 Hugo Pereira Da Costa 2016-06-03 20:49:23 UTC
thanks for the screenshot. Not sure if this is related, but indeed, it seems all your "proportions" have been broken for some reason. I wonder if something has changed in the  way plasma calculates it's "dpi-independent" scale factors. (which are then applied everywhere, in QML as well as in the window decoration).

I've cc'd plasma devs to this report.
Comment 6 arne anka 2016-07-01 22:34:07 UTC
seems to be fixed with the latest update of several k* and plasma* packages in sid.
titlebar is again pleasantly small, font sizes in eg network manager are also right again.