<table><tr><td style="">graesslin created this revision.<br />Restricted Application added a project: KWin.<br />Restricted Application added subscribers: kwin, plasma-devel.
</td><a style="text-decoration: none; padding: 4px 8px; margin: 0 8px 8px; float: right; color: #464C5C; font-weight: bold; border-radius: 3px; background-color: #F7F7F9; background-image: linear-gradient(to bottom,#fff,#f1f0f1); display: inline-block; border: 1px solid rgba(71,87,120,.2);" href="https://phabricator.kde.org/D5414" rel="noreferrer">View Revision</a></tr></table><br /><div><strong>REVISION SUMMARY</strong><div><p>There is a special mode in TabBox which is the noModifierGrab mode. This<br />
is Alt+Tab active without a modifier being hold. This mode is entered<br />
when being activated through screen edges (either pointer or touch). So<br />
far this was not exposed to QtQuick and thus one could not end the mode<br />
using pointer or touch. It is possible to select another window, but not<br />
to activate it. That required the press of a keyboard key.</p>

<p>This setup is rather unfortunate. By exposing the mode to QtQuick we can<br />
react from QtQuick side to it and invoke already exposed functionality to<br />
select and item and directly activate it - existing left-over from the<br />
Plasma Active window switcher.</p></div></div><br /><div><strong>TEST PLAN</strong><div><p>Tested on X11 and Wayland with an adjusted lnf package. It kind<br />
of works, but there are additional issues on both X11 and Wayland.</p></div></div><br /><div><strong>REPOSITORY</strong><div><div>R108 KWin</div></div></div><br /><div><strong>BRANCH</strong><div><div>tabbox-no-modifier-grab</div></div></div><br /><div><strong>REVISION DETAIL</strong><div><a href="https://phabricator.kde.org/D5414" rel="noreferrer">https://phabricator.kde.org/D5414</a></div></div><br /><div><strong>AFFECTED FILES</strong><div><div>autotests/tabbox/mock_tabboxhandler.h<br />
tabbox/switcheritem.cpp<br />
tabbox/switcheritem.h<br />
tabbox/tabbox.cpp<br />
tabbox/tabbox.h<br />
tabbox/tabboxhandler.cpp<br />
tabbox/tabboxhandler.h</div></div></div><br /><div><strong>To: </strong>graesslin, KWin, Plasma<br /><strong>Cc: </strong>plasma-devel, kwin, progwolff, lesliezhai, ali-mohamed, hardening, jensreuterberg, abetts, sebas, apol<br /></div>