Bug 99112 - restore down can not remember previous window size and position
Summary: restore down can not remember previous window size and position
Status: NEW
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: UI (show other bugs)
(earliest affected) release
Hardware: x86-64 (AMD64) Windows (All)
: low trivial
Assignee: Not Assigned
Depends on:
Blocks: User-Profile
  Show dependency treegraph
Reported: 2016-04-06 07:21 UTC by odinatlas
Modified: 2020-08-28 07:16 UTC (History)
1 user (show)

See Also:
Crash report or crash signature:
Regression By:

restore down bug (155.06 KB, image/png)
2016-04-06 07:21 UTC, odinatlas

Note You need to log in before you can comment on or make changes to this bug.
Description odinatlas 2016-04-06 07:21:14 UTC
Created attachment 124117 [details]
restore down bug

I launch Lebreoffice and restore down window, then close and launch again, it will remembers the windows aize and position.

but maximize window, then close and launch again,when restore down, it will not.
as attachment
Comment 1 odinatlas 2016-04-06 07:23:45 UTC
so if libreoffice can be set default windows size like version 4.1.6, it will be fine.
Comment 2 odinatlas 2016-04-09 02:39:23 UTC
I am sure Settings of Libreoffice window size and postion is in "LibreOffice 5\user\registrymodifications.xcu"
but I can not find it out.
Comment 3 odinatlas 2016-04-09 02:49:18 UTC
The value of windows and position is below

<item oor:path="/org.openoffice.Setup/Office/Factories/org.openoffice.Setup:Factory['com.sun.star.frame.StartModule']"><prop oor:name="ooSetupFactoryWindowAttributes" oor:op="fuse"><value>4,46,1672,972;4;0,0,0,0;</value></prop></item>
Comment 4 Buovjaga 2016-04-26 07:46:02 UTC
Note for testers: "Restore down" means switching from maximized to non-max.

Win 7 Pro 64-bit Version:
Build ID: d848960a3e77a8608a48f3ba394928c955f1e2d9
CPU Threads: 4; OS Version: Windows 6.1; UI Render: default; 
TinderBox: Win-x86@39, Branch:master, Time: 2016-04-25_06:03:51
Locale: fi-FI (fi_FI)
Comment 5 odinatlas 2017-03-19 02:45:34 UTC
maybe it is not s bug,
Adapt to it.
Comment 6 QA Administrators 2018-03-20 03:35:28 UTC Comment hidden (obsolete)
Comment 7 QA Administrators 2020-03-20 02:39:22 UTC Comment hidden (obsolete)
Comment 8 jollytall 2020-08-20 04:42:15 UTC
After upgrading Debian 9 to Debian 10 on AMD64 I have the same bug.
LibreOffice version used (as in Debian10 repository) is:
Build ID: 1:6.1.5-3+deb10u6
CPU threads: 4; OS: Linux 4.19; UI render: default; VCL: gtk3; 
Locale: en-GB (en_US.UTF-8); Calc: group threaded

Tested in Calc and Writer. If at exit the window is in restored state/size (i.e. custom size) then the next load is OK. If the window is maximized when exit, the next load is also maximized (so-far OK). But when the freshly opened maximized window is changed to custom size, the custom size is not the last size, but something small in the upper left side of the screen.

So it seems that when it exits, if the window is maximized, it does not save or does not save correctly the custom size (what it knows well, while running, i.e. switching between custom size and maximized works well until exit).

In earlier version I did not have this. Since the original bug is from 2016, it seems that it came back with the new Office.