ValveSoftware / steam-for-linux

Issue tracking for the Steam for Linux beta client
4.21k stars 175 forks source link

steam notifications appearing causes windows to un-fullscreen when using bspwm, after the new steam UI update #9716

Open ana-rchy opened 1 year ago

ana-rchy commented 1 year ago

Your system information

Please describe your issue in as much detail as possible:

after the new ui update, whenever a notification such as "friend X is now playing Y" or "X has finished installing" pops up, the window im currently fullscreened/focused on un-fullscreens and goes to the very back of the current workspace this never happened before the update

Steps for reproducing this issue:

  1. use steam on bspwm
  2. wait for a steam notification while in a fullscreen window
negativems commented 1 year ago

I have the same issue, maybe creating a rule on bspwm to make the Steam notification window floating could fix it, but I don't know how this window is called.

Ristovski commented 1 year ago

Reproducible on Wayland with Sway. The notification appears to also steal certain input keys, so taking a screenshot while in-game makes you unable to move until the screenshot taken notification goes away.

hjpaul7 commented 1 year ago

Same with XMonad, it actually caused the entire screen to flicker black for a split second when the notification pops up or when disappearing.

Hexicube commented 1 year ago

I have this on Manjaro KDE (I think Wayland), the issue is specifically that the notifications are stealing focus very briefly as when I'm playing Minecraft I'll stop moving when a notification appears. This just happens to also unmaximise some games, which I've observed on Diablo 4, and also happens on non-games as I observe title bars flicker whenever it happens due to the focus switching.

This also doesn't seem to be an issue when playing a game through Steam, presumably because notifications are being routed through the overlay. Oxygen Not Included does not show adverse effects when a notification appears.

Also worth noting that this also happens when the notification disappears too.

Tux0n0 commented 1 year ago

Same/Similar Issue here on LXQT on Lubuntu (Jammy). It will unfocus the current window, focus briefly on the newly created overlay, which then reappears for a brief moment in the top-right corner after retracting.

zupatisc commented 1 year ago

Same issue while using dwm, the popup is recongnized as a normal window instead of a popup and thus steals focus and moves the stack. I think what needs to be done here is set the correct window flag, currently xprop shows the following:

_NET_WM_WINDOW_TYPE(ATOM) = _NET_WM_WINDOW_TYPE_NORMAL

I compared this to the flags that my Dunst notification manager sets for the popups:

_NET_WM_WINDOW_TYPE(ATOM) = _NET_WM_WINDOW_TYPE_NOTIFICATION, _NET_WM_WINDOW_TYPE_UTILITY
Zi-SH commented 1 year ago

I can confirm this issue on BSPWM as well. Pretty irritating when trying to work in a full screen.

J-Lowrance commented 11 months ago

I am having this issue on EndeavourOS with KDE as well.

cpadilla commented 5 months ago

I want to confirm I'm having this issue as well using dwm on arch linux. It sounds like @zupatisc 's solution might work. Perhaps we could get a PR with the changes tested? I could try to tackle it if I have time

g1sbi commented 3 months ago

Bump. Having this issue as well on bspwm.

xmusjackson commented 3 months ago

I'm having this issue as well in XFCE4 and X11. Running Linux 6.9.2, XFCE 4.18, and the latest stable steam client as of this date.