Bug 150615 - Window position/size not respected when opening from a file
Summary: Window position/size not respected when opening from a file
Status: RESOLVED DUPLICATE of bug 41777
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: LibreOffice (show other bugs)
Version:
(earliest affected)
7.4.0.3 release
Hardware: x86-64 (AMD64) Windows (All)
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2022-08-26 01:23 UTC by Jim Byram
Modified: 2022-09-19 20:52 UTC (History)
3 users (show)

See Also:
Crash report or crash signature:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Jim Byram 2022-08-26 01:23:09 UTC
Using version 7.4.2.0.0, obtained from the current nightly build...

If I open Writer or Calc and set the window position and size, close the program, and reopen them, the window position and size are retained. (This was fixed in 7.4.1.0.0.)

However, for example, if I then select a .odt file and open the program from the document file (double-click on the .odt file, right-click on the .odt file and select Open, right-click on the .odt file and select Open with / LibreOffice, when the document is opened, the position and window size that I set previously is not respected.
Comment 1 Jim Byram 2022-08-26 17:25:34 UTC
This is not fixed current / master / 8/26 / LibreOfficeDev_7.5.0.0.alpha0_Win_x86-64.exe.
Comment 2 V Stuart Foote 2022-08-27 20:56:40 UTC
Sorry, LibreOffice has never recorded the per-document position nor size into ODF document archive.

Nor does the most recently used (MRU) history recorded to user profile have reference for position or size of documents.

Instead and since 4.2 the per-module UI state is recorded into profile [1]; the position and size details per-module were what were disrupted by refactoring that will be fully in place for a 7.5 release and that were partially reverted to fix bug 150236

So, bug 41777 (and dupes, eg 75644) remain an enhancement request.

=-ref-=
[1] https://cgit.freedesktop.org/libreoffice/core/commit/?id=b1314f22eb8de4359b5360194c04996351e9a6c2 and bug 69534

*** This bug has been marked as a duplicate of bug 41777 ***