https://bugs.kde.org/show_bug.cgi?id=479901
Bug ID: 479901 Summary: Loss of focus when toggling ON/OFF the monitor Classification: Plasma Product: kwin Version: git-stable-Plasma/5.27 Platform: openSUSE OS: Linux Status: REPORTED Severity: normal Priority: NOR Component: multi-screen Assignee: kwin-bugs-n...@kde.org Reporter: dofus-...@live.fr Target Milestone: --- SUMMARY *** NOTE: If you are reporting a crash, please try to attach a backtrace with debug symbols. See https://community.kde.org/Guidelines_and_HOWTOs/Debugging/How_to_create_useful_crash_reports *** Focus is not preserved when restoring a screen state for an application. The use case I have is the following: Kiosk PC used with a TV monitor and a remote controller. It has kodi in full screen, when I close the TV and re-open it, focus is lost and kodi appear behind the task bar (still in full screen) and input is not captured. When looking at the logs, when I power off the TV, it disable the hdmi completely so the same as unplugging the tv. Model of the TV is a LG OLED C2. The same issue happens when switching when using a KVM switch and toggling between PCs. STEPS TO REPRODUCE 1. Open a full screen application 2. Unplug your monitor 3. Re-plug your monitor 4. Focus is being lost OBSERVED RESULT When powering OFF and ON my TV, my fullscreen application lose its focus EXPECTED RESULT When powering OFF and ON my TV, I want the screen to stay as it was before SOFTWARE/OS VERSIONS Windows: macOS: Linux/KDE Plasma: OpenSUSE Tumbleweed (available in About System) KDE Plasma Version: 5.27.10 KDE Frameworks Version: 5.113.0 Qt Version: 5.15.12 ADDITIONAL INFORMATION -- You are receiving this mail because: You are watching all bug changes.