NixOS / nixpkgs

Nix Packages collection & NixOS
MIT License
18.08k stars 14.06k forks source link

Desktop shortcuts intermittently stop working since KDE 5.25 #185619

Open haizaar opened 2 years ago

haizaar commented 2 years ago

Describe the bug

Since KDE 5.25 landed in unstable a couple of months ago, desktop shortcuts like Alt-Tab, Ctrl-Alt-V, etc. occasionally stop working.

E.g. sporadically Alt-Tab would stop functioning. It won't work for a minute or so and come back. Nothing shows up in journalctl -f --user during that time.

I'm running KDE on Wayland.

Steps To Reproduce

Steps to reproduce the behavior:

  1. Install NixOS unstable with KDE
  2. Try to use it

Expected behavior

Alt-Tab should always work...

Additional context

Discourse thread: https://discourse.nixos.org/t/global-hotkeys-shortcuts-intermittently-stop-working-in-new-plasma-5-25/20016

Notify maintainers

CC @ttuegel @nyanloutre

Metadata

Please run nix-shell -p nix-info --run "nix-info -m" and paste the result.

 - system: `"x86_64-linux"`
 - host os: `Linux 5.19.0, NixOS, 22.11 (Raccoon), 22.11pre398017.93c57a98847`
 - multi-user?: `yes`
 - sandbox: `yes`
 - version: `nix-env (Nix) 2.10.3`
 - channels(haizaar): `""`
 - channels(root): `"home-manager, nixos"`
 - nixpkgs: `/nix/var/nix/profiles/per-user/root/channels/nixos`
haizaar commented 2 years ago

I think I've localized the problem to windows of "Chromium Web Apps". I.e. window switching between regular chrome (and other windows) works fine. But if I Alt+Tab into Chromium Web App window, then I can't Alt+Tab out of it.

As well, all as all other global shortcuts are blocked while any Chromium Web App window is in focus.

Whatever Chrom(ium) is doing, I don't think it should be able to block global shortcuts...

nixos-discourse commented 2 years ago

This issue has been mentioned on NixOS Discourse. There might be relevant details there:

https://discourse.nixos.org/t/global-hotkeys-shortcuts-intermittently-stop-working-in-new-plasma-5-25/20016/4