Bug 2123634 - Chromium does not support CUPS temporary queues
Summary: Chromium does not support CUPS temporary queues
Keywords:
Status: NEW
Alias: None
Product: Fedora
Classification: Fedora
Component: chromium
Version: 43
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Than Ngo
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks: 2193385
TreeView+ depends on / blocked
 
Reported: 2022-09-02 08:48 UTC by Zdenek Dohnal
Modified: 2025-12-02 09:42 UTC (History)
4 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2025-04-28 09:05:22 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)
Chromium print dialog screenshot (27.91 KB, image/png)
2023-07-17 07:33 UTC, Zdenek Dohnal
no flags Details

Description Zdenek Dohnal 2022-09-02 08:48:46 UTC
Description of problem:
Chromium is not able to use CUPS temporary queue for printing and enforces users to install printers permanently, even for models where it is not needed.
Permanent installation of printers will be removed from CUPS 3.0 (arrives in one/two years), so if chromium is not migrated to the latest (6 years old) CUPS API, its users won't be able to print.

Basically the required change is to use cupsGetDests2() for listing printers and cupsCopyDestInfo() for getting all printer options. 

Version-Release number of selected component (if applicable):
chromium-104.0.5112.101-1.fc38.x86_64

How reproducible:
always

Steps to Reproduce:
0. have a driverless printer or a another machine with running cupsd and sharing queues
1. '$ lpstat -e' shows the temp queue, but '$ lpstat -a' doesn't
2. open print dialog

Actual results:
no temp queue

Expected results:
temp queue is seen and user can print to it

Comment 1 Ben Cotton 2023-02-07 14:54:30 UTC
This bug appears to have been reported against 'rawhide' during the Fedora Linux 38 development cycle.
Changing version to 38.

Comment 2 Than Ngo 2023-07-14 10:53:24 UTC
it's already supported in latest 114.0.5735.198

Comment 3 Zdenek Dohnal 2023-07-17 07:33:00 UTC
Created attachment 1976125 [details]
Chromium print dialog screenshot

Unfortunately that doesn't seem to be working:

This is the list of available destinations from CUPS:
$ lpstat -e
Canon_MF440_Series
Canon_MF440_Series_USB_1
hp-m277-hplip
hp-test
hp-test/gray
HP_Color_LaserJet_MFP_M277dw_516EE8
test
tpbb-it
tpbc-north
tpbc-south

and the attached screenshot is what Chromium shows under 'See more' when you want to choose a printer in print dialog. The temporary queues - Canon_MF440_Series , Canon_MF440_Series_USB_1 , HP_Color_LaserJet_MFP_M277dw_516EE8 - are not visible in default Chromium print dialog.

Canon printer is connected by USB and by network cable, HP by network cable only.

Version:
$ rpm -q chromium
chromium-114.0.5735.198-1.fc38.x86_64

Comment 4 Zdenek Dohnal 2023-07-17 07:35:38 UTC
The temporary printers are seen if user clicks on 'More settings' and then 'Print using system dialog...', which is written in GTK3 with temporary queue support, but the default Chromium dialog does not support them/show them.

Comment 5 Aoife Moloney 2024-05-07 15:48:25 UTC
This message is a reminder that Fedora Linux 38 is nearing its end of life.
Fedora will stop maintaining and issuing updates for Fedora Linux 38 on 2024-05-21.
It is Fedora's policy to close all bug reports from releases that are no longer
maintained. At that time this bug will be closed as EOL if it remains open with a
'version' of '38'.

Package Maintainer: If you wish for this bug to remain open because you
plan to fix it in a currently maintained version, change the 'version' 
to a later Fedora Linux version. Note that the version field may be hidden.
Click the "Show advanced fields" button if you do not see it.

Thank you for reporting this issue and we are sorry that we were not 
able to fix it before Fedora Linux 38 is end of life. If you would still like 
to see this bug fixed and are able to reproduce it against a later version 
of Fedora Linux, you are encouraged to change the 'version' to a later version
prior to this bug being closed.

Comment 6 Zdenek Dohnal 2024-05-07 16:33:24 UTC
Reproducible on F40.

Comment 7 Aoife Moloney 2025-04-25 10:03:31 UTC
This message is a reminder that Fedora Linux 40 is nearing its end of life.
Fedora will stop maintaining and issuing updates for Fedora Linux 40 on 2025-05-13.
It is Fedora's policy to close all bug reports from releases that are no longer
maintained. At that time this bug will be closed as EOL if it remains open with a
'version' of '40'.

Package Maintainer: If you wish for this bug to remain open because you
plan to fix it in a currently maintained version, change the 'version' 
to a later Fedora Linux version. Note that the version field may be hidden.
Click the "Show advanced fields" button if you do not see it.

Thank you for reporting this issue and we are sorry that we were not 
able to fix it before Fedora Linux 40 is end of life. If you would still like 
to see this bug fixed and are able to reproduce it against a later version 
of Fedora Linux, you are encouraged to change the 'version' to a later version
prior to this bug being closed.

Comment 8 Than Ngo 2025-04-27 11:37:20 UTC
Created attachment 2087413 [details]
Chromium print dialog screenshot

I tested new chromium-135 on f42 and comfirmed that your reported issue is gone. I attached a screenshot which shows my HP_LaserJet_Pro_MFP_M125nw in the list.

[root@localhost cups]# lpstat -e
HP_LaserJet_Pro_MFP_M125nw

[root@localhost cups]# lpstat -a
HP_LaserJet_Pro_MFP_M125nw akzeptiert Anfragen seit Mo 21 Apr 2025 11:58:58 CEST
[root@localhost cups]# 

Could you please test again?

Thank you!

Comment 9 Than Ngo 2025-04-28 09:05:22 UTC
Feel free to reopen it if you still can reproduce this problem.

Thanks!Öffnen Sie sie erneut, wenn Sie das Problem weiterhin reproduzieren können.

Comment 10 Zdenek Dohnal 2025-05-06 11:35:56 UTC
Unfortunately, the issue is still present - you have your printer installed as permanent queue (thus seen in 'lpstat -a' among accepting queues). The queue should appear only in 'lpstat -e' and in the print dialog of chromium.

Tested version:
$ rpm -q chromium
chromium-135.0.7049.114-1.fc41.x86_64

Comment 11 Adam Williamson 2025-12-02 01:11:50 UTC
This message is a reminder that Fedora Linux 41 is nearing its end of life.
Fedora will stop maintaining and issuing updates for Fedora Linux 41 on 2025-12-15.
It is Fedora's policy to close all bug reports from releases that are no longer
maintained. At that time this bug will be closed as EOL if it remains open with a
'version' of '41'.

Package Maintainer: If you wish for this bug to remain open because you
plan to fix it in a currently maintained version, change the 'version' 
to a later Fedora Linux version. Note that the version field may be hidden.
Click the "Show advanced fields" button if you do not see it.

Thank you for reporting this issue and we are sorry that we were not 
able to fix it before Fedora Linux 41 is end of life. If you would still like 
to see this bug fixed and are able to reproduce it against a later version 
of Fedora Linux, you are encouraged to change the 'version' to a later version
prior to this bug being closed.

Comment 12 Zdenek Dohnal 2025-12-02 09:42:17 UTC
Still present in F43.


Note You need to log in before you can comment on or make changes to this bug.