ValveSoftware / steam-for-linux

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

Steam toast notifications are displaying at the center of the screen #11159

Open hjpaul7 opened 3 months ago

hjpaul7 commented 3 months ago

Your system information

Please describe your issue in as much detail as possible:

After latest beta, the Steam toast popup notifications while outside of BPM/Game appear dead center of the screen. I use Hyprland WM but it hasn't been updated/changed so this appears to be a steam bug?

Toasts are in the correct spot once in BPM or game.

Steps for reproducing this issue:

  1. Get notification

steam-notifications2

rurigk commented 3 months ago

I dont think this is steam fault, read hyprland wiki section is "Window Rules" Or report it to hyprland git, also update your hyprland

Maybe the window title or "class" changed and is detecting the notification as a normal window and you rules make all new windows to be on the center of the screen

hjpaul7 commented 3 months ago

I dont think this is steam fault, read hyprland wiki section is "Window Rules" Or report it to hyprland git, also update your hyprland

Hyprland hasn't been updated, Steam has. So this is probably coming from Steam as it was displaying correctly before.

Maybe the window title or "class" changed

#11151

rurigk commented 3 months ago

Yes but keep in mind that the windows give the DE, WM or Compositor a hint of its size and position The window tells i want to be this size and at this position, in wayland it's the decision of the compositor to take or not the hints of the window

In this case for me in plasma i dont have this problem because plasma decided to take the hints

I used Hyprland before and i had this type of issues with a lot of apps because Hyprland may not respect the hints or just ignore it but its kinda its nature, its a tiling WM at the end of the day

https://github.com/hyprwm/Hyprland/issues/3025

hjpaul7 commented 3 months ago

Replying to https://github.com/ValveSoftware/steam-for-linux/issues/11159#issuecomment-2269964023

I'll poke around in the Hyprland discord and see if anyone else is experiencing it.