As the title suggests, when trying to print anything at all with Gnome applications the printing dialog gets stuck and crashes. This happens in the pdf viewer (Papers), text editor and image viewer (Loupe, tried Eye of Gnome as well, same problem). The same issue also happens with gtk3 applications such as mousepad (text editor) and ristretto (image viewer) from xfce, while KDE applications seem to work fine, like for example Gwenview.
I can reproduce this issue both on my machine and in a virtual machine with a clean install of NixOS and Gnome.
This is a recording from the VM which illustrates the issue (open in a new tab if the animation does not work):
(sorry for the huge file, I could not upload video so I made a webp animated file. If necessary I can upload the video somewhere else)
I tried waiting 10 minutes for the dialog but it did not get unstuck. Also whether there are any printers added to CUPS or not does not make a difference: in the VM there are no printers but on my machine I have lots of them (tried both usb and network printers at first).
I also tried getting some logs with G_MESSAGES_DEBUG=all but that yielded nothing. The apps just lock up until I kill them.
(Iām on 25.11.2222.b3aad468604d, stable)
tl;dr: gnome applications use a common interface to cups, which didnāt play well with the new handling of requests.
For some reason, unstable has cups 2.4.14, so I tried using this cups version via services.printing.package, however, this didnāt solve the issue for me.
I also tried applying the fix as a patch in an override, however, this didnāt solve the problem either.
I was getting the same issue, āupgradingā to unstable solved it for now
āupgradingā because unstable has a inferior version of cups as stated above