A problem with KoToolManager and a bug 258422

Dmitry Kazakov dimula73 at gmail.com
Thu Dec 9 06:59:24 GMT 2010


> > What do you think about this problem?
> I think it should be desactivated everywhere for editing tools. And
> activated
> everywhere for non-editing tools (those with /always activation string).
>

You mean the tool should be deactivated in KoToolManager as well?

If yes, then i have another question:
KoToolManager::Private::switchTool() expects that the tool passed does exist
(!=0). So it looks like the manager is not supposed to have no tool
activated. Do i understand it right? Is there any special reason for such
always-exists-expectations?

As a solution to this problem, i think, we could switch to the Default Tool
(or any another tool), while the layer is hidden. What do you think about
that?


-- 
Dmitry Kazakov
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/calligra-devel/attachments/20101209/2d439d50/attachment.htm>


More information about the calligra-devel mailing list