ValveSoftware / steam-for-linux

Issue tracking for the Steam for Linux beta client
4.22k stars 174 forks source link

right-click menu not working on xmonad #9790

Open Zetabite opened 1 year ago

Zetabite commented 1 year ago

Your system information

Please describe your issue in as much detail as possible:

Right clicking the friends in the Friends & Chat window for example doesn't show the menu that lets you join their games and co. It appears briefly as small black window, then immediately disappears. It is the whole client that is affected, not just the Friends & Chat window. Works in Steam Overlay.

Steps for reproducing this issue:

  1. Start Steam
  2. Open Friends & Chat window
  3. Right click any friend
  4. See menu showing up briefly as black window
  5. See it disappear immediately

Note:

I set steam to float in my config, to see if that changed the behavior, but it's the same there. It doesn't seem to be influenced by being (non) floating.

kisak-valve commented 1 year ago

Possible duplicate of #9684.

kisak-valve commented 1 year ago

Hello @Zetabite, "Fixed main client window taking focus from other Steam windows when navigation menus are hovered." in the 2023-07-26 Steam client beta update might have helped with this.

anthraxx commented 1 month ago

This should mostly be resolved and worked around in Xmonad by doing the following:

  1. Make sure you are using xmonad-contrib at least version 0.18.1 (not any version before it)
  2. Make sure to use XMonad.Hooks.EwmhDesktops and use minimum ewmh:
    
    import XMonad
    import XMonad.Hooks.EwmhDesktops

main = xmonad $ … . ewmh . … $ def {…}


Optional: Make sure to use `fixSteamFlicker` from `XMonad.Util.Hacks` if you experience flickering:
```haskell
import XMonad.Util.Hacks (fixSteamFlicker)

main = xmonad $ … . ewmhFullscreen . ewmh . … $ def {
        …
        handleEventHook = fixSteamFlicker <+> fullscreenEventHook,
}