keyd icon indicating copy to clipboard operation
keyd copied to clipboard

Application Mapper Stuck on `steam|broadcaststatus`

Open cheyngoodman opened this issue 2 years ago • 3 comments

I'm having issues with keyd-application-mapper getting stuck on a single Steam window that isn't visible:

$ keyd-application-mapper -v
X detected
Active window: steam|broadcaststatus

This is resolved after killing steam, the cause might be a bug with the application and not the mapper. I'm not sure why the mapper doesn't respond to the focused window instead of this steam|broadcaststatus.

Starting steam again on a new desktop gets stuck on the same active window:

Active window: root|
Active window: steam|sign-in-to-steam
Active window: root|
Active window: steam|steamwebhelper
Active window: steam|undefined
Active window: steam|broadcaststatus

cheyngoodman avatar Jun 16 '23 15:06 cheyngoodman

Looks like it's a new Steam client with a new "Broadcast" feature. Unfortunately, we can't simply disable broadcaststatus even with Steam Settings > Broadcast > Privacy Setting "Broadcast Disabled".

cheyngoodman avatar Jun 16 '23 15:06 cheyngoodman

I also have this problem. It appears to be caused by the function get_floating_window in the script keyd-application-manager, which detects various steam windows even when they're not focused or on the screen. This may be due to Steam setting the properties of these windows incorrectly.

I made a simple workaround by having this function just return None. Floating windows still work for me provided they get focus, but it may cause problems for others whose WM works differently. You can try it yourself by adding return None to line 240 of the script, found at scripts/keyd-application-manager in this repo. You can then run the script directly with python3 path/to/keyd-application-manager

rahenry avatar Sep 07 '23 07:09 rahenry

Had this problem too but it was KDE Plasma grabbing focus. The workaround described by @rahenry fixes it.

lucasmr avatar Sep 11 '23 09:09 lucasmr