Review Request 121598: Bug fix - 331483 : JJ Add "Flatten Layer" to the RightClick context menu

Rishabh Saxena rishabh.saxena2112 at gmail.com
Tue Dec 23 18:57:28 GMT 2014



> On Dec. 20, 2014, 7:40 a.m., Dmitry Kazakov wrote:
> > Hi, Rishabh!
> > 
> > Are you sure you want to put the Flatten Layer action into the same group with the actions that create new masks? I guess it would be more logical to put them into the same group with either Flatten Image or Convert To. You could talk to artists to get to find out which way is the most convenient for them.
> > 
> > Another problem is that Flatter Layer action is not getting disabled when a mask is selected. Such behavior is quite ok when the action in the man window menu, but it might be quite unexpected when a user right-clicks on a mask and sees "Flatten Layer", because a mask cannot be flattened. Only it's parent. The easiest approach is to disbale action when a non-layer node is selected. You can follow an example of "Transparency Mask" action. It is also disabled when a maks is selected.

I have made such changes in my updated patch.Please, have a look.


- Rishabh


-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://git.reviewboard.kde.org/r/121598/#review72328
-----------------------------------------------------------


On Dec. 23, 2014, 6:56 p.m., Rishabh Saxena wrote:
> 
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> https://git.reviewboard.kde.org/r/121598/
> -----------------------------------------------------------
> 
> (Updated Dec. 23, 2014, 6:56 p.m.)
> 
> 
> Review request for Calligra and Boudewijn Rempt.
> 
> 
> Bugs: 331483
>     http://bugs.kde.org/show_bug.cgi?id=331483
> 
> 
> Repository: calligra
> 
> 
> Description
> -------
> 
> Created a "Flatten layer" option in RightClick context menu using addActiontoMenu() method.
> 
> 
> Diffs
> -----
> 
>   krita/plugins/extensions/dockers/defaultdockers/kis_layer_box.cpp 1a8aabf 
>   krita/ui/kis_layer_manager.cc b609f42 
> 
> Diff: https://git.reviewboard.kde.org/r/121598/diff/
> 
> 
> Testing
> -------
> 
> 
> Thanks,
> 
> Rishabh Saxena
> 
>

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/calligra-devel/attachments/20141223/d1bbfa5a/attachment.htm>


More information about the calligra-devel mailing list