> On 01 Dec 2014, at 10:26, Thierry Goubier <thierry.goub...@gmail.com> wrote:
> 
> 
> 
> 2014-12-01 10:19 GMT+01:00 Marcus Denker <marcus.den...@inria.fr 
> <mailto:marcus.den...@inria.fr>>:
> 
> The mechanism is very simple… if you remove a tool and then use it, there 
> will be a DNU.
> (it should open instead window and tell that no tool is installed)
> 
> In fact, it's worse: it DNUs even if you still have some tools installed, 
> just because you unregistered one of them.
> 
> i.e. With AltBrowser installed, you have four browsers in your image: 
> SystemBrowser, Nautilus, PackageTreeNautilus, and AltBrowser. If you 
> unregister AltBrowser, you have a DNU, even if you have the three others 
> still available.
> 
Yes, as they are there but not registered. ToolRegistry just knows about the 
*last* tool registered. If you unregister that, there is none
(this is why ToolRegistry needs to be extended to remember all and just have 
the last be the default)

> There is apparently some magic in the world menu to trigger a user-driven 
> choice among existing tools, but I don't know how to trigger that.
> 

No, the only thing it does is to execute all the methods (in a some un-defined 
order). The last tool’s #registerToolsOn: then will be the one
that ToolRegistry knows about.


        Marcus

Reply via email to