Bug 378453

Summary: In latest git master- names of the filter mask (created through filter dialog) is set to "effects" instead of the mask type name
Product: [Applications] krita Reporter: Raghavendra kamath <raghu>
Component: GeneralAssignee: Krita Bugs <krita-bugs-null>
Status: RESOLVED FIXED    
Severity: normal    
Priority: NOR    
Version First Reported In: git master (please specify the git hash!)   
Target Milestone: ---   
Platform: Other   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:

Description Raghavendra kamath 2017-04-05 05:32:16 UTC
When a user clicks on the "create filter mask" button in any filter dialog, a filter mask gets added to the currently selected layer.

The name of this filter mask is set to generic "effects", it would be immensely helpful if the name would be something like " Hue/saturation Mask" etc depending on the type of effects that is added through mask.

To reproduce

1) Open krita built from git master 
2) Add a layer and select it and trigger a filter dialog e.g Ctrl + U and then press the "Create Filter Mask" Button

You'll notice that a filter mask is added with name "effects"
Comment 1 Halla Rempt 2017-04-06 12:51:18 UTC
Git commit 535164d609c77ec6a895272b7ac5a44bfee6f4e1 by Boudewijn Rempt.
Committed on 06/04/2017 at 12:51.
Pushed by rempt into branch 'krita/3.1'.

This is also finally uses the currentFilter field in the Private
class... It was never set anywhere.

M  +2    -0    libs/ui/dialogs/kis_dlg_filter.cpp

https://commits.kde.org/krita/535164d609c77ec6a895272b7ac5a44bfee6f4e1
Comment 2 Halla Rempt 2017-04-06 12:51:19 UTC
Git commit 1616c234749eb4f8b94188f96d0d70f52030c404 by Boudewijn Rempt.
Committed on 06/04/2017 at 12:51.
Pushed by rempt into branch 'master'.

This is also finally uses the currentFilter field in the Private
class... It was never set anywhere.

M  +2    -0    libs/ui/dialogs/kis_dlg_filter.cpp

https://commits.kde.org/krita/1616c234749eb4f8b94188f96d0d70f52030c404