Global hotkeys (shortcuts) intermittently stop working in new Plasma 5.25

I’ve updated to the latest unstable channel which brought in the latest Plasma 5.25.0.
Now I have an issue where all global shortcuts (window switching, krunner, main menu, Meta-E, etc.) just stop working randomly for nondeterministic amount of time. Then come back, and break again.

Checked journalctl --user but nothing obvious there (below). Any ideas?

Jun 29 15:46:22 h******r kwin_wayland_wrapper[8043]: This plugin does not support raise()
Jun 29 15:46:22 h******r kwin_wayland_wrapper[8043]: This plugin does not support raise()
Jun 29 15:46:24 h******r kwin_wayland_wrapper[8043]: This plugin does not support raise()
Jun 29 15:46:24 h******r kwin_wayland_wrapper[8043]: This plugin does not support raise()
Jun 29 15:46:25 h******r xdg-desktop-portal-kde[9435]: xdp-kde-background: GetAppState called: no parameters
Jun 29 15:46:55 h******r xdg-desktop-portal-kde[9435]: xdp-kde-background: GetAppState called: no parameters
Jun 29 15:47:25 h******r xdg-desktop-portal-kde[9435]: xdp-kde-background: GetAppState called: no parameters
Jun 29 15:47:55 h******r xdg-desktop-portal-kde[9435]: xdp-kde-background: GetAppState called: no parameters
Jun 29 15:48:25 h******r xdg-desktop-portal-kde[9435]: xdp-kde-background: GetAppState called: no parameters
Jun 29 15:48:28 h******r kwin_wayland_wrapper[25768]: Omitting both --window and --windowclass arguments is not recommended
Jun 29 15:48:28 h******r kwin_wayland_wrapper[25768]: kf.service.services: The desktop entry file "/run/current-system/sw/share/applications/kcm_krunnersettings.desktop" has Type= "Application" but no Exec line
Jun 29 15:48:28 h******r kwin_wayland_wrapper[25768]: kf.service.sycoca: Invalid Service :  "/run/current-system/sw/share/applications/kcm_krunnersettings.desktop"
Jun 29 15:48:29 h******r systemd[1573]: Started flameshot.
Jun 29 15:48:35 h******r kwin_wayland_wrapper[8043]: This plugin does not support raise()
Jun 29 15:48:35 h******r kwin_wayland_wrapper[8043]: This plugin does not support raise()
Jun 29 15:48:55 h******r xdg-desktop-portal-kde[9435]: xdp-kde-background: GetAppState called: no parameters

Jun 29 15:48:59 h******r kwin_wayland_wrapper[8043]: This plugin does not support raise()
Jun 29 15:48:59 h******r kwin_wayland_wrapper[8043]: This plugin does not support raise()
Jun 29 15:49:25 h******r xdg-desktop-portal-kde[9435]: xdp-kde-background: GetAppState called: no parameters


Jun 29 15:49:55 h******r xdg-desktop-portal-kde[9435]: xdp-kde-background: GetAppState called: no parameters
Jun 29 15:50:04 h******r plasmashell[8133]: kf.plasma.quick: Couldn't create KWindowShadow for ToolTipDialog(0x3094ac0)
Jun 29 15:50:04 h******r plasmashell[8133]: kf.plasma.quick: Couldn't create KWindowShadow for ToolTipDialog(0x3094ac0)
Jun 29 15:50:04 h******r plasmashell[8133]: kf.plasma.quick: Couldn't create KWindowShadow for ToolTipDialog(0x3094ac0)
Jun 29 15:50:04 h******r kwin_wayland_wrapper[8043]: kwin_screencast: Failed to connect PipeWire context
Jun 29 15:50:04 h******r plasmashell[8133]: plasma_workspace_pipewire_logging: error creating screencast "Failed to connect PipeWire context"
Jun 29 15:50:12 h******r krunner[8292]: kf.sonnet.core: No language dictionaries for the language: "en_US"
Jun 29 15:50:12 h******r krunner[8292]: kf.plasma.quick: Couldn't create KWindowShadow for View(0x7ffdd2be2b50)
Jun 29 15:50:12 h******r krunner[8292]: kf.plasma.quick: Couldn't create KWindowShadow for View(0x7ffdd2be2b50)
Jun 29 15:50:12 h******r krunner[8292]: kf.plasma.quick: Couldn't create KWindowShadow for View(0x7ffdd2be2b50)
Jun 29 15:50:12 h******r krunner[8292]: kf.plasma.quick: Couldn't create KWindowShadow for View(0x7ffdd2be2b50)
Jun 29 15:50:12 h******r krunner[8292]: kf.plasma.quick: Couldn't create KWindowShadow for View(0x7ffdd2be2b50)
Jun 29 15:50:12 h******r krunner[8292]: kf.plasma.quick: Couldn't create KWindowShadow for View(0x7ffdd2be2b50)
Jun 29 15:50:12 h******r krunner[8292]: kf.plasma.quick: Couldn't create KWindowShadow for View(0x7ffdd2be2b50)
Jun 29 15:50:12 h******r krunner[8292]: qt.qpa.wayland: Wayland does not support QWindow::requestActivate()
Jun 29 15:50:25 h******r xdg-desktop-portal-kde[9435]: xdp-kde-background: GetAppState called: no parameters
$ nix-info -m
 - system: `"x86_64-linux"`
 - host os: `Linux 5.18.6, NixOS, 22.11 (Raccoon), 22.11pre388062.f2537a505d4`
 - multi-user?: `yes`
 - sandbox: `yes`
 - version: `nix-env (Nix) 2.9.1`
 - channels(haizaar): `""`
 - channels(root): `"home-manager, nixos"`
 - nixpkgs: `/nix/var/nix/profiles/per-user/root/channels/nixos`

Perhaps this is related to 455444 – Custom Shortcuts are gone in 5.25 on Wayland?

I doubt it - there are no custom shortcuts here involved. The plain Alt+Tab stops working intermittently…

For anyone who’s following:

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…

GH Issue with nixpkgs: Desktop shortcuts intermittently stop working since KDE 5.25 · Issue #185619 · NixOS/nixpkgs · GitHub