D17706: Fix lock screen focus

David Edmundson noreply at phabricator.kde.org
Thu Dec 20 10:29:12 GMT 2018


davidedmundson added inline comments.

INLINE COMMENTS

> greeterapp.cpp:436
> +
> +            view->setFlags(view->flags() | Qt::X11BypassWindowManagerHint);
> +

why are we changing the window flags?

> greeterapp.cpp:451-453
> -    if (!w) { // fallback solution
> -        w = m_views.first();
> -    }

This is still relevant

A cursor can be in none.

> greeterapp.cpp:456
> -    // focus setting is still required for proper internal QWidget state (and eg. visual reflection)
> -    if (!m_testing) {
> -        w->setKeyboardGrabEnabled(true); // TODO - check whether this still works in master!

we don't want to cursor grab in testing mode, this change is lost

REPOSITORY
  R133 KScreenLocker

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

To: andreyby
Cc: davidedmundson, plasma-devel, GB_2, ragreen, Pitel, ZrenBot, lesliezhai, ali-mohamed, jensreuterberg, abetts, sebas, apol, mart
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/plasma-devel/attachments/20181220/63b2852a/attachment.html>


More information about the Plasma-devel mailing list