Spotify App Refuses to Maximize/Too Large for Screen

Using Flatpak’s Spotify app on MS Surface/ 1800x1200 Screen at 200% with Gnome 4.5 on TW 20231013. After the last update, the app refuses to properly resize? The “app window” extends below the bottom of the usable screen, which means all functions at the bottom of the “app window” are inaccessible . Normally one could maximize the window to fix this—shortcut keys or the window maximize button, but these don’t work. Any ideas on how to force the app window to properly resize?

Can you ‘grab’ the top border of window with the mouse, click/hold and drag the border down?

What about using the GNOME Window Menu (which would allow using the arrow keys to resize, or other key commands)?

Unfortunately, I’m a KDE Plasma type, so unfamiliar with GNOME D.E. There are effective fixes using KDE 's Window Menu, but I doubt GNOME uses them.

I can grab the top border, but can’t drag it any higher than the panel, so the bottom remains “below the screen”. Gnome window menu blanks out maximize. Arrow key shortcuts don’t work, nor any other key commands. I also normally use KDE, but on the MS Surface (which is almost more of a tablet), Gnome’s Wayland implementation remains light years ahead.

I’m not sure whether this is a flatpak problem or something to do with the Spotify implementation. I would use SpotifyRPM but that’s become buggy (on my systems) in different ways.

My thinking is to grab the top border and shrink the window size (drag border DOWNwards), then grab the Titlebar and move the whole window upwards, so you can see the bottom of the Spotify window.

Maybe my thinking is flawed.

Double-click the top border. That should resize it to full-screen, and then you can change it from there.

Spotify’s app is notorously bad at integrating with GNOME. For me, it never remembers the window size it was at when I start it - but in my case, it’s smaller than the screen.

No, that’s sound reasoning and would normally be expected behavior, but I can only shrink the window in three directions → Top border down or up or side borders left and right. No matter how I manipulate those borders, I can’t drag bottom border into view. It remains “below” the screen.

I didn’t think of double-clicking. Tried that but it didn’t work. Is there a gnome equivalent to Plasma’s ability to dictate the size and/or placement of the app window when opening?

EDIT: The whole issue, from what I can tell, is that the “Maximize” function has been entirely disabled? It’s grayed out on the window menu. It doesn’t work with key strokes and double-clicking doesn’t work.

It works here just fine.

There is a setting in GNOME tweaks under “Windows” to enable maximize, minimize, and to enable the double-click. Perhaps that’s not enabled in your configuration.

Huh. Here’s my flatpak version of Spotify → 1.2.13.661.ga588f749

I double-checked to make sure double-click was enabled under Tweaks. It is. It works for all other windows but doesn’t work for Spotify.

It feels like there’s a bug related to Spotify’s implementation of flatpak “windowing”, my screen size, possibly wayland, and Gnome’s “Scale” setting. That’s my best guess.

I’ve got the same version here.

One difference is that I’m not running Wayland. I’m also running a three-display setup, and Spotify is on my smallest screen (1280x1024).

Probably Wayland then.

Could be. You could try on Xorg and see if it works there, that would definitively identify if that was the cause or not.

Actually, I remember being able to start firefox under xorg or wayland, independent of which display server was default. I wonder if I could do that with Spotify as a flatpak app?

Well, I was wrong about having tried every key combination. I tried WindowKey+Tap & Drag and I was able to drag the top of the app window beneath the Gnome Panel. That’s an exceedingly kludgy work around but it made it so I could access the controls at the bottom of the app window.

1 Like

@millstonepoet are you running Flatseal? Might need to add x11 fallback… Also have a look in the following file (app.window settings) ~/.var/app/com.spotify.Client/config/spotify/prefs may need a manual tweak.

Great tip on the app window setting. I was wondering where this was located. I’ll play around with this. Thanks again.

Update: I’ve been experimenting with prefs settings, but the prefs file doesn’t appear to be the controlling config file. Whatever values I set are reset with each restart. :confused: