Handle Duplicate Paper Sizes Returned By CUPS
Categories
(Core :: Printing: Setup, enhancement, P3)
Tracking
()
People
(Reporter: nordzilla, Assigned: nordzilla)
References
Details
(Whiteboard: [print2020_v83])
Attachments
(1 file)
CUPS will occasionally return a list containing multiple duplicate paper sizes. I have personally observed this behavior on my Ubuntu 16.04.7 VM, trying to retrieve paper information for my Canon iX6820.
We are currently handling duplicate paper sizes on the front end, but it makes more sense to handle this as close to the source as possible, in the platform code.
Assignee | ||
Comment 1•5 years ago
|
||
CUPS occasionally returns duplicate paper sizes, especially on
older versions of Ubuntu. This patch utilizes a hash set to
skip over any dpulciate paper sizes, ensuring that the final list
contains only unique sizes.
These duplicate checks are currently being done on the front end,
and this patch will allow us to remove them.
Updated•5 years ago
|
Comment 3•5 years ago
|
||
bugherder |
![]() |
||
Comment 4•5 years ago
|
||
Given we handle this in the frontend currently, I don't think we need to uplift this. Let me know if you disagree.
Description
•