Bug 134236 - Enable Writer in "Web View" to keep focus on text cursor when resizing program window
Summary: Enable Writer in "Web View" to keep focus on text cursor when resizing progra...
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Writer (show other bugs)
(earliest affected) release
Hardware: All All
: low normal
Assignee: Not Assigned
Keywords: needsUXEval
Depends on:
Blocks: Writer-Web-Layout
  Show dependency treegraph
Reported: 2020-06-22 16:31 UTC by tpypta
Modified: 2021-05-18 09:24 UTC (History)
4 users (show)

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

Screencast (3.63 MB, image/gif)
2021-03-19 09:26 UTC, Heiko Tietze

Note You need to log in before you can comment on or make changes to this bug.
Description tpypta 2020-06-22 16:31:00 UTC
While in "Web view", resizing Writer program window doesn't keep its focus on the typing cursor, which results in a minor loss of worktime since one has to scroll (or use Ctrl+Z / Ctrl+F.... etc) to find the last line beign edited. This is especially true if the document contains +200 pages (in "Normal view").

*Usage case description: on the left part of the desktop a PDF with proofing guidelines is opened, which contains valuable know-how about the (academic) paper beign written in LO Writer, which is placed in the right part of the desktop. LO Writer is in "Web view" to declutter everything like page background, formatiing, margins... etc, in order to maximize the usable-for-editing space on the screen. 

Steps to Reproduce:
1.Open a large document in "Web view" and start editing somewhere in the middle.
2.Resize LO Writer window enough to fit another program window on screen (p.ex a PDF viewer)

Actual Results:
LO Writer (in "Web view") is somewhere else in the document, not on the last edited line / not focused on the text cursor.

Expected Results:
Keep the window focused on the last edited line / on the text cursor

Reproducible: Always

User Profile Reset: No

Additional Info:
Version: (x64)
Build ID: 2196df99b074d8a661f4036fca8fa0cbfa33a497
CPU threads: 4; OS: Windows 10.0; UI render: default; VCL: win; Calc: CL
Comment 1 Dieter 2020-06-25 11:45:26 UTC
Thank you for reporting the bug. Could you please try to reproduce it with the latest version of LibreOffice from https://www.libreoffice.org/download/libreoffice-fresh/ ? I have set the bug's status to 'NEEDINFO'. Please change it back to 'UNCONFIRMED' if the bug is still present in the latest version. Change to RESOLVED WORKSFORME, if the problem went away.
Comment 2 tpypta 2020-06-25 13:14:41 UTC
Yes, the bug is still present in the "Fresh" branch / 6.4.4 (I've tested it with a parallel install using the Separate Install GUI). Writer "Web view" in both .odt / .docx files loses its focus on the text when LO window is resized.
Comment 3 Buovjaga 2020-10-19 12:51:04 UTC
I think we should call this an enhancement. I repro.
Comment 4 V Stuart Foote 2021-03-17 22:46:32 UTC
Holding the Writer edit cursor position focus when moving between Normal view and Web view would really be helpful.

But kind of expect that calculating the position in document reliably between the two modes requires new dev effort.
Comment 5 Heiko Tietze 2021-03-19 09:26:49 UTC
Created attachment 170566 [details]

Cannot confirm, the cursor remains at the position in the document.
Comment 6 Heiko Tietze 2021-05-18 09:24:33 UTC
Resolving as NAB, please reopen if there is still an issue.