protonscr

right-click menu not working on xmonad

steamopen Steam clientWeb Component
ValveSoftware/steam-for-linux#9790 · opened 2023-07-04 by Zetabite · updated 2024-09-11 · 3 comments · github
ZZetabite 2023-07-04 github

Your system information

  • Steam client version (build number or date):
    Steam Version: 1687386907 Steam Client Build Date: Wed, Jun 21 11:18 PM UTC -08:00 Steam Web Build Date: Thu, Jun 22 12:26 AM UTC -08:00 Steam API Version: SteamClient020
  • Distribution (e.g. Ubuntu): Arch Linux x86_64 with Kernel 6.3.9-zen1-1-zen
  • Opted into Steam client beta?: No
  • Have you checked for system updates?: Yes
  • Steam Logs: steam-logs.tar.gz
  • GPU: Intel WhiskeyLake-U GT2 [UHD Graphics 620]

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.

Kkisak-valve maintainer 2023-07-04 github

Possible duplicate of #9684.

Kkisak-valve maintainer 2023-07-30 github

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.

Aanthraxx 2024-09-11 github

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:

import XMonad.Util.Hacks (fixSteamFlicker)

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

Nothing extracted yet.