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 648090 - Possible failure of "Repeat Last" with filters using drawables as maps
Possible failure of "Repeat Last" with filters using drawables as maps
Product: GIMP
Classification: Other
Component: Plugins
Other All
: Normal normal
: ---
Assigned To: GIMP Bugs
Depends on:
Reported: 2011-04-18 10:51 UTC by Gino D
Modified: 2018-05-24 12:59 UTC
See Also:
GNOME target: ---
GNOME version: ---

Description Gino D 2011-04-18 10:51:32 UTC
When the most recently executed plug-in is a filter requiring one or more drawables as maps, if you eliminate, after the execution of the plug-in, at least one of the drawables which was selected on its last settings, then the "Repeat Last" command will fail, by returning various error messages.

Here is a list of the filters affected by this bug:

under the section "Light and Shadow":
    "Lighting Effects"

under the section "Combine":
    "Depth Merge"

under the section "Artistic":
    "Van Gogh" (LIC)

under the section "Map":
    "Bump Map"

Referring, for instance, to the "Warp" filter, the problem I have just reported can be reproduced by following these steps:

1) create a new image;
2) duplicate the layer named "Background", so as to get a second layer named "Background copy";
3) launch the "Warp" filter through 'Filters -> Map -> Warp...' ;
4) as a displacement map, select the "Background" layer in the drop-down list provided;
5) execute the filter;
6) remove the "Background" layer from the image;
7) run 'Filters -> Repeat "Warp"'.

As a result, several error messages will be displayed, some of which redirected to 'stderr'.

Unlike the afore-mentioned plug-ins, there is a filter that, while using drawables as maps too, however seems always to work properly when invoking it through the "Repeat Last" command, even in the specific case described above: it is the "Flame" filter (under the 'Render -> Nature' submenu), which is fitted with the "Colormap" option, allowing to exploit the colors of any drawable currently open in the GIMP session. So I think it might be useful to refer to the source code of this plug-in in order to devise a patch capable to fix this bug, which involves all the other filters of the similar kind.
Comment 1 Michael Natterer 2011-05-07 20:59:45 UTC
That needs to be fixed plug-in by plug-in by checking the last used
drawable IDs for validity.
Comment 2 GNOME Infrastructure Team 2018-05-24 12:59:54 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: