Created attachment 162832 [details]
Maximized printing dialog after pressing Ctrl + p
On the Dell Latitude E7250 with Debian Sid/unstable with GNOME 3.36.3 and LibreOffice 1:7.0.0~rc1-5, opening the print dialog the height is maximized to the screen height.
After pressing on the second *Mehr* (*More*) link(?), the dialog height is getting smaller and the empty space is removed.
Created attachment 162833 [details]
Resized printing dialog after pressing *More*
In other words: the maximized state of this dialog is lost when a section is expanded (and probably also when collapsed)?
(In reply to Heiko Tietze from comment #2)
> In other words: the maximized state of this dialog is lost when a section is
> expanded (and probably also when collapsed)?
Yes, collapsing the expanded section again, the dialog stays “unmaximized”. Even expanding other sections – so scrolling is enable – the dialog size does not change. I guess, that is the expected behavior though, that the dialog size does not change. Having it maximized by default, is probably a good idea for certain screen sizes.
This also happens when the dialog is resized manually. Expanding a section triggers the auto-resize algorithm ignoring user input. We can either fix this issue or make the dialog non-resizable. What do you think, Caolan?
The expander has to resize the dialog, and the resize will resize to the optimum size of the new layout. With expanders it's probably next to impossible to "keep" a manual size in the sense of how to distinguish that wanted size from an unwanted large pre-shrink size when shrinking such a dialog.
Those expanders are really only there in the first place because everything doesn't fit. Print dialogs are hard to get right, especially when considering spreadsheet requirements, and there seems to be a long series of problems with the print dialog since it was redesigned to basically put next to everything in one pane.
"to basically put next to everything in one pane."
-> Sorry, I don't follow this.. 'put next to". I assume something like, put everything in one pane..
The second "Page Layout" should move to a different tab, IMHO. Set the configuration "Pages per sheet" to custom and you get even more settings.. Won't even fit on small screens on Windows. And I find the scroll bar also annoying idea (after experiencing it)
by "put next to everything" I mean "put nearly everything"
This looks like a bug. See also 135691 with a request to keep Print position and size remembered, even if More is not used, surely also if it is.
*** Bug 135691 has been marked as a duplicate of this bug. ***
Caolan fixed the bug with https://gerrit.libreoffice.org/c/core/+/105534
Sorry I don't see as fixed with today's master.
Heiko, could you please explain this. Fix is : don't expand but use scroll. I don't like it and bug 135991 remains as not a duplicate, both position and size are not saved.
There's also bug 134640. which I don't know if covers bug 135991.
The issue was that expanders respond to resizing and/or vice versa. This is fixed and an expanded section will not collapse on maximize.