Bug 466546

Summary: On Wayland, Audacious raises itself in the window stack when changing tracks
Product: [Plasma] kwin Reporter: slartibart70
Component: wayland-genericAssignee: KWin default assignee <kwin-bugs-null>
Status: REPORTED ---    
Severity: normal CC: nate
Priority: NOR    
Version First Reported In: 5.27.1   
Target Milestone: ---   
Platform: Fedora RPMs   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:

Description slartibart70 2023-02-27 17:05:16 UTC
I'm using meld and i have several konsole windows open.
Typical workflow is to alt-tab quickly (without showing the icons-preview of the open windows) between meld and konsole.
Quite often, the return from konsole to meld does not work - instead, some other (random?) window gets activated.

Of course, if the icons-preview is shown (pressing alt-tab and keeping alt pressed for a longer time) hits the proper target, it affects only the 'quick'-switch without preview
Comment 1 slartibart70 2023-02-28 22:09:53 UTC
i might have found the problem (but not a solution to it)

i run audacious in the background.
Each time, a song changes the Alt-Tab goes to audacious (and not a random window)
So song is playing, alt-tab between browser and konsole works fine
song ends, changes to the next song
alt-tab goes to audacious first....

This did not happen in X11

Any ideas??
Comment 2 Nate Graham 2023-03-01 15:12:54 UTC
Interesting. It definitely seems like Audacious is causing the issue, but it remains to be seen if it's 100% an app bug, or if there's anything KWin is doing wrong in response to it.