[Libreoffice-ux-advise] [Bug 151136] Print Dialog: list of available paper size is unsorted list (no logic at all) and has duplicate A4 paper size

bugzilla-daemon at bugs.documentfoundation.org bugzilla-daemon at bugs.documentfoundation.org
Fri Sep 23 06:41:15 UTC 2022


https://bugs.documentfoundation.org/show_bug.cgi?id=151136

--- Comment #2 from Heiko Tietze <heiko.tietze at documentfoundation.org> ---
(In reply to Telesto from comment #0)
> I would sort the labeled paper sizes by Name; and below it the unnamed paper
> size by size (width, in case of portrait orientation)

The function PrintDialog::setPaperSizes() iterates over printer data and adds
the paper size with proper names to the list (not all sizes can be assigned to
a name). The sequence seems to be defined by the printer.

Sorting by name is likely not an improvement, see
https://opengrok.libreoffice.org/xref/core/vcl/inc/print.hrc (eg. 16k, A0..10,
Arch A..E, B4..6, etc.).

-- 
You are receiving this mail because:
You are on the CC list for the bug.


More information about the Libreoffice-ux-advise mailing list