When a document with a large size from a large screen is re-opened using a smaller screen (for example, on a laptop), the window size is larger than the screen, rather than being resized down.
Please, give exact reproduction instructions. As far as I know, LibreOffice does not keep the size of window last used for a document stored with the document in any of the document format (if that eveb was possible). So presumably you mean that *any* Writer (or Calc, etc) document window will open with its previous size even if that is now then too large. Or am I misunderstanding?
Sorry, that was unclear.
I mean you have LibreOffice running when connected to a large screen and a document occupying much of it.
You then reconnect the computer to a smaller screen, or just disconnect the large screen and start working on the smaller laptop screen.
The document retains its much larger size, rather than adjusting to be no larger than the current screen.
OK. So you keep LibreOffice running while disconnecting a monitor and reconnecting a different pixel-dimensioned one? (Presumably it is not the only monitor on the system that you disconnect?) And initially you have a LibreOffice window open on that monitor, so while the monitor is not there, that LibreOffice window is not visible anywhere on the desktop?
Isn't that actually a more serious problem, what if you aren't going to attach another monitor until much later perhaps? Shouldn't LibreOffice in this case be clever enough to move any window open on a monitor that gets disconnected to one of the remaining monitors? (And obviously also then resize if necessary to fit on the monitor where they are moved.) Whether it then should remember that the window was automagically moved, and move back in case another monitor gets re-attached, I don't know... Sure, in many cases it would make sense.
We need to test how these scenarios behave in the other desktop environments, too. (Windows/GNOME/KDE/other X11)
Also, on a laptop there might only effectively be one display if the top is down the built-in display is off. So disconnecting the big display, there is none. Then two scenarios: reconnect to another larger display at some later time, or open the built-in.
But especially on a MacBook, surely the machine goes to sleep very reliably when the lid is closed, and apps don't need to do anything at all, unless they want to? Or is that configurable, I must check with my MacBook...?
Thorsten, do you have any insight on potential Mac OS X -specific points here?
Quite frankly, this is a task for the operating system / window manager (the more obscure examples you gave, Tor). For the original problem: well yeah, I assume LibO should limit window sizes to the current monitor dimension. Should be a general issue, just maybe hidden on some platforms which implicitely do that already.
I can't reproduce the problem on Windows. If I have OOo runnin with only a Writer window open as non-maximized but quite large on the only monitor, then close OOo, change the monitor width to be much smaller, and then restart OOo to open the Writer document, the window size is set to be smaller so that it fits on the monitor. (I do this in a vmware virtual machine (running XP) so it is trivial to resize the monitor.)
As the initial report was for Max OS X, setting it back to that, and assigning to Thorsten.
I can not reproduce this behaviour switching between a 14" screen and my MacbookPro, the document window opens full screen on both.
Closing for the while - Peter, if this problem persists for you in newer versions, please reopen with further input.