Bug 152440 - BOOK VIEW: Switching page view to book view or from book view results in a switch to a semi-random page
Summary: BOOK VIEW: Switching page view to book view or from book view results in a sw...
Status: NEW
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Writer (show other bugs)
Version:
(earliest affected)
7.4.3.2 release
Hardware: All All
: medium minor
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: Writer-View-Jumps
  Show dependency treegraph
 
Reported: 2022-12-09 17:23 UTC by rferraro
Modified: 2022-12-27 02:16 UTC (History)
4 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 rferraro 2022-12-09 17:23:15 UTC
Description:
Switching between single page view and multiple page view remains at the page you are on but when you select book view or page preview it goes to what seems to be a random page. The same happens when in book view and you go to single or multiple page view. 
Also, when you exit page preview it would be nice if within the document it exits at the page you are at. Instead, it seems to go to a random page just as when switching views in the top paragraph. I am working with a 1,600-page document and it makes it very clumsy to work with.

Actual Results:
You just have to switch page views in the bottom status bar.

Expected Results:
It goes to random pages.


Reproducible: Always


User Profile Reset: No

Additional Info:
It has been occurring for as long as I have been using Writer - a couple of years. So, it has been in all the versions.
Comment 1 Dieter 2022-12-24 12:42:29 UTC
I confirm it with

Version: 7.4.4.1 (x64) / LibreOffice Community
Build ID: 988f4a351a6fa8cf4bdf2bdc873ca12cf8cbe625
CPU threads: 4; OS: Windows 10.0 Build 19045; UI render: Skia/Raster; VCL: win
Locale: de-DE (de_DE); UI: en-GB
Calc: CL

Single page -> multi-page: OK.
Multi-page -> single-page: OK.
Single-page -> Book View: view jumps to a total different page
Book View -> single-page: view jumps to a total different page
Book view -> multiple-page: view jumps to a total different page
Multiple-page -> Book view: view jumps to total different page
Comment 2 V Stuart Foote 2022-12-24 18:47:17 UTC
@Jim, any hints to make this easy-hackable?
Comment 3 Jim Raykowski 2022-12-27 02:16:46 UTC
(In reply to V Stuart Foote from comment #2)
> @Jim, any hints to make this easy-hackable?
If we want to make the page the cursor is on be a visible page in the view when the modes are switched I would investigate the removal of LockView and as an aside LockPaint in the SwView::SetViewLayout function[1].

[1] sw/source/uibase/uiview/viewmdi.cxx