hyprwm / Hyprland

Hyprland is an independent, highly customizable, dynamic tiling Wayland compositor that doesn't sacrifice on its looks.
https://hyprland.org
BSD 3-Clause "New" or "Revised" License
19.73k stars 839 forks source link

Spotify inbetween workspaces #1031

Closed SLaItEr-lx closed 10 months ago

SLaItEr-lx commented 1 year ago

Distro: Arch Linux Version Hyprland: 0.18

Issue: When I start Spotify with Wofi then it starts, but it does not show on any workspace. Lets say I have foot on workspace1 and I start Spotify on workspace to. Workspace 2 stays empty but when I switch back to workspace 1 I see the spotify screen passing by. When I switch back to workspace 2 it passes again like it is on a hidden workspace in between 1 and 2.

It is not a floating nor a xwayland issue (so it seems) since other xwayland stuff does not show this kind of behavior.

Screenshot_2022-11-16-22-25-19_9230

vaxerski commented 1 year ago

spotify probably runs through xwayland and requests to be near 0,0. Consider having a monitor at 0,0

DashieTM commented 1 year ago

Spotify is shotty, the way it spawns windows means it can't be tiled properly when it spawns. I suggest using a script that will tile it after like 500ms, alongside a windowrule to spawn it in the middle of the screen. Not perfect, but yeah, it's what it is. Otherwise I can recommend ncspot, uses less resources as it is a cli tool, but let's you listen to music as well so..

vaxerski commented 10 months ago

I believe this is long fixed