Bug 94342 - PRINTING: Printing certain page layouts (brochure/multiple pages-per-sheet) should enable fields for setting page size/orientation
Summary: PRINTING: Printing certain page layouts (brochure/multiple pages-per-sheet) s...
Status: RESOLVED NOTABUG
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Printing and PDF export (show other bugs)
Version:
(earliest affected)
5.0.0.5 release
Hardware: Other All
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: Print-Dialog
  Show dependency treegraph
 
Reported: 2015-09-18 15:24 UTC by tmacalp
Modified: 2020-11-19 18:19 UTC (History)
5 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 tmacalp 2015-09-18 15:24:16 UTC
Since changing the print dialog's page layout (brochure/multiple pages-per-sheet/fit-to-page/distribute/etc...) disassociates the document's page size with the paper size/orientation, these fields need to be made active when the page layout changes.

Since LibreOffice 4.1-ish, the print properties dialog's paper size and orientation fields have been ignored unless you first enable "Use only paper size from printer preferences," which is hidden under the Options tab of the main print dialog.  Starting in LibreOffice 5.0, the paper size and orientation fields are now disabled (greyed out) and can not be set without first checking "Use only paper size from printer preferences."

Unfortunately, these settings are still grayed out when you choose an alternate page layout, even though these page layouts don't directly rely on the page size.  At least, when using those page layouts, paper size/orientation are still being honored, but users have no easy/intuitive way to change them.

This affects printing in Writer (brochure/multiple pages per sheet), Draw/Impress (fit-to-page, distribute on multiple sheets, tile sheet), and Calc (pages-per-sheet).

Steps to reproduce:
1. New Writer document
2. File -> Print
3. Page Layout tab
4. Brochure mode
5. General Tab
6. Properties

Expected:
Paper size and Orientation should be active (not greyed out).

Actual:
Paper size and Orientation are greyed out.

Notes:
This wouldn't be as much of a problem if there was an easy intuitive way to make those fields active.  One way to do that would be to simply move "Use only paper size from printer preferences" from the Options tab on the main printing dialog to be adjacent to the fields it modifies.

I've tested this behavior on LibreOffice 5.0.0.5 and 5.0.2.1 using 64bit Fedora 20.
Comment 1 Taka 2015-10-22 10:34:38 UTC
I confirmed this bug in LibreOffice 5.0.2.2.
This bug might be serious because the option "Use only ..." is not kept and one need to set it every time one wants to print on paper size other than letter.
Actually, this bug is very annoying to me in Japan.
Comment 2 Buovjaga 2015-10-24 16:41:11 UTC
NEW per comment 1.

The design team has been planning print dialog changes.

http://listarchives.libreoffice.org/global/design/

See Improving printing UX and discuss in mailing list, if you want..
Comment 3 QA Administrators 2017-03-06 15:46:14 UTC Comment hidden (obsolete)
Comment 4 tmacalp 2017-03-10 15:59:49 UTC
I tested this under LO 5.3.0 and there is no change in behavior.  The fields are still greyed out.
Comment 5 QA Administrators 2018-10-09 02:53:01 UTC Comment hidden (obsolete)
Comment 6 Julien Nabet 2019-11-11 10:31:41 UTC
On pc Debian x86-64 with master sources updated today or with LO Debian package 6.3.3, I don't see "Page Layout tab".
Could you give a try to a recent LO version, 6.3.3 or ideally daily build from master source (see https://dev-builds.libreoffice.org/daily/master/) since print dialog has been revamped for future 6.4.0 ?
Comment 7 Buovjaga 2019-11-11 10:35:45 UTC
(In reply to Julien Nabet from comment #6)
> On pc Debian x86-64 with master sources updated today or with LO Debian
> package 6.3.3, I don't see "Page Layout tab".
> Could you give a try to a recent LO version, 6.3.3 or ideally daily build
> from master source (see https://dev-builds.libreoffice.org/daily/master/)
> since print dialog has been revamped for future 6.4.0 ?

It is all now in the General tab under "Page Layout" section. If you activate Brochure, Paper size can be selected, but Orientation cannot.

Arch Linux 64-bit
Version: 6.4.0.0.alpha1+
Build ID: d628258f279d003ba4e11f1f7e2e69273acd008c
CPU threads: 8; OS: Linux 5.3; UI render: default; VCL: kf5; 
Locale: fi-FI (fi_FI.UTF-8); UI-Language: en-US
Calc: threaded
Built on 9 November 2019
Comment 8 Julien Nabet 2019-11-11 10:56:31 UTC
(In reply to Buovjaga from comment #7)
> ...
> It is all now in the General tab under "Page Layout" section. If you
> activate Brochure, Paper size can be selected, but Orientation cannot.
> ...

Dumb me! You're right, I could reproduce this on pc Debian x86-64 with master sources updated today.
Comment 9 Julien Nabet 2019-11-11 11:09:35 UTC
With this straightforward patch:
diff --git a/vcl/source/window/printdlg.cxx b/vcl/source/window/printdlg.cxx
index 079ce29ebb6f..a2db32da7a28 100644
--- a/vcl/source/window/printdlg.cxx
+++ b/vcl/source/window/printdlg.cxx
@@ -1809,7 +1809,6 @@ IMPL_LINK(PrintDialog, ClickHdl, weld::Button&, rButton, void)
         }
         if( mxBrochureBtn->get_active() )
         {
-            mxOrientationBox->set_sensitive( false );
             mxOrientationBox->set_active( ORIENTATION_LANDSCAPE );
             mxNupPagesBox->set_active( 0 );
             updateNupFromPages();

it allows orientation box to be enabled when clicking "Brochure".

Daniel: even commit 07e4261ceaea31a20ab2bc1a76df722ed0bd54c4 is from 2018 and this bug is older, would you have some idea about this part?
I mean perhaps we don't want to allow user to change orientation when clicking brochure for a good reason I ignore?

Heiko/Xisco: as UX refs, you might also be interested in this one.
Comment 10 Julien Nabet 2019-11-11 11:24:01 UTC
(In reply to Julien Nabet from comment #9)
> ...
>              mxOrientationBox->set_active( ORIENTATION_LANDSCAPE );
> ...
Also, why to force orientation to Landscape? I took a look at https://wiki.openoffice.org/wiki/Documentation/OOoAuthors_User_Manual/Writer_Guide/Printing_a_brochure which must be a bit old but which only tells printing orientation should follow page setup orientation.

If we let enabled orientation box, should we add some check about orientation value?
Comment 11 sdc.blanco 2020-11-18 12:43:34 UTC
I believe this bug is a duplicate of bug 55650.

See bug 55650, comment 7, where it is explained that LO is not designed for mixed page orientation.  

Accordingly the Orientation field is greyed out (and still is in 7.1). This design feature is implied indirectly in the documentation.
 
    When you create a document that you want to print as a brochure, 
    use portrait orientation for the pages. Writer applies the 
    brochure layout when you print the document.

But Page Size can be selected.

I will leave it to others to decide if this bug should be marked as a duplicate.
Comment 12 Buovjaga 2020-11-18 13:09:37 UTC
Pending UX input for these:

(In reply to Julien Nabet from comment #9)
> Daniel: even commit 07e4261ceaea31a20ab2bc1a76df722ed0bd54c4 is from 2018
> and this bug is older, would you have some idea about this part?
> I mean perhaps we don't want to allow user to change orientation when
> clicking brochure for a good reason I ignore?
> 
> Heiko/Xisco: as UX refs, you might also be interested in this one.

(In reply to Julien Nabet from comment #10)
> (In reply to Julien Nabet from comment #9)
> > ...
> >              mxOrientationBox->set_active( ORIENTATION_LANDSCAPE );
> > ...
> Also, why to force orientation to Landscape? I took a look at
> https://wiki.openoffice.org/wiki/Documentation/OOoAuthors_User_Manual/
> Writer_Guide/Printing_a_brochure which must be a bit old but which only
> tells printing orientation should follow page setup orientation.
> 
> If we let enabled orientation box, should we add some check about
> orientation value?
Comment 13 Heiko Tietze 2020-11-19 13:14:52 UTC
(In reply to Julien Nabet from comment #9)
>              mxOrientationBox->set_active( ORIENTATION_LANDSCAPE );

https://help.libreoffice.org/latest/en-US/text/swriter/guide/print_brochure.html

What is a brochure in portrait orientation? I don't see a reason why this option needs to be changed.
Comment 14 Julien Nabet 2020-11-19 18:19:00 UTC
Ok so let's put NOTABUG then.