Bug 389371

Summary: Text in systemtray tooltips are not center aligned vertically
Product: [Plasma] plasmashell Reporter: ps.prateek.sharma143
Component: PanelAssignee: Plasma Bugs List <plasma-bugs>
Status: RESOLVED FIXED    
Severity: minor    
Priority: NOR    
Version: 5.11.5   
Target Milestone: 1.0   
Platform: Manjaro   
OS: Linux   
Latest Commit: Version Fixed In:
Attachments: Screenshot of the problem

Description ps.prateek.sharma143 2018-01-24 14:49:28 UTC
Created attachment 110093 [details]
Screenshot of the problem

After clicking the "show hidden icons" in system-tray. The text in the tool-tip is not aligned properly. If we re-hover it again it becomes correct.
Comment 1 Kai Uwe Broulik 2018-01-26 14:50:51 UTC
Git commit f31e7860d98f3c66888f1102a7cf3c47f31e2a59 by Kai Uwe Broulik.
Committed on 26/01/2018 at 14:49.
Pushed by broulik into branch 'master'.

[Default Tooltip] Fix sizing

Unset the Label's default height which completely confuses the renderer either shifting the item vertically (e.g. when toggling
system tray popup), or letting it get too wide (e.g. when moving from a two-line tooltip to a one-line tooltip).
Also let the Layouts figure out sizing rather than trying to overrule it with flaky values.
Related: bug 386260

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

M  +6    -6    src/declarativeimports/core/private/DefaultToolTip.qml

https://commits.kde.org/plasma-framework/f31e7860d98f3c66888f1102a7cf3c47f31e2a59