After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 339323 - Cancel print job
Cancel print job
Status: RESOLVED OBSOLETE
Product: gtk+
Classification: Platform
Component: Printing
unspecified
Other All
: Normal enhancement
: ---
Assigned To: gtk-bugs
gtk-bugs
: 344189 (view as bug list)
Depends on:
Blocks:
 
 
Reported: 2006-04-21 15:59 UTC by Alexander Larsson
Modified: 2018-02-10 03:37 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Alexander Larsson 2006-04-21 15:59:45 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.
Comment 1 Matthias Clasen 2006-06-08 00:43:37 UTC
*** Bug 344189 has been marked as a duplicate of this bug. ***
Comment 2 Christian Persch 2006-06-18 12:55:02 UTC
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.
Comment 3 Matthias Clasen 2006-06-18 17:26:57 UTC
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.
Comment 4 Matthias Clasen 2018-02-10 03:37:54 UTC
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.