Bug 380902 - kwin effects like "present windows" can't be exited with the keyboard
Summary: kwin effects like "present windows" can't be exited with the keyboard
Status: RESOLVED DUPLICATE of bug 360841
Alias: None
Product: kwin
Classification: Plasma
Component: effects-present-windows (show other bugs)
Version: 5.10.1
Platform: Other Linux
: NOR normal
Target Milestone: ---
Assignee: KWin default assignee
URL:
Keywords: reproducible
Depends on:
Blocks:
 
Reported: 2017-06-06 17:23 UTC by Bastian Beischer
Modified: 2017-06-17 13:00 UTC (History)
9 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Bastian Beischer 2017-06-06 17:23:32 UTC
Some effects in kwin like "present windows", but also "show desktop grid" and others cannot be left anymore with the keyboard. I have present windows bound to Ctrl+F9 and when I press this shortcut the effect triggers correctly. However, with older versions of Plasma I was able to stop the effect with another press of Ctrl+F9 (or by pressing ESC).

This does not work anymore. I think this is a regression in Plasma 5.10, since I did not notice the same problem in Plasma 5.9.5. However, Qt was also recently updated to 5.9 in Arch Linux, so it may also be a problem in Qt.

Components:

Platform: Arch Linux x86_64
Plasma 5.10.0
KDE Frameworks 5.34.0
KDE Applications 17.04.1
Qt 5.9.0
Comment 1 Bastian Beischer 2017-06-09 15:45:06 UTC
Possible duplicate: 381021

Also related? 360841, but this bug here is definitely new with Plasma 5.10.0 and 360841 is an older bug.
Comment 2 Xavion 2017-06-10 21:37:04 UTC
I've just started experiencing the same problem here.  Specifically:
* I can no longer hide the Desktop Grid via its shortcut
* The arrow and Enter keys no longer have any effect

I'm using plasma-framework v5.34.0, plasma-workspace v5.10.1, and qt5-base v5.9.0 (on Arch Linux).  Only plasma-workspace and qt5-base were upgraded yesterday.  I wasn't experiencing the problem before then.
Comment 3 Xavion 2017-06-10 23:17:06 UTC
Downgrading plasma-workspace to v5.9.5.1 didn't fix the problem, so I'd say it has something to do with the qt5-base jump (excuse the pun) from v5.8.0 to v5.9.0.  I can't be bothered downgrading Qt5; there are too many packages to rebuild.
Comment 4 Xavion 2017-06-11 02:22:44 UTC
Downgrading kwin to v5.9.5 didn't fix the problem either.  I tried it with both plasma-workspace v5.9.5.1 and v5.10.1.  I'm still thinking incompatibility with Qt v5.9.0 is the likely cause.
Comment 5 Kishore Gopalakrishnan 2017-06-11 15:35:08 UTC
Downgrading all qt packages to 5.8 but leaving kwin and plasma-related packages at 5.10 fixes the issue.
Comment 6 Xavion 2017-06-11 23:15:17 UTC
Cool, thanks for confirming my suspicion.  It looks like something (minor) has changed in Qt v5.9.0 and KWin will need to accommodate.

Let's hope one of the developers can get moving on this soon.  I don't want to have to spend time rebuilding/downgrading my 19 Qt5 packages!
Comment 7 Carlos Colorado 2017-06-15 18:43:50 UTC
I think the issue is that "Present windows" just ignores the keyboard input all along. 

When it's working, You can type window names and discards the ones that don't match the query. This is why I don't need a taskbar and why I assigned the  Alt+tab shortcut :(.
 
I hope the status soon changes from unconfirmed.
Comment 8 flyos 2017-06-16 06:32:34 UTC
I can confirm this. Neither "present windows" nor "desktop grid" are responsive to keyboard anymore (be it input to filter windows, Esc to cancel the effect or the shortcut to active/stop the effect).

Tested on openSUSE Tumbleweed with Plasma 5.10.1 and Qt 5.9.0. This bug is definitely related to the latest update to Qt 5.9 in Tumbleweed.
Comment 9 Arthur Schiwon 2017-06-16 09:12:03 UTC
FWIW I also confirm this on Antergos. And like for Carlos this is a major pain for me since I use present windows as main window switcher.
Comment 10 Achilleas Koutsou 2017-06-16 16:09:41 UTC
What do we need to change the status to confirmed?

I can confirm this happens on Arch Linux with:
- Plasma 5.10.2
- KDE 17.04.2
- Qt 5.9.0
Comment 11 Christoph Feck 2017-06-16 21:09:03 UTC
So you did confirm the bug is in Qt 5.9.0? Where exactly? Which commit broke it? Or is the bug in KWin? If yes, do you understand why the KWin code broke with a Qt update, despite Qt being "correct"?

You see, without proper investigation, we cannot just mark the ticket 'confirmed'.

I added the 'reproducible' keyword, if you feel better.
Comment 12 Achilleas Koutsou 2017-06-16 21:11:58 UTC
Thanks. That helps.
Comment 13 Martin Flöser 2017-06-17 13:00:52 UTC

*** This bug has been marked as a duplicate of bug 360841 ***