Bug 152976 - Print preview should start with right page, if document is in book view mode
Summary: Print preview should start with right page, if document is in book view mode
Status: NEW
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Writer (show other bugs)
Version:
(earliest affected)
6.0.7.3 release
Hardware: All All
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: Print-Preview
  Show dependency treegraph
 
Reported: 2023-01-11 11:22 UTC by Paco
Modified: 2023-02-06 11:39 UTC (History)
2 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 Paco 2023-01-11 11:22:07 UTC
Description:
When you preview two pages at once, Write always puts the first page of the document on the left, regardless of whether the style is right page or left page.
This is not correct. The preview should respect the left/right styling, in order to see the pairs of pages correctly.

Actual Results:
When you preview two pages at once, Write always puts the first page of the document on the left, regardless of whether the style is right page or left page.
This is not correct. 

Expected Results:
The preview should respect the left/right styling, in order to see the pairs of pages correctly.


Reproducible: Always


User Profile Reset: No

Additional Info:
[Information automatically included from LibreOffice]
Locale: es
Module: TextDocument
[Information guessed from browser]
OS: Linux (All)
OS is 64bit: yes
Comment 1 Dieter 2023-01-27 07:29:42 UTC
I confirm the described behaviour with

Version: 7.6.0.0.alpha0+ (X86_64) / LibreOffice Community
Build ID: 1c638b7ac46d8077994c8483e6becc4a33efd12b
CPU threads: 4; OS: Windows 10.0 Build 19045; UI render: Skia/Raster; VCL: win
Locale: en-US (de_DE); UI: en-GB
Calc: CL threaded

I would expect, that print preview show left and right pages at least in the following settings:
a) Document is edited in book view
b) Page style has "Left Page" and "Right" page

Not sure, if this is a bug or enhancement request.
Heiko, what do you think?
Comment 2 Heiko Tietze 2023-01-31 08:04:36 UTC
We have a two-pages preview with one always on the left and a book mode that starts right (odd pages left). Is the problem to run the preview in the same mode as the editing?
Comment 3 Dieter 2023-02-01 07:18:16 UTC
(In reply to Heiko Tietze from comment #2)
> We have a two-pages preview with one always on the left and a book mode that
> starts right (odd pages left). Is the problem to run the preview in the same
> mode as the editing?

Yes, print preview should start with right page, if document view is book mode

First I thought, that it would also a good idea to have print preview with right page at the start, if document also contains left and right page styles. But of course there might be situations, where page style aren' used correctly. So I've changed bug summary and hope you agree.
Comment 4 Heiko Tietze 2023-02-01 08:39:59 UTC
If we make the view modes dependent what should happen if the preview is changed from book mode to single page, change the edit view then as well?
Comment 5 Dieter 2023-02-01 15:46:17 UTC
I've just realized, that print preview is always in multiple-page view and it's impossible to change it.
So feature request is, that view-mode in print preview should follow view mode in edit mode.
Comment 6 Dieter 2023-02-04 06:41:15 UTC
Having a look at bug 153127, I realized print preview toolbar for the first time. So using this toolbar, it is of course possible to have book view as preview. But some users (at least I) might be focused on icons in status bar. So I'd like to suggest

1. Remove view mode icons in status bar, because you can't change them and the selected multi-page-view indicates something wrong, if you change view mode in toolbar

2. Change current behaviour

a) Document is in single view
Actual: Two-pages-preview and Book Preview off
Expected: Single-Page preview and Book Preview off

b) Document is in Multi-page view
Actual and expected result: Two-pages-preview and Book Preview off

c) Document is in Book view
Actual: Two-pages-preview and Book Preview off
Expected: Two-pages-preview and Book Preview on
Comment 7 Heiko Tietze 2023-02-06 11:39:30 UTC
(In reply to Dieter from comment #6)
> 1. Remove view mode icons in status bar
bug 148441

> 2. Change current behaviour
Not against