GNOME Bugzilla – Bug 165569
shouldn't be able to print to file when disable_save_to_disk is enabled
Last modified: 2018-04-15 00:32:50 UTC
shouldn't be able to print to file when disable_save_to_disk is enabled.
Fixing this properly probably involves making changes to EphyDialog since if you call ephy_dialog_get_control (dialog, print_props[PRINTON_PROP].id) then you get the "Printer" radiobutton when you want to get the "File" one (to disable it). Alternatively, this could be cheated by monkeying around with the order of things in the .glade file. This is an evil hack but maybe it's good enough for now if the plan is to replace this with the gnome print dialog.
GeckoPrintService::TranslateSetting just needs to check whether the printer is the "print-to-file" printer and return NS_ERROR_GFX_PRINTER_ACCESS_DENIED if it is and save_to_disk is disabled. But that depends on the gtk bug.
This is GTK filechooser's job now.
You mean the print dialog. Reassigning to the right component.
We're moving to gitlab! As part of this move, we are moving bugs to NEEDINFO if they haven't seen activity in more than a year. If this issue is still important to you and still relevant with GTK+ 3.22 or master, please reopen it and we will migrate it to gitlab.
As announced a while ago, we are migrating to gitlab, and bugs that haven't seen activity in the last year or so will be not be migrated, but closed out in bugzilla. If this bug is still relevant to you, you can open a new issue describing the symptoms and how to reproduce it with gtk 3.22.x or master in gitlab: https://gitlab.gnome.org/GNOME/gtk/issues/new