Registered Member
|
ok so I just started looking how those switchers actually work, and what i found in the code is something like this:
(Code taken from task switcher.) But pressing key_up or key_down have no inpact on the switcher. Is this broken or it is because i am holding alt key as well? |
|
This will probably only apply to the non-modal switcher invocation (what you can eg. reach w/ an active screen corner or dbus)
The modal one is afair still strictly sequential (Alt+Back|Tab) |
Registered Member
|
Nope, non-modal also won't work.
|
|
Afacis it works and only works by screencorner invocation.
For non-modal dbus invocation, the grab is not established (ie. the keyboard events go the the active client) and modal dbus invocations quit apparently immediately. Latter seems like a bug, but i don't know (dbus interface was afair tailored on plasma-active) |
Registered Member
|
I don't know either. I think that it used to work back in the 4.8 days even for modal switcher (at least for windows wall, code seems to be identical to that in the text switcher) but switching windows with arrows is not that usefull so i ignored that feature. I wanted to add shortcut for closing window with window switcher (vistaswitcher style) — that's why I'm intereseted in this feature again.
|
|
Please note that the dbus interface is removed in KF5 anyway.
Depending on your usecase, you likely *want* to bind the shortcut to close a window to sth. Alt/Meta modified - or the tabbox implementation has to blend out this modifier from the event sent to the tabbox client (where the latter would probably be more reasonable, so that the same qml client works in modal and non-modal state) |
Registered users: bartoloni, Bing [Bot], Evergrowing, Google [Bot], q.ignora, watchstar