-
-
Notifications
You must be signed in to change notification settings - Fork 17.7k
Description
Nixpkgs version
- Stable (25.11)
Describe the bug
I am experiencing an issue on NixOS 25.11 where GTK-based applications (Firefox, Evince/Papers, etc.) freeze indefinitely when attempting to open the print dialog.
The underlying printing system seems fully functional, as printing via the command line (lpr) works perfectly with the exact same CUPS queue. This suggests a problem specifically in the interaction between GTK (or libcups used by GTK) and the CUPS daemon/network backend in the current stable channel.
Steps to reproduce
-
Setup a network printer (HP OfficeJet 6950 in my case) on NixOS 25.11.
-
Configure the printer using socket://:9100 to rule out IPP/TLS handshake issues.
-
Verify printing works via terminal: lpr -P test.pdf (Successful).
-
Open a GTK application (Firefox, Evince or Gnome Papers).
-
Attempt to print.
-
Result: The application hangs/freezes immediately. The print dialog either does not appear (Papers) or appears but is unresponsive (Evince), or appears, but hangs, when the print-button is pressed.
Expected behaviour
The print dialog should open, query the printer capabilities, and submit the job, just like lpr does.
Screenshots
No response
Relevant log output
Additional context
No response
System metadata
have performed extensive troubleshooting to isolate the issue:
-
Network/Hardware: The printer works fine from other distros (Fedora 43) and from NixOS via lpr.
-
Protocols tried: tried both ipp:// and socket://. The freeze happens with both in the GUI.
-
Drivers tried:
-
hpcups (HPLIP 3.25.2)
-
Generic PCL 6
-
Result: lpr works with both, GUI freezes with both.
-
-
Firewall: Tested with networking.firewall.enable = false; -> Issue persists.
-
AppArmor: Tested with security.apparmor.enable = false; -> Issue persists.
-
DNS: Added printer IP to /etc/hosts to rule out DNS timeouts -> Issue persists.
-
SNMP: Disabled SNMP on the printer queue (lpadmin -p ... -o snmp-enabled=false) -> Issue persists.
Notify maintainers
Note for maintainers: Please tag this issue in your pull request description. (i.e. Resolves #ISSUE.)
I assert that this issue is relevant for Nixpkgs
- I assert that this is a bug and not a support request.
- I assert that this is not a duplicate of an existing issue.
- I assert that I have read the NixOS Code of Conduct and agree to abide by it.
Is this issue important to you?
Add a 👍 reaction to issues you find important.