Draft: tools, widgets: Allow NDE filters on layer masks

In-progress work to allow NDE filters on layer masks (and resolve Teams/GIMP/Design/gimp-ux#519)

The NDE code is simple enough, and just involved removing restrictions in gimpfiltertool.c. The UI is the difficult part. See proposal:

image

The code is functional enough for testing the UX - feedback appreciated (tagging potentially interested parties: @rangelovd, @Reju, @Jehan, @aryeom, @barefootliam, @pixelmixer, @Stratelier, @michal.vasut)

Current known quirks:

  • The "Fx" icon won't appear with layer mask filters alone, unless you copy and paste the layer. You can still click the area it's normally in and the pop-over will appear

  • The buttons won't be enabled until you click on a filter - I think it's because the GimpContainerListView is not selecting a filter by default on creation

Merge request reports

Loading