stellarium icon indicating copy to clipboard operation
stellarium copied to clipboard

Application window has no minimum size on Linux

Open heldderarbeit opened this issue 1 year ago • 1 comments

On Gnome X11, Gnome Wayland and Plasma X11 it is possible to resize the window to a small strip, if you toggled off the "Full-screen mode [F11]" beforehand. By doing this the full titlebar including the window controls and the entirety of the main window disappears, making it hard to find it again or resize it back to its original size.

Expected Behaviour

It should not be possible to make the whole window disappear. At least the titlebar, window controls and some part of the application window should always remain visible on screen

Actual Behaviour

gnome wayland Screencast from 2024-07-30 07-48-23.webm

Peek 2024-07-30 07-51

gnome x11 Screencast from 2024-07-30 07-50-01.webm

Steps to reproduce

Press F11 key and start resizing the application window from one of the 4 corners

System

  • Stellarium version: 24.2 from Flathub
  • Operating system: Arch
  • Graphics Card: Intel WhiskeyLake-U GT2

heldderarbeit avatar Jul 30 '24 05:07 heldderarbeit

At least the titlebar, window controls and some part of the application window should always remain visible on screen

This is a question to your window manager, which is who creates window decorations. E.g. KWin tries to keep the minimize-maximize-close buttons visible until you force the corner too close to the opposite one, and even then it leaves a few pixels of width and a dozen pixels of height.

I don't think Stellarium should set any minimum size. If you badly want its window's size to be limited from below, try using KWin and set the minimum size in its window rules (or does Gnome's WM have a similar config?).

10110111 avatar Jul 30 '24 07:07 10110111