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 676768 - Filters not working on layer groups
Filters not working on layer groups
Status: RESOLVED OBSOLETE
Product: GIMP
Classification: Other
Component: User Interface
2.8.0
Other All
: Normal normal
: 3.0
Assigned To: GIMP Bugs
GIMP Bugs
Depends on:
Blocks:
 
 
Reported: 2012-05-24 18:30 UTC by GrafxUser
Modified: 2018-05-24 13:12 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description GrafxUser 2012-05-24 18:30:04 UTC
How to reproduce:
1. group some non-empty layers in a layer group
2. select the layer group
3. goto to 'Filters' menu and select one filter 

This should happen:
If filters are able to work on layer groups, they should behave like on a single layer: open the filters dialog, after user confirmation apply the filter. 
If filters are not able to work on layer groups, disable these particular menu items until they work.

This happens:
The filter dialog appears, the preview works on the composed layer group, but after user confirmation the following error message is shown: 'Calling error for procedure '<the filter procedure>' Item 'Layer Group' (3) cannot be modified because it is a group item'.
In case of the 'Distorts/Curve Bend' filter: GIMP shows the messages: 
'Plug-In "curve-bend.exe"
(C:\Program Files\GIMP 2\lib\gimp\2.0\plug-ins\curve-bend.exe). tried writing to a group layer 3 (killing).Plug-In 'Curve Bend' left image undo  in inconsistent state, closing open undo groups.' -> the filter leaves a temporary layer group in the image, which is of no use. 

It's confusing to the user to see that the filters work in a preview, but refuse working after confirmation.

It happens always. 
It's similar with Tools/GEGL ops: The enabled menu item makes the user believe this would work. Clicking on the item doesn't show up the GEGL dialog or anything else -> disable this menu item as long as it doesn't work.
Comment 1 Michael Schumacher 2012-05-24 23:15:23 UTC
Currently there is no way for the app to tell whether a filter is going to modify a layer, therefore the filter entry in the menu can't be disabled if a layer group is active.

Tentatively adding to the 2.10 milestone, let's see if we can figure something out.
Comment 2 GrafxUser 2012-05-25 06:15:06 UTC
When right-clicking on a layer group in the layer dialog, all items regarding the layer mask become disabled. So this already works. How does the application do this?
Comment 3 Michael Schumacher 2012-05-25 07:16:06 UTC
The layer mask is not a plug-in.
Comment 4 Jehan 2017-03-24 05:58:12 UTC
It doesn't look like this is going to be handled for 2.10. Bumping to 3.0.

Yet as always, patches are welcome if anyone provides one before the 2.10 release.
Comment 5 GNOME Infrastructure Team 2018-05-24 13:12:42 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/405.