Bug#982925: libgtk: print dialog lists autodetected printer twice
Simon McVittie
smcv at debian.org
Sun Feb 20 18:27:54 GMT 2022
On Sun, 20 Feb 2022 at 17:35:23 +0000, Simon McVittie wrote:
> With cups-browsed only: Two printers appear, labelled
> HP_Color_LaserJet_MFP_M277dw_xxxxxx and HP_Color_LaserJet_MFP_M277dw_xxxxxx_.
I think this is because the mDNS name of my printer happens to end with
a parenthesis (it's "HP Color LaserJet MFP M277dw (xxxxxx)"), and with
this specific printer, the algorithms used by GTK and cups-browsed to
flatten mDNS names into syntactically-valid printer names are subtly
different: GTK removes trailing invalid characters, but cups-browsed
does not (this appears to be deliberate, it has special code to do this
for other strings but not for DNS-SD-based printer names).
smcv
More information about the pkg-gnome-maintainers
mailing list