[Differential] [Commented On] D3055: Small polishing changes to the lockscreen lookandfeel package

subdiff (Roman Gilg) noreply at phabricator.kde.org
Fri Oct 14 19:04:54 UTC 2016


subdiff added inline comments.

INLINE COMMENTS

> davidedmundson wrote in LockScreenUi.qml:134
> you don't need to do this. (and if you do need to do this, something else is wrong)
> 
> They're within separate focus scopes, both "focusitems" should always have focus, then you switch currentItem we change which focusscope is active.

I think you need at least to switch the focus actively when the current item is changed. The best way is maybe to declare FocusScopes on the items, but I couldn't get the layout to work with this strategy. On the other hand I've simplified my solution by now setting the focus directly in the onStatusChanged handlers. Take a look at the second revision.

REPOSITORY
  rPLASMAWORKSPACE Plasma Workspace

REVISION DETAIL
  https://phabricator.kde.org/D3055

EMAIL PREFERENCES
  https://phabricator.kde.org/settings/panel/emailpreferences/

To: subdiff, davidedmundson
Cc: plasma-devel, lesliezhai, ali-mohamed, jensreuterberg, abetts, sebas
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/plasma-devel/attachments/20161014/4e690ae5/attachment.html>


More information about the Plasma-devel mailing list