Keyboard events leak into Electron and Tauri apps after workspace switch on Fedora 43

Hi everyone,

I’ve been experiencing a strange issue after upgrading from Fedora 42 to Fedora 43. When I switch workspaces using either of Super + PageUp, Super + PageDown, Ctrl + Alt + ←, or Ctrl + Alt + →, if the target workspace contains an Electron-based or Tauri-based app (e.g. VSCodium or my own Tauri app), that app receives the key release event as if I had actually pressed PageUp, PageDown, or the arrow keys directly.

For example:

  • Switching with Super + PageDown → focus lands on VSCodium → it scrolls down repeatedly, as if I pressed PageDown.
  • Switching with Ctrl + Alt + → → focus lands on VSCodium → it moves cursor to the right repeatedly, as if I pressed right arrow.

This doesn’t happen in Firefox, Text Editor, other (native) apps. It also doesn’t happen when switching applications with Alt + Tab or Super + Tab, only when switching workspaces.

Has anyone else encountered this? Any workarounds or related bug reports would be appreciated.

Thanks in advance!

Difficult to use GNOME in Fedora 43 at the moment (mutter)

2 Likes

Thank you for the reply. Glad to know that this is a known issue, and this is affecting XWayland in general. For now, downgrading —as suggested in the issue thread— is the simplest workaround —although there’s another known bug.