https://bugs.kde.org/show_bug.cgi?id=479011

            Bug ID: 479011
           Summary: "Allow legacy X11 apps to read keystrokes typed in all
                    apps" stops working after a while, or when screen is
                    locked and unlocked
    Classification: Plasma
           Product: kwin
           Version: 5.27.10
          Platform: Fedora RPMs
                OS: Linux
            Status: REPORTED
          Severity: normal
          Priority: NOR
         Component: input
          Assignee: kwin-bugs-n...@kde.org
          Reporter: unblended_icing...@simplelogin.com
  Target Milestone: ---

SUMMARY
"Allow legacy X11 apps to read keystrokes typed in all apps" stops working
after a while of using Wayland applications, or when the session is locked and
re-unlocked.

When this happens, switching to any XWayland window and switching back usually
fixes the issue temporarily, until it happens again.

Also, `gamescope` refuses to start when this happens. Switching to any XWayland
window and switching back also makes `gamescope` able to start again.


STEPS TO REPRODUCE
1. System Settings -> Applications -> Legacy X11 App Support
2. Set "Allow legacy X11 apps to read keystrokes typed in all apps" to "All
keys, but only while Meta, Ctrl, Alt, or Shift keys are pressed" or "Always"
3. Start a X11 application that can be activated using global shortcut
4. Minimize all XWayland windows
5. Use Wayland application for a while, or lock the session by pressing Meta +
L and unlock

OBSERVED RESULT
X11 app can no longer be triggered by global shortcut.

EXPECTED RESULT
X11 app should be triggered by global shortcut even if you use Wayland
application for a long time.
When session is unlocked, X11 app should be able to be triggered by global
shortcut again.

SOFTWARE/OS VERSIONS
Linux/KDE Plasma: 
KDE Plasma Version: 5.27.10
KDE Frameworks Version: 5.111.0
Qt Version: 5.15.11
Wayland session
Fedora 39

ADDITIONAL INFORMATION

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to