Bug 495436

Summary: Input going to incorrect window (X11) window
Product: [Plasma] kwin Reporter: bugs.kde.org
Component: generalAssignee: KWin default assignee <kwin-bugs-null>
Status: RESOLVED FIXED    
Severity: normal CC: aleixpol
Priority: NOR Keywords: X11-only
Version First Reported In: master   
Target Milestone: ---   
Platform: Arch Linux   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:

Description bugs.kde.org 2024-10-27 16:06:58 UTC
***
If you're not sure this is actually a bug, instead post about it at https://discuss.kde.org

If you're reporting a crash, attach a backtrace with debug symbols; see https://community.kde.org/Guidelines_and_HOWTOs/Debugging/How_to_create_useful_crash_reports

Please remove this comment after reading and before submitting - thanks!
***

SUMMARY
When using runelite, and my previously selected window is a Wayland window, my inputs will go to that window instead of runelite.

Workaround: select a different X11 window, then runelite. input works as expected.

STEPS TO REPRODUCE
1. Install runelite (I use the flatpak)
2. go to runescape login screen in runelite
3. Select a wayland window (Kate, shows the input nicely)
4. Select runelite again, try to type in a password. The input will show up in Kate.

OBSERVED RESULT
Input goes to last selected Wayland window

EXPECTED RESULT
Input goes to last selected window (Runelite)

SOFTWARE/OS VERSIONS
Linux/KDE Plasma:6.11.4-arch2-1 kernel version
KDE Plasma Version: 6.2.1
KDE Frameworks Version: 6.7.0
Qt Version: 6.8.0

ADDITIONAL INFORMATION
Comment 1 TraceyC 2025-02-24 17:58:46 UTC
Adding the x11-only keyword
Comment 2 bugs.kde.org 2025-06-25 20:03:11 UTC
I'm not sure when this got fixed, but it is now fixed in 6.4.0