GNOME Bugzilla – Bug 339323
Cancel print job
Last modified: 2018-02-10 03:37:54 UTC
Maybe we should add a way to cancel an outstanding print job (i.e. a GtkPrintOperation that has spooled the print data). This would allow you to cancel such a job easily, without having to go to the os-specific print job dialog.
*** Bug 344189 has been marked as a duplicate of this bug. ***
How about this: Change GtkPrintBackend::print_stream to return a gpointer "handle" and add a ::cancel_stream (gpointer handle) ? The handle would be automatically managed by the backend and be invalidated after the completion callback has been executed.
we already have the track-print-status property that somehow keeps track of the job on its way through the print system (haven't looked at the code to see how). We should make sure that we use the same kind of handle for both things.
We're moving to gitlab! As part of this move, we are closing bugs that haven't seen activity in more than 5 years. If this issue is still imporant to you and still relevant with GTK+ 3.22 or master, please consider creating a gitlab issue for it.