Bug 125332 - Losing current location when zooming out/in or displaying/hiding Navigator
Summary: Losing current location when zooming out/in or displaying/hiding Navigator
Status: NEW
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Writer (show other bugs)
Version:
(earliest affected)
6.0.7.3 release
Hardware: All All
: low minor
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: Multi-Page-View
  Show dependency treegraph
 
Reported: 2019-05-17 09:00 UTC by Daniel T.
Modified: 2022-05-06 06:58 UTC (History)
4 users (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Daniel T. 2019-05-17 09:00:32 UTC
When zooming in/out or showing/hiding the Navigator (F5 click) in muliple-page view mode – as well as, probably, in other cases too – and when, as a result, the working area is (or is no longer) wide enough to accommodate two pages, the page displayed before is no longer shown. Often one sees last page of the document. With long files this becomes very cumbersome and annoying, since one needs to again find the location one was looking at or working with.  

To reproduce:

1. Switch to multiple-page view.
2. Zoom out so that the width of the working area would just fit two pages.
3. Open Navigator pane (F5) -> one page is shown [expected, since 2 pages would no longer fit].
4. Move cursor to the middle of a relatively long doc.
5. Close Navigator pane.

Result:

1. Two pages are visible again [expected]
2. But the last page of the document is shown.

Expected behaviour:

The current page, where the cursor is show be shown.
Comment 1 Dieter 2019-06-02 15:05:38 UTC Comment hidden (obsolete)
Comment 2 Daniel T. 2019-06-02 16:27:26 UTC
I can reproduce the bug also in the fresh version (6.2.4.2).

There are also other ways to lose focus in addition to the one scenario I describe above. For example, you could close the Navigator so that two pages can fit and the focus of current cursor location is lost (last page is shown, I assume because my cursor has been somewhere in the second half of the document).
Comment 3 Dieter 2019-06-02 16:50:19 UTC Comment hidden (obsolete)
Comment 4 Dieter 2019-06-02 19:02:09 UTC
Can't confirm it with

Version: 6.3.0.0.beta1 (x64)
Build-ID: a187af327633f5f00363be5131bd21a13e0f1a7b
CPU-Threads: 4; BS: Windows 10.0; UI-Render: Standard; VCL: win; 
Gebietsschema: en-US (de_DE); UI-Sprache: de-DE
Calc: threaded

and not with

Version: 6.2.4.2 (x64)
Build-ID: 2412653d852ce75f65fbfa83fb7e7b669a126d64
CPU-Threads: 4; BS: Windows 10.0; UI-Render: Standard; VCL: win; 
Gebietsschema: de-DE (de_DE); UI-Sprache: de-DE
Calc: threaded
Comment 5 Daniel T. 2019-06-02 19:48:10 UTC
I tested on Linux (Kubuntu 18.04).
Comment 6 Buovjaga 2019-08-25 14:37:18 UTC
Not reproduced. Maybe the new KDE Frameworks 5 UI of LibreOffice fixed it. Trying with 6.3.x is recommended (but Kubuntu 18 won't ship it)

Arch Linux 64-bit
Version: 6.4.0.0.alpha0+
Build ID: b9a776837462eeb6d50d0decc42604c0c3008eb1
CPU threads: 8; OS: Linux 5.2; UI render: default; VCL: kf5; 
Locale: fi-FI (fi_FI.UTF-8); UI-Language: en-US
Calc: threaded
Built on 11 August 2019
Comment 7 Xisco Faulí 2019-09-26 11:59:33 UTC Comment hidden (obsolete)
Comment 8 QA Administrators 2020-03-25 02:40:56 UTC Comment hidden (obsolete)
Comment 9 QA Administrators 2020-04-25 03:39:18 UTC Comment hidden (obsolete)
Comment 10 Daniel T. 2020-04-25 19:23:11 UTC
I can still reproduce the bug in the current version (Version: 6.3.5.2).
Comment 11 Dieter 2020-05-01 06:31:33 UTC
(In reply to Daniel T. from comment #10)
> I can still reproduce the bug in the current version (Version: 6.3.5.2

I also can confirm with

Version: 6.3.5.2 (x64)
Build-ID: dd0751754f11728f69b42ee2af66670068624673
CPU-Threads: 4; BS: Windows 10.0; UI-Render: Standard; VCL: win; 
Gebietsschema: de-DE (de_DE); UI-Sprache: de-DE
Calc: threaded

and also with

Version: 7.0.0.0.alpha0+ (x64)Build ID: 8c8b3a4f83f67882b284ddc3b3fe10d3fe6dedf4CPU threads: 4; OS: Windows 10.0 Build 18363; UI render: Skia/Raster; VCL: win; Locale: de-DE (de_DE); UI-Language: en-GBCalc: CL

Additional informations:
I have opened navigator in sidebar, because floating navigator (F5) is only in front of the two pages (at least in my case)
It's important to follow the steps. If you move cursor to somewhre in the middle of the document, before opeing navigator, it works as expected
I'v tried with a document of 30 pages
Comment 12 QA Administrators 2022-05-02 03:36:27 UTC Comment hidden (obsolete)
Comment 13 Dieter 2022-05-06 06:58:26 UTC
Still present in

Version: 7.4.0.0.alpha0+ (x64) / LibreOffice Community
Build ID: 83d0f2eebae41d431d9a5bfd1a918523977752d0
CPU threads: 4; OS: Windows 10.0 Build 19044; UI render: Skia/Raster; VCL: win
Locale: de-DE (de_DE); UI: en-GB
Calc: CL

Could reproduce in a document with 20 pages, but not in a document with 10 pages.