Bug 129179 - UI Print dialog page sizes list has redundant items
Summary: UI Print dialog page sizes list has redundant items
Status: NEW
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Writer (show other bugs)
Version:
(earliest affected)
6.3 all versions
Hardware: All All
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords: bibisectRequest, regression
Depends on:
Blocks: Print-Dialog
  Show dependency treegraph
 
Reported: 2019-12-04 13:15 UTC by NISZ LibreOffice Team
Modified: 2024-04-15 12:02 UTC (History)
4 users (show)

See Also:
Crash report or crash signature:


Attachments
Synthetic screenshot of the paper sizes list. (292.97 KB, image/png)
2019-12-04 13:16 UTC, NISZ LibreOffice Team
Details
Exampe file (76.80 KB, application/vnd.oasis.opendocument.graphics)
2019-12-04 13:18 UTC, NISZ LibreOffice Team
Details
Full list (43.01 KB, image/png)
2020-02-18 10:28 UTC, Heiko Tietze
Details
print paper size duplicates (25.57 KB, image/png)
2023-09-21 03:50 UTC, Kira Tubo
Details

Note You need to log in before you can comment on or make changes to this bug.
Description NISZ LibreOffice Team 2019-12-04 13:15:56 UTC
Description:
In the new Print dialog since 6.3 it is now possible to set a custom paper size. This list of possible paper sizes contains several items multiple times.

Steps to Reproduce:
1.	Open the Print dialog
2.	Check the list under Paper size


Actual Results:
The list contains several items multiple times

Expected Results:
Every item should be present only once


Reproducible: Always


User Profile Reset: No



Additional Info:
LibreOffice details:
Version: 6.5.0.0.alpha0+ (x64)
Build ID: 7e09d08807b5ba2fd8b9831557752a415bdad562
CPU threads: 4; OS: Windows 6.3 Build 9600; UI render: default; VCL: win; 
Locale: en-US (hu_HU); UI-Language: en-US
Calc: CL
Comment 1 NISZ LibreOffice Team 2019-12-04 13:16:28 UTC
Created attachment 156293 [details]
Synthetic screenshot of the paper sizes list.
Comment 2 NISZ LibreOffice Team 2019-12-04 13:16:55 UTC
Comment on attachment 156293 [details]
Synthetic screenshot of the paper sizes list.

The yellow rectangle hides the part overlapping the part already shown on the center images lower half
Comment 3 NISZ LibreOffice Team 2019-12-04 13:18:43 UTC
Created attachment 156294 [details]
Exampe file
Comment 4 Durgapriyanka 2019-12-04 16:26:56 UTC
Thank you for reporting the bug. I can confirm the bug present in

Version: 6.4.0.0.alpha1+ (x86)
Build ID: ec7374ff84c71edfbb30d6e4dc5b486b6df7107f
CPU threads: 2; OS: Windows 6.1 Service Pack 1 Build 7601; UI render: default; VCL: win; 
TinderBox: Win-x86@42, Branch:master, Time: 2019-11-10_21:37:30
Locale: en-US (en_US); UI-Language: en-US
Calc: threaded
Comment 5 Gabor Kelemen (allotropia) 2020-02-10 14:09:49 UTC
Comparing this list to Word we see that this is actually the same - our local printer provides a very redundant list of supported paper sizes.

I'm not sure the redundant items don't have some difference compared to each other (like A4 but with different paper tray or somesuch), so maybe we can mark this as NAB?
Comment 6 Heiko Tietze 2020-02-18 10:28:08 UTC
Created attachment 157974 [details]
Full list

My list has no obvious duplicates. In any case it would be desirable to have more structure in this list, eg. per separator lines and per sorting. And duplicates makes no sense, in particular when users cannot have any idea which one to pick (if it's some driver property such as the tray).

Version: 7.0.0.0.alpha0+
Build ID: 572c3d0c47608c732dffec88456361a9f93d336d
CPU threads: 8; OS: Linux 5.5; UI render: default; VCL: gtk3; 
Locale: de-DE (en_US.UTF-8); UI-Language: en-US
Comment 7 QA Administrators 2022-02-18 03:42:04 UTC Comment hidden (noise)
Comment 8 russell 2023-07-21 05:37:30 UTC
"If the bug is present, please leave a comment that includes the information from Help - About LibreOffice."

The bug is still present in 7.4.7.2.

Version: 7.4.7.2 / LibreOffice Community
Build ID: 40(Build:2)
CPU threads: 8; OS: Linux 5.10; UI render: default; VCL: gtk3
Locale: en-US (en_US.utf8); UI: en-US
7.4.7-2
Calc: threaded

OS: Manjaro Linux 
Desktop: XFCE

The Paper Size seems to come from cups ppd in:
  - File > Printer Settings > Properties 
  - File > Print > General > Printer > Properties

The Paper Size in File > Print > General > Page Layout is not sorted so it is tedious to find anything because the list is very long. Part of the length comes from paper sizes I will never use and the other part comes from duplication. The list of Paper size names in Page Layout is different than either of the two Printer Properties dropdown lists mentioned above. 

The Paper Size is currently showing "Letter 8.50in x 11.00in". If I expand the dropdown and scroll the list and view, 3.00 in x 5.00 for example, it appears twice, so does A4 8.25in x 11.69 in. Letter 8.50in x 11.00in appears 3 times. Some Paper sizes appear only once.
Comment 9 Kira Tubo 2023-09-21 03:50:14 UTC
Created attachment 189722 [details]
print paper size duplicates

Reproduced in current daily master build. Earliest version I can find the bug is 6.3.0.0.alpha1, possibly when the ability to choose paper size in the Print dialog was implemented into the UI. 

Version: 6.3.0.0.alpha1
Build ID: 547edd20e527fb02900f6174973770d26306e2e7
CPU threads: 6; OS: Windows 10.0; UI render: GL; VCL: win; 
Locale: en-US (en_US); UI-Language: en-US
Calc: CL

Version: 24.2.0.0.alpha0+ (X86_64) / LibreOffice Community
Build ID: 486ae5db6987411d5e394de94b2b077099d03856
CPU threads: 6; OS: Windows 10.0 Build 22621; UI render: Skia/Raster; VCL: win
Locale: en-US (en_US); UI: en-US
Calc: CL threaded
Comment 10 Laurent Balland 2024-04-15 12:02:54 UTC
@Adofo: I don't think that tdf#160567 has anything to do with this bug has A0 and A4 styles in Impress change only the font size to better fit according to the page size.