Print dialog polls printserver for printers several times per second
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Common Print Dialog |
New
|
Undecided
|
Unassigned |
Bug Description
How to reproduce:
1. Enable debugging in CUPS by sudo cupsctl --debug-logging
2. Open a GTK+ application and press Ctrl+P to show Print dialog (for example, evince or eog).
3. Notice that CUPS is polled two or three times per second for printer list:
grep CUPS-Get-Printers /var/log/
Tested on Ubuntu 12.04 x64 with libgtk-3-0 3.4.2, eog 3.4.2, evince 3.4.0, Ubuntu 14.04 x64 with libgtk-3-0 3.10.8.
If you open three apps and press Ctrl+P in each, printserver will be polled three times more frequently.
This behavior puts unnecessary strain on printservers, especially if they serve hundreds or thousands of clients in enterprise environment.
Is there a way to adjust this polling interval?
Excerpt from CUPS error_log:
D [04/Nov/
D [04/Nov/
D [04/Nov/
D [04/Nov/
D [04/Nov/
D [04/Nov/
D [04/Nov/