Review Request 124933: [lookandfeel] Fix errors on startup of lockscreen greeter

Martin Gräßlin mgraesslin at kde.org
Thu Aug 27 06:37:56 UTC 2015



> On Aug. 26, 2015, 8:51 p.m., Kai Uwe Broulik wrote:
> > Just place the
> > 
> >     anchors {
> >         horizontalCenter: parent.horizontalCenter
> >         bottom: parent.bottom
> >     }
> >     
> > into the Loader to ensure the OSD is correctly positioned. I think the OSD should be loaded on demand, the first time it's to be shown.
> > 
> > Also, Loader has an active property you can set to false and then set to true when you want the item to load. This way you can have the Loader's source where it belongs.

Thanks. Completely delaying the OSD seems to be not practicle as the greeterApp looks for the osd object and does not trigger the osd if there is no such object. Thus the object must exist before the OSD is activated.


- Martin


-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://git.reviewboard.kde.org/r/124933/#review84417
-----------------------------------------------------------


On Aug. 27, 2015, 8:36 a.m., Martin Gräßlin wrote:
> 
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> https://git.reviewboard.kde.org/r/124933/
> -----------------------------------------------------------
> 
> (Updated Aug. 27, 2015, 8:36 a.m.)
> 
> 
> Review request for Plasma.
> 
> 
> Repository: plasma-workspace
> 
> 
> Description
> -------
> 
> This fixes type errors shown on startup:
> TypeError: Cannot read property 'showPassword' of undefined
> TypeError: Cannot read property 'ButtonLabel' of undefined
> 
> REVIEW: 124931
> 
> [screenlocker] Try to load faster by using more loaders
> 
> All UI is put into a loader to get the actual lock screen loaded faster.
> This gets the creation of two views down to about < 600 msec from before
> around 1.8 sec. The initial startup time is extremely important to ensure
> the screen is properly locked when going to suspend.
> 
> 
> Diffs
> -----
> 
>   ksmserver/screenlocker/greeter/greeterapp.cpp b500ba44c2b483d7372ca46840152c90ef5f798c 
>   lookandfeel/contents/lockscreen/ChangeSession.qml PRE-CREATION 
>   lookandfeel/contents/lockscreen/LockOsd.qml PRE-CREATION 
>   lookandfeel/contents/lockscreen/LockScreen.qml 4ce9a001efc2ffab2d78388e3a619d0de93f1758 
>   lookandfeel/contents/lockscreen/MainBlock.qml PRE-CREATION 
> 
> Diff: https://git.reviewboard.kde.org/r/124933/diff/
> 
> 
> Testing
> -------
> 
> the OSD is not anchored correctly any more.
> 
> 
> Thanks,
> 
> Martin Gräßlin
> 
>

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/plasma-devel/attachments/20150827/cf9fff52/attachment-0001.html>


More information about the Plasma-devel mailing list