Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Application window has no minimum size on Linux #51

Open
heldderarbeit opened this issue Jun 16, 2024 · 4 comments
Open

Application window has no minimum size on Linux #51

heldderarbeit opened this issue Jun 16, 2024 · 4 comments
Labels
bug Something isn't working

Comments

@heldderarbeit
Copy link

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 heldderarbeit added the bug Something isn't working label Jun 16, 2024
@jwr1
Copy link
Owner

jwr1 commented Oct 1, 2024

Complete in 089361f.

@jwr1 jwr1 closed this as completed Oct 1, 2024
@heldderarbeit
Copy link
Author

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

Screencast.From.2025-02-10.19-09-30.mp4

See 0:10

@jwr1
Copy link
Owner

jwr1 commented Feb 10, 2025

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

@jwr1 jwr1 reopened this Feb 10, 2025
@jwr1
Copy link
Owner

jwr1 commented Feb 24, 2025

It's a problem with the library that's used. Here's the related issue: leanflutter/window_manager#529.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants