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
..
CMakeLists.txt Move tabbox/autotests to autotests/tabbox 2016-06-29 10:38:17 +02: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
desktopchain.cpp Fix comparison between signed and unsigned integer expressions warning 2014-04-28 17:29:06 +02:00
desktopchain.h Replace NULL with nullptr in tabbox folder 2014-02-24 16:42:43 +01:00
desktopmodel.cpp [kwin] Add a method longestCaption() in TabBox::DesktopModel. 2013-12-22 10:40:28 +01:00
desktopmodel.h Replace NULL with nullptr in tabbox folder 2014-02-24 16:42:43 +01:00
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 pedantic fixes 2016-07-16 13:14:44 -04:00
tabbox_logging.h [tabbox] Add dedicated logging category for TabBox 2015-07-31 13:13:41 +02:00
tabboxconfig.cpp Remove show outline from TabBox 2013-04-24 10:02:57 +02:00
tabboxconfig.h [tabbox] Try locating the WindowSwitcher QML through configured lnf package 2014-10-28 16:53:23 +01:00
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