D5414: [tabbox] Expose noModifierGrab to QtQuick

Martin Gräßlin noreply at phabricator.kde.org
Wed Apr 12 16:18:53 UTC 2017


graesslin created this revision.
Restricted Application added a project: KWin.
Restricted Application added subscribers: kwin, plasma-devel.

REVISION SUMMARY
  There is a special mode in TabBox which is the noModifierGrab mode. This
  is Alt+Tab active without a modifier being hold. This mode is entered
  when being activated through screen edges (either pointer or touch). So
  far this was not exposed to QtQuick and thus one could not end the mode
  using pointer or touch. It is possible to select another window, but not
  to activate it. That required the press of a keyboard key.
  
  This setup is rather unfortunate. By exposing the mode to QtQuick we can
  react from QtQuick side to it and invoke already exposed functionality to
  select and item and directly activate it - existing left-over from the
  Plasma Active window switcher.

TEST PLAN
  Tested on X11 and Wayland with an adjusted lnf package. It kind
  of works, but there are additional issues on both X11 and Wayland.

REPOSITORY
  R108 KWin

BRANCH
  tabbox-no-modifier-grab

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

AFFECTED FILES
  autotests/tabbox/mock_tabboxhandler.h
  tabbox/switcheritem.cpp
  tabbox/switcheritem.h
  tabbox/tabbox.cpp
  tabbox/tabbox.h
  tabbox/tabboxhandler.cpp
  tabbox/tabboxhandler.h

To: graesslin, #kwin, #plasma
Cc: plasma-devel, kwin, progwolff, lesliezhai, ali-mohamed, hardening, jensreuterberg, abetts, sebas, apol
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/plasma-devel/attachments/20170412/6f79c207/attachment.html>


More information about the Plasma-devel mailing list