Bug 76143 - Many missing / wrong paper sizes in the Print Preview
Summary: Many missing / wrong paper sizes in the Print Preview
Status: NEW
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: UI (show other bugs)
Version:
(earliest affected)
4.2.1.1 release
Hardware: All Windows (All)
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
: 76144 76187 (view as bug list)
Depends on:
Blocks: Print-Dialog
  Show dependency treegraph
 
Reported: 2014-03-13 21:50 UTC by A (Andy)
Modified: 2024-11-18 03:15 UTC (History)
1 user (show)

See Also:
Crash report or crash signature:


Attachments
size set to screen 16:9 but the printer preview paper size still marked as A4 (182.09 KB, image/png)
2020-01-09 03:39 UTC, Franklin Weng
Details
size set to screen 4:3 but the printer preview paper size still marked as A4 (204.58 KB, image/png)
2020-01-09 03:39 UTC, Franklin Weng
Details

Note You need to log in before you can comment on or make changes to this bug.
Description A (Andy) 2014-03-13 21:50:48 UTC
Problem Description: Many missing / wrong paper sizes in the Print Preview (according to standards like DIN/ISO ...).
This seems to be mixed up and needs a revision.  Because of the many (from my point of view) mistakes this bug report is unfortunately very long.

Steps to Reproduce:
1. Open WRITER
2. Go to FILE -> PRINT
Interim Result: The left section shows the paper size A4 at the top and the correct height and width.

3. Go to FORMAT -> PAGE -> tab PAGE
4. Change the Paper Size to A5 and press OK
Interim Result: It shows the correct height and width.

5. Go to FILE -> PRINT
Interim Result: The left section does not show the paper size A5 at the top and it also does not show the correct width (149mm instead of 148 mm).

6. Go to FORMAT -> PAGE -> tab PAGE
7. Change the Paper Size to A6 and press OK
Interim Result: It shows the correct height and width.

8. Go to FILE -> PRINT
Interim Result: The left section does not show the paper size A6 at the top and it also does not show the correct height (149mm instead of 148 mm).

9. Go to FORMAT -> PAGE -> tab PAGE
10. Change the Paper Size to B6 (ISO) and press OK
Interim Result: It shows the correct height and width.

11. Go to FILE -> PRINT
Interim Result: The left section does not show the paper size B6 (ISO) at the top and it also does not show the correct height and width (105mm x 149mm instead of 125 mm x 176 mm).

12. Go to FORMAT -> PAGE -> tab PAGE
13. Change the Paper size to B5 (ISO) and press OK
Interim Result: It shows the correct height and width.

14. Go to FILE -> PRINT
Interim Result: The left section does not show the paper size B5 (ISO) at the top but wrongly "Executive" and it also does not show the correct height and width (184mm x 267mm instead of 176 mm x 250 mm).

15. Go to FORMAT -> PAGE -> tab PAGE
16. Change the Paper Size to B4 (ISO) and press OK
Interim Result: It shows the correct height and width.

17. Go to FILE -> PRINT
Interim Result: The left section does not show the paper size B4 (ISO) at the top but wrongly "Legal" and it also does not show the correct height and width (216mm x 356mm instead of 250 mm x 353 mm).

Note: I stop at this point, because the bug report gets to long.  I will test the other paper sizes later.

Expected Behavior:
The Print Preview should show the (correct) paper size data.
It works ok for the paper sizes A4 and A3.
Comment 1 A (Andy) 2014-03-14 21:37:22 UTC
see also Bug 76144
Comment 2 Caolán McNamara 2014-04-03 15:58:57 UTC
*** Bug 76144 has been marked as a duplicate of this bug. ***
Comment 3 Caolán McNamara 2014-04-03 15:59:38 UTC
*** Bug 76187 has been marked as a duplicate of this bug. ***
Comment 4 Caolán McNamara 2014-04-03 16:08:29 UTC
Click on "properties" for your printer and examine the list of paper sizes that your printer reports it has input slots for.

If a format->page paper size isn't available then LibreOffice will try and print it on the next most suitable size. So showing a preview of a larger size sheet of paper is not a bug as long as the printer doesn't actually handle the desired paper size.

Some of these reports list that a smaller paper is being selected though, which is potentially worrying. Can I get the make and model of the printer ?
Comment 5 A (Andy) 2014-04-03 20:01:39 UTC
@Caolán: Thank you very much for your fast reply.  Your comment already helps.  This means also that this is a printer issue and not a LO issue?
I have no real installed printer, but I experienced this with the pdf printer PDF24 Creator (PDF24 PDF).  If I change it to Microsoft XPS Document Writer then the preview seems to be correct.
Comment 6 Caolán McNamara 2014-04-04 15:39:13 UTC
Well, I've have a look through these now. (See http://en.pdf24.org/forum/about782.html btw). I have the pdf24 .ppd here now and...
"
5. Go to FILE -> PRINT
Interim Result: The left section does not show the paper size A5 at the top and it also does not show the correct width (149mm instead of 148 mm).
"
is a tiny bug in pdf24 IMO, the ppd has..

*PageSize A5:                   "<</PageSize[421 595]/ImagingBBox null>>setpagedevice"
and it should be
*PageSize A5:                   "<</PageSize[420 595]/ImagingBBox null>>setpagedevice"

(https://www.cl.cam.ac.uk/~mgk25/iso-paper-ps.txt)
Comment 7 Caolán McNamara 2014-04-04 16:23:26 UTC
http://partners.adobe.com/public/developer/en/ps/5003.PPD_Spec_v4.3.pdf

"8. Go to FILE -> PRINT Interim Result: The left section does not show the
paper size A6 at the top and it also does not show the correct height (149mm
instead of 148 mm)."
bug on pdf24 side:
*PageSize A6:                   "<</PageSize[297 421]/ImagingBBox null>>setpagedevice"
should be
*PageSize A6:                   "<</PageSize[297 420]/ImagingBBox null>>setpagedevice"

"11. Interim Result: The left section does not show the paper size B6 (ISO) at
the top and it also does not show the correct height and width (105mm x 149mm
instead of 125 mm x 176 mm)."

hmm, here on Linux I get A4 as the chosen printer-side paper size which
is bigger than the unavailable B6 (ISO) sheet, so that's ok for me.


"14. Interim Result: The left section does not show the paper size B5 (ISO) at
the top but wrongly "Executive" and it also does not show the correct height
and width (184mm x 267mm instead of 176 mm x 250 mm)."

That's ok, it's the next biggest sheet size after the unavailable B5 (ISO) paper
size.

"17. Go to FILE -> PRINT
Interim Result: The left section does not show the paper size B4 (ISO) at the top but wrongly "Legal" and it also does not show the correct height and width (216mm x 356mm instead of 250 mm x 353 mm)."

hmm, potential bug here I guess. Ideally we should presumably pick the next biggest size. Instead we are picking the size that is "least different" to the requested size and we end up with a somewhat smaller size. I'll have to think about that. I mean if the difference is super tiny, e.g. a few mm, then a smaller size is probably a better idea then e.g. suddenly printing on A0 size but is 3.4cm a bridge too far.
Comment 8 QA Administrators 2015-06-08 14:42:19 UTC Comment hidden (obsolete)
Comment 9 QA Administrators 2016-09-20 10:01:22 UTC Comment hidden (obsolete)
Comment 10 Franklin Weng 2020-01-09 03:37:47 UTC
I believe that this is the same issue in Impress.

Version: 6.3.4.2
Build ID: 60da17e045e08f1793c57c00ba83cdfce946d0aa
CPU threads: 4; OS: Linux 5.3; UI render: default; VCL: kde5; 
Locale: zh-TW (zh_TW.UTF-8); UI-Language: en-US
Calc: threaded

1. Selecting Slide - Format in sidebar Properties as "Screen 16:9", then open File - Printer.  You can see the Page Layout - Papersize at the right side is A4 210mmx297mm, but the preview in the left is 267mmx184mm but still marked as A4.

2, Selecting Slide - Format in sidebar Properties as "Screen 4:3", then open File - Printer.  You can see the preview in the left is 279mmx216mm but still marked as A4.

several screenshots will be attached soon.
Comment 11 Franklin Weng 2020-01-09 03:39:08 UTC
Created attachment 157028 [details]
size set to screen 16:9 but the printer preview paper size still marked as A4
Comment 12 Franklin Weng 2020-01-09 03:39:53 UTC
Created attachment 157029 [details]
size set to screen 4:3 but the printer preview paper size still marked as A4
Comment 13 QA Administrators 2022-11-18 03:36:24 UTC Comment hidden (obsolete)
Comment 14 QA Administrators 2024-11-18 03:15:42 UTC
Dear A (Andy),

To make sure we're focusing on the bugs that affect our users today, LibreOffice QA is asking bug reporters and confirmers to retest open, confirmed bugs which have not been touched for over a year.

There have been thousands of bug fixes and commits since anyone checked on this bug report. During that time, it's possible that the bug has been fixed, or the details of the problem have changed. We'd really appreciate your help in getting confirmation that the bug is still present.

If you have time, please do the following:

Test to see if the bug is still present with the latest version of LibreOffice from https://www.libreoffice.org/download/

If the bug is present, please leave a comment that includes the information from Help - About LibreOffice.
 
If the bug is NOT present, please set the bug's Status field to RESOLVED-WORKSFORME and leave a comment that includes the information from Help - About LibreOffice.

Please DO NOT

Update the version field
Reply via email (please reply directly on the bug tracker)
Set the bug's Status field to RESOLVED - FIXED (this status has a particular meaning that is not 
appropriate in this case)


If you want to do more to help you can test to see if your issue is a REGRESSION. To do so:
1. Download and install oldest version of LibreOffice (usually 3.3 unless your bug pertains to a feature added after 3.3) from https://downloadarchive.documentfoundation.org/libreoffice/old/

2. Test your bug
3. Leave a comment with your results.
4a. If the bug was present with 3.3 - set version to 'inherited from OOo';
4b. If the bug was not present in 3.3 - add 'regression' to keyword


Feel free to come ask questions or to say hello in our QA chat: https://web.libera.chat/?settings=#libreoffice-qa

Thank you for helping us make LibreOffice even better for everyone!

Warm Regards,
QA Team

MassPing-UntouchedBug