Bug 146046 - UI: Page layout Paper size drop down empty depending on printer
Summary: UI: Page layout Paper size drop down empty depending on printer
Status: UNCONFIRMED
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: UI (show other bugs)
Version:
(earliest affected)
7.4.0.0 alpha0+
Hardware: All All
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: Print-Dialog
  Show dependency treegraph
 
Reported: 2021-12-04 13:49 UTC by Telesto
Modified: 2022-12-04 03:52 UTC (History)
4 users (show)

See Also:
Crash report or crash signature:


Attachments
Example file (12.25 KB, application/vnd.oasis.opendocument.text)
2021-12-04 13:49 UTC, Telesto
Details
Screenshot (77.09 KB, image/jpeg)
2021-12-04 16:25 UTC, Telesto
Details
Printscreen from Linux (181.73 KB, image/png)
2021-12-04 17:47 UTC, raal
Details
146046_repro_win10_libreoffice7432 (103.38 KB, image/png)
2022-12-03 03:28 UTC, sockseight
Details
146046_repro_debian11_libreoffice_7500_alpha1 (101.24 KB, image/png)
2022-12-03 03:29 UTC, sockseight
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Telesto 2021-12-04 13:49:19 UTC
Description:
UI: Page layout Paper size drop down empty

Steps to Reproduce:
1. Open the attached file
2. Press Print button
3. look at page layout drop down

Actual Results:
Empty

Expected Results:
No clue how this should work; see bug 15354


Reproducible: Always


User Profile Reset: No



Additional Info:
Version: 7.4.0.0.alpha0+ (x64) / LibreOffice Community
Build ID: ddc57169ac8d1de00403dbb09fef5221beaa0f3d
CPU threads: 4; OS: Windows 6.3 Build 9600; UI render: Skia/Raster; VCL: win
Locale: nl-NL (nl_NL); UI: en-US
Calc: CL
Comment 1 Telesto 2021-12-04 13:49:41 UTC
Created attachment 176692 [details]
Example file
Comment 2 raal 2021-12-04 15:31:27 UTC
Can you attach print screen? I doesn't see page layout drop down
Comment 3 Telesto 2021-12-04 16:25:48 UTC
Created attachment 176697 [details]
Screenshot
Comment 4 Telesto 2021-12-04 16:29:43 UTC
FWIW: same madness with different printers giving different results as bug 145354 

I kind of suggested to remove both bug 146047 comment 3 (Paper Size/Orientation) in Print dialog (introduced with 6.3). Being that unreliable and likely never to be working properly. At least that's how I interpret bug 145354
Comment 5 raal 2021-12-04 17:47:48 UTC
Created attachment 176698 [details]
Printscreen from Linux

Works in Linux
Version: 7.4.0.0.alpha0+ / LibreOffice Community
Build ID: ba7db98cca3d8516697c94ef0d6af27db9e1655e
CPU threads: 4; OS: Linux 5.11; UI render: default; VCL: gtk3
Locale: cs-CZ (cs_CZ.UTF-8); UI: en-US
Calc: threaded
Comment 6 Telesto 2021-12-04 17:56:16 UTC
(In reply to raal from comment #5)
You likely need to try multiple 'printers' 

-> Epson 3520  ->  Fails
-> Canon 4500 -> Fails
-> Microsoft XPS printer -> Letter paper size
-> PDF creator -> Fine
-> Fax -> Fine

The arbitrariness is the main flaw
Comment 7 Telesto 2021-12-06 09:46:10 UTC
Well this probably another case of mismatch. Here the in document defined Page size isn't available at the Printer list of supported pages.

Instead of empty the nearest paper size matching the document defined page size should be used? I suppose this happens actually happens when printing something with page size the Printer can't handle?
Comment 8 Heiko Tietze 2021-12-06 10:00:16 UTC
I guess the page format is matched with the printer capabilities and you just cannot print C5 on your Epson neither the Canon. It sounds like an artificial corner case to me.
Comment 9 Telesto 2021-12-06 10:10:55 UTC
(In reply to Heiko Tietze from comment #8)
> I guess the page format is matched with the printer capabilities and you
> just cannot print C5 on your Epson neither the Canon. It sounds like an
> artificial corner case to me.

They case here, presented here, sure.. However, there likely some setup where this result will be produced in real live
Comment 10 Rainer Bielefeld Retired 2021-12-07 06:30:30 UTC
I ma not sure what the problem is:
a) Empty line shown for paper size, but there are paper size entries in
   the drop down which can be selected!
b) Dropdown empty, click on "\/" only shows empty selection area
?
Comment 11 sockseight 2022-12-03 03:28:30 UTC
Created attachment 183968 [details]
146046_repro_win10_libreoffice7432

146046_if_reproducible_win10_libreoffice7432
Comment 12 sockseight 2022-12-03 03:29:55 UTC
Created attachment 183969 [details]
146046_repro_debian11_libreoffice_7500_alpha1

146046_if_reproducible_debian11_libreoffice_7500_alpha1
Comment 13 sockseight 2022-12-03 03:40:57 UTC
Following are the steps performed recently,


Steps:
01) open the attached example file.
02) click on the "Print" button.
03) in the "Print" dialog that appears look at -> "Page Layout" -> "Paper Size:"


Actual Result:
on windows 10 default value is shown -> "Letter 216mmx279mm"
on debian 11 default value is show -> "C5 Envelope 162mmx229mm"

more info available in screenshot(s).

Tested in version:

Version: 7.4.3.2 (x64) / LibreOffice Community
Build ID: 1048a8393ae2eeec98dff31b5c133c5f1d08b890
CPU threads: 8; OS: Windows 10.0 Build 19044; UI render: Skia/Raster; VCL: win
Locale: en-IN (en_IN); UI: en-US
Calc: threaded

Version: 7.5.0.0.alpha1+ (X86_64) / LibreOffice Community
Build ID: 982f9ec1e07364e317fbcd25f1ef06f984cc0ce8
CPU threads: 3; OS: Linux 5.10; UI render: default; VCL: gtk3
Locale: en-IN (en_IN); UI: en-US
Calc: threaded


Hello,

Thank you for reporting the bug. Can you please confirm if the issue still exists in the latest build?


Could you please try to reproduce it with a master build from https://dev-builds.libreoffice.org/daily/master/ ?
You can install it alongside the standard version.

I have set the bug's status to 'NEEDINFO'. Please change it back to 'UNCONFIRMED' if the bug is still present in the master build.
Comment 14 Telesto 2022-12-03 15:59:23 UTC
Still present for me
Version: 7.5.0.0.alpha1+ (X86_64) / LibreOffice Community
Build ID: ce60a3dd4dbff0dcb5b82c9053ae5d90f8ac929d
CPU threads: 4; OS: Windows 6.3 Build 9600; UI render: Skia/Raster; VCL: win
Locale: nl-NL (nl_NL); UI: en-US
Calc: CL threaded

with
Canon iP4600
Epson WF-3520

Fine with
PDFCreater PDF printer
Comment 15 QA Administrators 2022-12-04 03:52:22 UTC Comment hidden (obsolete)