protonscr

Should set WM_TRANSIENT_FOR on the dropdown menus in the main client

steamopen reviewedSteam clientWindow manager
ValveSoftware/steam-for-linux#2355 · opened 2013-05-01 by magcius · updated 2019-07-18 · 8 comments · github
Mmagcius 2013-05-01 github

Steam seems to create menus by simply creating an override-redirect window, as is standard. Unfortunately, they don't set WM_TRANSIENT_FOR (as is recommended by EMWH), so programs that try to group windows by application (WMs like gnome-shell, for instance) fail to see these windows as associated with the main Steam window.

This applies to the main menu bar menu, context menus, and the menus that show up when hovering over "STORE", "LIBRARY", etc.

Nnickurak 2013-12-07 github

Would this explain why I can't actually use the menus? If I open the a menu, and start moving down through it, it closes before I have a chance to select anything.

Mmagcius 2013-12-07 github

Nope. An WM_TRANSIENT_FOR on the OR window wouldn't change how we manage the windows.

Ssoerengrunewald 2014-01-29 github

I can reproduce this easily by changing the focus-mode in gnome3 using gnome-tweak-tool. Setting it to click and steam client is fully functional. Changing it to mouse or sloppy and steam client is unusable.

Found a similar issue #86

NNotMrFlibble 2014-06-18 github

This problem affects transparency. With xfwm4, for example, a correctly-hinted menu window would retain the ‘has focus’ transparency setting for the parent window and use the ‘menu‘ transparency setting for the menu window; but, as is, the parent window is rendered with ‘unfocused’ transparency and the menu with ‘has focus’ transparency.

Nnickurak 2014-08-08 github

I'd still love to see if fixing this would address #6.

CCodeMonkey90 2014-08-17 github

This bug report is growing old although the issue should be easy to fix and is extremely annoying. Any updates?

Nnickurak 2014-08-17 github

I'd be happy to try a one-off test build to see if it helps in this situation and/or #6. Seems setting this flag and making sure to have a consistent WM_CLASS is important in this area.

Mmagcius 2014-08-17 github

It won't have an effect on #6. The windows are override-redirect, which means the hints on them shouldn't change WM behavior.

Nothing extracted yet.