Bug 463282 - KDE Wayland blocks pressing Meta key and freezes all widgets and panels on Desktop when playing Steam game or using some apps e.g Vivaldi
Summary: KDE Wayland blocks pressing Meta key and freezes all widgets and panels on De...
Status: RESOLVED UPSTREAM
Alias: None
Product: plasmashell
Classification: Plasma
Component: general (show other bugs)
Version: 5.26.4
Platform: Manjaro Linux
: NOR major
Target Milestone: 1.0
Assignee: Plasma Bugs List
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2022-12-20 20:00 UTC by Zesko
Modified: 2023-01-12 06:17 UTC (History)
4 users (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Zesko 2022-12-20 20:00:44 UTC
SUMMARY

When I am playing any game on Steam,  I want to press Meta/Window-key to open KDE menu and minimize this game, but in reality the pressing Meta-key does not work and this game does not be minized and stays on Desktop. I saw all widgets e.g. the clock and system monitoring are froren on my other monitor (That means, they are blocked by Wayland when playing gaming or some apps e.g Vivaldi). 

I have to manually click and close the game with the mouse, then the pressing Meta-key works back fine and all widgets are unlocked by Wayland.

OR

I have to move the mouse cursor OUTSIDE of any game or the window of some app e.g.Vivaldi, then the Meta-key and all widgets are free.


That happens after some KDE update. But I am sure KDE Wayland had no issue before this update.
Switch to X11 that has no isssue.


STEPS TO REPRODUCE
1.  Go KDE Wayland and use the latest version of KDE plasma on Manjaro Testing branch
2.  Playing Steam game e.g. Dota 2 or using some browser e.g. Vivaldi (the mouse stays on this app more than 5 min)
3.  Pressing Meta/Window-key 
4.  But this game is not minimized to the panel and KDE menu does not be opened.  ----> Issue, because Meta-Key is blocked or frozen by Wayland
5.  See a widget e.g. the clock is frozen too.

OBSERVED RESULT
- Pressing Meta-key does not work because it is blocked by Wayland or Kwin when playing game or using some app.
- All widgets are frozen or blocked by Wayland on my other monitor.


EXPECTED RESULT
- Pressing Meta-key should work and does not be blocked like before.
- All widgets should not be frozen when playing any game or using some app.


SOFTWARE/OS VERSIONS
Linux/KDE Plasma: Manjaro KDE, testing branch and the latest version.
KDE Plasma Version: 5.26.4
KDE Frameworks Version: 5.101.0
Qt Version: 5.15.7
Wayland

ADDITIONAL INFORMATION
Kernel 6.0.14
GPU: AMD RX 5700
Comment 1 Zesko 2022-12-21 13:36:21 UTC
I can reproduce this issue on two separated systems(The second system uses native vanilla KDE theme)

1. Try to run the command line in any terminal or Konsole:
```
$ notify-send "test" 
```
2. Wait for 1 or 2 sec without moving the mouse-cursor in this terminal.
3. See the notification popup get stuck or is frozen. All widgets e.g. the clock  and pressing the Meta key are blocked too.
Comment 2 Nicolas Fella 2022-12-21 13:38:28 UTC
Are you using mesa-git?
Comment 3 Zesko 2022-12-21 13:53:46 UTC
(In reply to Nicolas Fella from comment #2)
> Are you using mesa-git?

Yes. I built mesa from the Manjaro repos.
Comment 4 Zesko 2022-12-21 14:03:43 UTC
(In reply to Nicolas Fella from comment #2)
> Are you using mesa-git?

Oh, downgrade mesa 22.3.1 to 22.2.3 to solve this issue.
Comment 5 Nicolas Fella 2022-12-21 14:05:03 UTC
See https://gitlab.freedesktop.org/mesa/mesa/-/issues/7624
Comment 6 Zesko 2022-12-21 14:08:13 UTC
(In reply to Nicolas Fella from comment #5)
> See https://gitlab.freedesktop.org/mesa/mesa/-/issues/7624

Thanks for your info!