Hi, I’ve just replaced my “HTPC” and done a fresh install of Debian on it. There’s a strange issue with Kodi and the focus under Wayland: after some time Kodi (running in full screen) loses focus so I cannot navigate it with the TV remote anymore, but I have to switch back to Kodi using ALT+TAB on the keyboard. I’m not sure of when this happens, basically I power on the TV on the next day and Kodi has lost focus, the PC is always on. Since something like this had never happened before on the old PC (running Mint), I tried switching to xorg instead of Wayland and the problem disappeared. Desktop environment is KDE, Kodi is installed via official flatpak. No standard keyboard or mouse are connected to the PC, only a wireless keyboard with touchpad which is pratically always powered off, so it is impossible that someone is switching focus by mistake. Does anyone have any clue?

  • Zamundaaa@discuss.tchncs.de
    link
    fedilink
    English
    arrow-up
    1
    ·
    18 hours ago

    This sounds like a bug that was fixed some time ago - the desktop window is stealing focus when it gets created, so every time the display reconnects to the PC.

    Because you’re on Debian with Plasma 5.27.5, you don’t have that fix though.