GNOME Bugzilla – Bug 784556
Changing option defaults is inconsistent
Last modified: 2021-06-09 16:31:08 UTC
For printer option settings (in a printer entry click the gear button, then "Printer Options" in the pop-up menu) CUPS support system-wide default and user defaults. To change system-wide defaults CUPS modifies the PPD file of the queue in /etc/cups/ppd/ and user defaults are saved in ~/.cups/lpoptions. User defaults override system defaults. The option settings dialog shows the settings which are valid, for options not modified by the ~/.cups/lpoptions file it shows the system settings from the PPD. So this is correct. The problem is what happens if one modifies the options and clicks "Close". One does not know what gets changed and if something gets changed. For a normal user (not in "lpadmin" group) changes should be saved in ~/.cups/lpoptions, for a user in the "lpadmin" group there should be a button to save as personal defaults (in ~/.cups/lpoptions) or system-wide (in PPD file). In any case there should be a button to reset to system defaults (removing changes in ~/.cups/lpoptions). All changes should be done using appropriate CUPS API calls if possible. My observation is that changes seems to be done always in the PPD file (working as a user in the "lpadmin" group) and the presence of a ~/.cups/lpoptions file is totally ignored, letting changes on options present in ~/.cups/lpoptions looking like they are ignored, as the setting of ~/.cups/lpoptions is always displayed and so the change in the PPD file does not get visible. This leads to total confusion.
GNOME is going to shut down bugzilla.gnome.org in favor of gitlab.gnome.org. As part of that, we are mass-closing older open tickets in bugzilla.gnome.org which have not seen updates for a longer time (resources are unfortunately quite limited so not every ticket can get handled). If you can still reproduce the situation described in this ticket in a recent and supported software version, then please follow https://wiki.gnome.org/GettingInTouch/BugReportingGuidelines and create a new bug report at https://gitlab.gnome.org/GNOME/gnome-control-center/-/issues/ Thank you for your understanding and your help.