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 113564 - cannot cancel tool operations
cannot cancel tool operations
Status: RESOLVED OBSOLETE
Product: GIMP
Classification: Other
Component: User Interface
git master
Other All
: Normal enhancement
: Future
Assigned To: GIMP Bugs
GIMP Bugs
: 131038 166649 517689 735542 769570 (view as bug list)
Depends on: 162823
Blocks:
 
 
Reported: 2003-05-22 23:40 UTC by Jakub Steiner
Modified: 2018-05-24 10:51 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Jakub Steiner 2003-05-22 23:40:37 UTC
When applying a filter, the user has the chance to cancel the process by
clicking on the 'Cancel' button on the status bar of the image window.

However when a tool operation is being processed, it cannot be aborted this
way. There are some actions that take quite a long time depending on the
image size and should be abortable (gradients with adaptive supersampling,
transofrmation of large images /rotation, scaling, perspective.../).
Comment 1 Sven Neumann 2003-05-25 14:25:51 UTC
We should try to provide this feature.
Comment 2 Dave Neary 2003-10-21 11:47:36 UTC
Bumping to 2.2.

Dave.
Comment 3 Michael Natterer 2004-01-09 21:25:34 UTC
*** Bug 131038 has been marked as a duplicate of this bug. ***
Comment 4 Sven Neumann 2004-01-09 21:26:15 UTC
*** Bug 131038 has been marked as a duplicate of this bug. ***
Comment 5 Ari Pollak 2004-01-09 21:28:41 UTC
Debian bug tracking this: http://bugs.debian.org/220695
Comment 6 Sven Neumann 2004-02-03 09:34:07 UTC
*** Bug 133266 has been marked as a duplicate of this bug. ***
Comment 7 Raphaël Quinet 2004-02-03 17:16:32 UTC
Changing the severity from 'enhancement' to 'normal' because it can
cause the GIMP to be killed on Windows: it does not process its message
queue while in the tool code, so after a while Windows says that the
application is not responding.  See bug #133266 for details.
Comment 8 Pedro Gimeno 2004-02-05 17:08:06 UTC
Changing the severity back to enhancement and reopening bug #133266;
see the details there.
Comment 9 Pedro Gimeno 2004-04-08 11:29:47 UTC
Maybe this link is helpful here:

  http://lixoo.sourceforge.net/files/exceptions.txt
Comment 10 Sven Neumann 2004-09-16 18:53:55 UTC
Bumping to the Future milestone since noone is working on this feature.
Comment 11 Michael Natterer 2005-02-08 12:16:56 UTC
*** Bug 166649 has been marked as a duplicate of this bug. ***
Comment 12 Michael Schumacher 2006-02-23 23:53:04 UTC

*** This bug has been marked as a duplicate of 309659 ***
Comment 13 Sven Neumann 2008-02-20 16:34:43 UTC
*** Bug 517689 has been marked as a duplicate of this bug. ***
Comment 14 Michael Natterer 2014-06-29 22:20:00 UTC
Applying GEGL ops is now fully cancelable via Escape:

commit 16381c9bf9ecfcd7d99b08672a38c1559a42eb52
Author: Michael Natterer <mitch@gimp.org>
Date:   Mon Jun 30 00:10:25 2014 +0200

    app: make gimp_gegl_apply_cached_operation() cancelable via GimpProgress
    
    In gimp_drawable_merge_filter(), use that feature to make filter
    applying cancelable. Stop projection rendering first, because we have
    to run the event loop manually in order to receive input for
    canceling, but we don't want the projection to be constructed from
    that manual loop running.

commit 9ec2a3cdebffb697c08676d3d19fa79e8bd62841
Author: Michael Natterer <mitch@gimp.org>
Date:   Mon Jun 30 00:00:15 2014 +0200

    app: implement progress canceling in GimpTool
    
    In gimp_tool_progress_start(), if the progress is cancelable, grab on
    an invisible widget and emit the progress' "cancel" signal when Escape
    is pressed.

commit 3795c597ba1fc2c0f15264be422350c176b6af24
Author: Michael Natterer <mitch@gimp.org>
Date:   Sun Jun 29 23:57:22 2014 +0200

    app: add gimp_projection_stop_rendering()
    
    which stops a running chunk renderer and moves its remaining
    unrendered region back to the projection's dirty region.
Comment 15 Michael Natterer 2014-09-10 20:43:12 UTC
*** Bug 735542 has been marked as a duplicate of this bug. ***
Comment 16 Jehan 2016-08-06 16:50:13 UTC
Does this work with tools too? Like with the rotate tool? Because it does not look like Escape cancels the operation in progress when the green cheese stuff is showing on the canvas.
Comment 17 Michael Natterer 2016-08-06 17:42:17 UTC
*** Bug 769570 has been marked as a duplicate of this bug. ***
Comment 18 Michael Natterer 2016-08-06 17:43:22 UTC
This works with the GEGL tool, which is why I mentioned it here, but
the bug is still open because not all tools can be aborted yet.
Comment 19 GNOME Infrastructure Team 2018-05-24 10:51:37 UTC
-- GitLab Migration Automatic Message --

This bug has been migrated to GNOME's GitLab instance and has been closed from further activity.

You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.gnome.org/GNOME/gimp/issues/42.