Review Request: Fix conflicting tool actions

Casper Boemann cbr at boemann.dk
Sat Jun 4 07:34:57 BST 2011


-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
http://git.reviewboard.kde.org/r/101468/#review3661
-----------------------------------------------------------

Ship it!


sure, let's see how it plays out, and i'll tell if it spoils my needs

- Casper


On May 29, 2011, 10:17 a.m., Jan Hambrecht wrote:
> 
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> http://git.reviewboard.kde.org/r/101468/
> -----------------------------------------------------------
> 
> (Updated May 29, 2011, 10:17 a.m.)
> 
> 
> Review request for Calligra.
> 
> 
> Summary
> -------
> 
> At them moment there is a problem with actions from tools which duplicate standard actions in applications. An example are select all /deselect standard actions. There are calligra applications which create these in their view classes to have support to select/deselect shapes. However some tools like the text tool do have these actions too.
> When for instance the text tool gets activated, all its actions are enabled which causes the select all action conflict with that of the application (they have the same standard shortcut).
> This patch fixes that as it will disable any action from the application during the activation of the tool with an conflicting action. When disabling the tool again, the application action is enabled again.
> That way selecting all works in the text tool again and I could add working support for select all/deselect in the artistic text tool too.
> 
> 
> Diffs
> -----
> 
>   libs/flake/KoToolManager.cpp bf68ad9 
>   libs/flake/KoToolManager_p.h 83ea4de 
>   plugins/artistictextshape/ArtisticTextTool.h e9b6347 
>   plugins/artistictextshape/ArtisticTextTool.cpp 68debef 
>   plugins/textshape/TextTool.cpp b95e18e 
>   words/part/words.rc c4aa3f7 
>   words/part/words_readonly.rc b4abb2a 
> 
> Diff: http://git.reviewboard.kde.org/r/101468/diff
> 
> 
> Testing
> -------
> 
> Tested with the text tool, artistic text tool in karbon and stage.
> 
> 
> Thanks,
> 
> Jan
> 
>

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


More information about the calligra-devel mailing list