https://bugs.kde.org/show_bug.cgi?id=374287

Chris Holland <zrenf...@gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |zrenf...@gmail.com

--- Comment #7 from Chris Holland <zrenf...@gmail.com> ---
I can confirm this doesn't work for me.
KDE Neon 5.8.5 / Framework 5.29 / Qt 5.7.0

It sounds like the QML based tabboxes aren't recieving the keypress events. The
flip switch and cover switch are C++ desktop effects, which can hook the
keyboard events themselves since they create their own window.

https://github.com/KDE/kwin/blob/master/effects/flipswitch/flipswitch.cpp#L902
https://github.com/KDE/kwin/tree/master/effects/coverswitch

This is where the QML based tabboxes events are handled.

https://github.com/KDE/kwin/blob/master/tabbox/tabboxhandler.cpp#L618

If you do:

PlasmaCore.Dialog {
  mainItem: Item {
    Keys.onPressed: {}
  }
}

then it works in the *preview* but does not work in the actual kwin popup.

I wonder if it's because the popup isn't focused? PlasmaCore.Dialog is a
QQuickWindow, which I don't think will do anything if it doesn't contain an
activeFocusItem.

https://github.com/qt/qtdeclarative/blob/dev/src/quick/items/qquickwindow.cpp#L1622

Did it work in the past? Did adding the eventFilter to support the mouse wheel
break it? I don't remember if it used to work or not.

https://github.com/KDE/kwin/commit/e9d20b80e9a79f514a219357d991092d83665350

I do know that the qml api changed, because a number of task switchers on GHNS
no longer work.

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to