You are not logged in.
Hi,
I've installed Spotify with Flatpak and it is basically working well.
The only thing that is not integrated well is the full screen feature.
It changes the window appearance to the full screen one, but the window title bar is still there and also the gnome bar.
Do you know how this can be fixed?
Offline
In Settings - Keyboard - custom keybinds, bind the action under Windows that toggles between fullscreen mode of a window, then use it on Spotify.
Last edited by icar (2023-09-28 13:44:16)
Offline
@icar thanks, the solution did the job!
Do you know if there is also an option to make flatpak integration works with gnome and toggling full screen from the application itself?
Offline
Flatpak uses [0] spotifywm [1], and that's the only thing that could influence this behaviour (maybe?). It'd be my first time reading that it has anything to do with Flatpak. Knowing Spotify's support for Linux (including testing) is basically nonexistent, I am blaming upstream.
[0]: https://github.com/flathub/com.spotify. … .json#L103
[1]: https://github.com/dasJ/spotifywm
Offline
spotifywm intercepts some X11 events and sets X11 properties (window name & class)
@Idgar, is this gnome on wayland or X11 and does the spotify flatpak end up using xwayland and did you test the behavior on X11?
If it fails on the latter, run "xprop", click the supposingly fullscreened spotify window and post the output.
Offline
Thanks @seth,
basically I'm using gnome on wayland. tried now also Xorg(X11) and same results - no integration of full screen.
I can see from xprop the following details:
_NET_WM_ALLOWED_ACTIONS(ATOM) = _NET_WM_ACTION_MOVE, _NET_WM_ACTION_RESIZE, _NET_WM_ACTION_FULLSCREEN, _NET_WM_ACTION_MINIMIZE, _NET_WM_ACTION_MAXIMIZE_HORZ, _NET_WM_ACTION_MAXIMIZE_VERT, _NET_WM_ACTION_CHANGE_DESKTOP, _NET_WM_ACTION_CLOSE, _NET_WM_ACTION_ABOVE, _NET_WM_ACTION_BELOW
_NET_WM_STATE(ATOM) = _NET_WM_STATE_MAXIMIZED_HORZ, _NET_WM_STATE_MAXIMIZED_VERT, _NET_WM_STATE_FOCUSED
when I manually turn to full screen (with the shortcut created by the above instructions) I get:
_NET_WM_ALLOWED_ACTIONS(ATOM) = _NET_WM_ACTION_FULLSCREEN, _NET_WM_ACTION_MINIMIZE, _NET_WM_ACTION_CHANGE_DESKTOP, _NET_WM_ACTION_CLOSE, _NET_WM_ACTION_ABOVE, _NET_WM_ACTION_BELOW
_NET_WM_STATE(ATOM) = _NET_WM_STATE_MAXIMIZED_HORZ, _NET_WM_STATE_MAXIMIZED_VERT, _NET_WM_STATE_FULLSCREEN, _NET_WM_STATE_FOCUSED
It looks like it allowed to action full screen but never propagates...
Offline
The client probably doesn't support NETWM and tries to go fullscreen by resizing itself to the rootwindow geometry, which historically WMs would often interpret as "sigh, here we go" and just fix that as "legcy support" but mutter might have dropped that at some point and it'll rather not work on wayland at all.
Does the non-flatschpak version behave better?, https://aur.archlinux.org/packages/spotify
Offline
Haven't tried to install AUR packages, trying to stay only with the "Official" packages...
Offline
Flatschpack "officially" sucks, esp. when it comes to desktop integration.
Get used to that.
Offline