interstellar icon indicating copy to clipboard operation
interstellar copied to clipboard

Application window has no minimum size on Linux

Open heldderarbeit opened this issue 1 year ago • 4 comments

Describe the bug

On KDE Plasma 6.0.5 (X11), it's currently possible to resize the window to only a small strip. Even the titlebar with the window controls is completely hidden, making it impossible to close it without resizing again.

https://streamable.com/a3lr6j

On Plasma Wayland / Gnome 46.1, at least the titlebar can not be resized further. But the full application window is missing here, too.

gnome-Screencast from 2024-06-16 20-41-34.webm

I think it would be better a have a fixed pair of minimum width and height values set, so at least the full titlebar with window controls and some part of the application remains visible anytime. At least every GTK app seems to do this by default. Here's for example how the mimimum window for Gnome Text Editor looks like. It can't be reduced further.

https://streamable.com/hxnm23

Steps to Reproduce

No response

Version

0.5.1

What platform(s) are you seeing the problem on?

Linux

Additional context

System is Arch with Interstellar installed from Flathub.

I tend to see this as a bug rather than a feature request, but feel free to move this elsewhere. Had to upload 2 videos on some hosting site, because they were claimed to be "corrupt".

heldderarbeit avatar Jun 16 '24 19:06 heldderarbeit

Complete in 089361fce8296c6b4225b32e97331a488da76d40.

jwr1 avatar Oct 01 '24 18:10 jwr1

Hello, thanks for fixing this. But it seems like the fix is not applied, if you maximize and then exit maximized mode afterwards. Then suddenly the window doesn't have a mimimum size anymore.

Tested on v0.7.2

https://github.com/user-attachments/assets/0de3be13-f275-479c-8100-3ce7f288546b

See 0:10

heldderarbeit avatar Feb 10 '25 18:02 heldderarbeit

That's weird. I'll reopen this and look into it.

jwr1 avatar Feb 10 '25 19:02 jwr1

It's a problem with the library that's used. Here's the related issue: https://github.com/leanflutter/window_manager/issues/529.

jwr1 avatar Feb 24 '25 00:02 jwr1