In the print dialog, expanding or collapsing the "details" makes the window size change
Created attachment 109549 [details]
In the print dialog, expanding or collapsing the "details" makes the window size change.
This may be desired by the user or not, personally I would prefer my window at least not to become smaller than before.
However, if the window is in a maximized state, only a smaller portion of the window's interior is used afterwards (see screenshot), leaving its old contents in the remaining area, which is desturbing. "De-maximizing" the window makes it look normal again, and one can maximize it afterwards.
I’ve disabled maximizing for that window in 4.4, so you shouldn’t run into that buggy situation with your window manager. It was a mistake to make those dialogs resizable in the first place.
(In reply to Adolfo Jayme from comment #3)
I would consider it only kind of a work-around to disable maximizing, not a fix. Is the bug so hard to remove?
I very much appreciate the window being resizable! In the original size of the window, the page preview is of comparably little use. A large (or even maximized) window offers a really good impression of the whole page, which I don't want to miss.
So, can we reopen the bug?
From your comment I conclude that it may be an issue related to my window manager, which is Xfce shipped with Linux Mint 13. So with other WMs the problem is absent?
(In reply to Olibuntu from comment #4)
> From your comment I conclude that it may be an issue related to my window
> manager, which is Xfce shipped with Linux Mint 13. So with other WMs the
> problem is absent?
No, I’ve seen that situation in Compiz, for example, with Synaptic. It’s pretty common, but not LibreOffice’s fault.
Unfortunately you can’t disable maximizing without also disabling resizing under several Linux window managers.
When the dialog is resized, LO reacts correctly in resizing the page preview. So it seems that there is no principle problem with this task.
Couldn't the same function be called every time the "details" are collapsed or expanded? So the window size would be retained and only the size of the page preview adjusted. Only if the window size was too small (which is not to be expected when the window is maximized) it would be enlarged.
Not knowing the code, I imagine this being a really simple solution, maybe only one function call is needed.