forge icon indicating copy to clipboard operation
forge copied to clipboard

Partially Off Screen Apps

Open maymage opened this issue 4 years ago • 3 comments

Hi all,

so while auto tiling works very well with modern GNOME apps, for some legacy apps with too large minimum width already with only two windows the close button goes off screen, see the screen shot below with

  • gnome-console opened first
  • signal opened second, partially off screen

on the same workspace

Console_Signal_1


However slightly decreasing manually the width of gnome-console to the left we get a satisfying result

Console_Signal_2


So the question is: is it feasible to obtain the latter situation automatically or have a heuristic to cover many such situations?


This is on

  • a 12'' screen netbook
  • debian sid, GNOME 42

maymage avatar Apr 01 '22 06:04 maymage

@maymage - I'll see if I can do something about it - I think these are the other options:

  • Stack/Tab the windows automatically when the screen is too small (the screen size can be configurable when it starts doing this)
  • Auto adjust the windows that's fallen off the active monitor/screen (this is a bit tricky)

jmmaranan avatar Jun 03 '22 02:06 jmmaranan

I think, at some point coming back stacking/tabbing is necessary, when too many windows are opened on a work space.

Also it can get somewhat unfair to penalise adaptive applications for e.g. electron ones. However, there's for sure a small window of opportunity to get a better experience out of the box.

Thanks for your work to bring auto tiling on GNOME!

maymage avatar Jun 03 '22 07:06 maymage

#554 makes the layout respect windows' minimum sizes whenever they fit: a window that would get less than its minimum gets its minimum, and its siblings give up the difference, so nothing overlaps or goes off-screen (for example after the display gets smaller or the gaps grow). When there are more windows than fit, it scales the minimums down together. Showing the extra windows as tabs or a stack instead, as suggested here, would be a separate setting; I have a design for it and can write it up if that direction interests you. Reproduction: scenarios/04_min_size_layout.py.

mattchristenson avatar Sep 27 '26 01:09 mattchristenson