Bug 486058

Summary: kwin_x11 does not focus on some applications properly
Product: [Plasma] kwin Reporter: danct12
Component: platform-x11-standaloneAssignee: KWin default assignee <kwin-bugs-null>
Status: RESOLVED DUPLICATE    
Severity: major CC: xaver.hugl
Priority: NOR    
Version: 6.0.4   
Target Milestone: ---   
Platform: Arch Linux   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:
Attachments: kwin error when launching ft2

Description danct12 2024-04-24 08:55:21 UTC
SUMMARY
When launching some applications, the mouse does not focus on applications properly.

STEPS TO REPRODUCE
The most easiest way to reproduce the issue is to install Fasttracker II clone (ft2-clone):
1. Install ft2-clone from Arch Linux repo
2. Launch it

OBSERVED RESULT
Kwin focuses on the newly launched application. Instead of the mouse interacting with the application, it interacts with whatever behind the application. It also does not focus on any new windows.

EXPECTED RESULT
Kwin focuses on the newly launched application, can be interacted using the mouse.

SOFTWARE/OS VERSIONS
Linux: Arch Linux
KDE Plasma Version: 6.0.4
KDE Frameworks Version: 6.1.0
Qt Version: 6.7.0

ADDITIONAL INFORMATION
The application works perfectly fine on XFCE4.
If I restart kwin using `kwin_x11 --replace` the issue disappears until I restart FT2.
Comment 1 danct12 2024-04-24 08:58:00 UTC
Created attachment 168857 [details]
kwin error when launching ft2

The following is the log when ft2 is launched came from kwin_x11.
Comment 2 Zamundaaa 2024-04-24 13:48:11 UTC

*** This bug has been marked as a duplicate of bug 478556 ***