kwin/tabbox
David Edmundson c42d160742 [TabBox] Fix Arrow Key / Keyboard Events in QML Alt+Tab Skins
Summary:
KWin used to do a quirky trick to send key events to the topmost QQuickItem
rather than things going to the activeFocus item.

Sending it to the window previously would have failed as the window
didn't think it was active.

Since 66986d4afd we can just let the
window process the events in a normal QtQuick manner.

BUG: 370185
Fixed-in: 5.15.0

It will require tabboxes to set focus correctly.
The ones I tested did.

Most analysis for this patch was done by Chris Holland.

Test Plan:
Held+alt tab with the "Text" tabbox switcher
pressed up and down

Reviewers: #kwin, graesslin

Reviewed By: #kwin, graesslin

Subscribers: graesslin, kwin, Zren

Tags: #kwin

Differential Revision: https://phabricator.kde.org/D16693
2018-11-07 16:22:59 +00:00
..
clientmodel.cpp [TabBox] Don't show "Show desktop" window when cycling through application windows 2018-01-08 10:31:16 +01:00
clientmodel.h Fix minor EBN issues 2018-08-29 21:02:16 +03:00
CMakeLists.txt
desktopchain.cpp
desktopchain.h
desktopmodel.cpp
desktopmodel.h
kwindesktopswitcher.desktop SVN_SILENT made messages (.desktop file) - always resolve ours 2018-06-18 05:35:02 +02:00
kwinwindowswitcher.desktop SVN_SILENT made messages (.desktop file) - always resolve ours 2018-06-29 05:22:38 +02:00
switcheritem.cpp [tabbox] Expose noModifierGrab to QtQuick 2017-04-12 19:46:48 +02:00
switcheritem.h Fix minor EBN issues 2018-08-29 21:02:16 +03:00
tabbox.cpp Explicitly disable pointer constraints on TabBox invocation 2018-07-16 10:43:25 +02:00
tabbox.h Remove extra semicolon 2018-10-28 12:52:19 +01:00
tabbox_logging.cpp
tabbox_logging.h
tabboxconfig.cpp
tabboxconfig.h
tabboxhandler.cpp [TabBox] Fix Arrow Key / Keyboard Events in QML Alt+Tab Skins 2018-11-07 16:22:59 +00:00
tabboxhandler.h Minor grammar fixup in comment 2018-10-28 12:52:26 +01:00
x11_filter.cpp [tabbox] Drop the passing to Effects in X11 Filter 2017-09-30 12:58:45 +02:00
x11_filter.h [tabbox] Drop the passing to Effects in X11 Filter 2017-09-30 12:58:45 +02:00