Bug 337318

Summary: lock/logout applet doesn't resize when adding/removing buttons
Product: [Plasma] plasmashell Reporter: Antonio Rojas <arojas>
Component: generalAssignee: David Edmundson <kde>
Status: RESOLVED FIXED    
Severity: normal CC: bhush94, kde
Priority: NOR    
Version: master   
Target Milestone: 1.0   
Platform: unspecified   
OS: Linux   
Latest Commit: Version Fixed In: 5.3.0

Description Antonio Rojas 2014-07-10 11:50:21 UTC
The applet should resize when adding or removing buttons. Now it only resizes after restarting plasmashell.

Reproducible: Always
Comment 1 David Edmundson 2014-08-24 03:05:13 UTC
Confirmed.

Looks to be changing a binding to a direct assignment (=) in the checkLayout function.

Adding Qt.binding() will fix it, but ideally I want to kill the checkLayout function it's not very declarative
Comment 2 Kai Uwe Broulik 2015-02-17 21:46:30 UTC
Git commit 5c1cb198d69bb06e82c9fb5feb0ebbeec162230c by Kai Uwe Broulik.
Committed on 17/02/2015 at 21:45.
Pushed by broulik into branch 'master'.

Replace checkLayout() function by declarative bindings and set a sensible minimum size
Related: bug 339435
FIXED-IN: 5.3.0
REVIEW: 122596

M  +30   -47   applets/lock_logout/contents/ui/lockout.qml

http://commits.kde.org/plasma-workspace/5c1cb198d69bb06e82c9fb5feb0ebbeec162230c