Hi,

alert, abort, question, etc. are defined on MorphicUIManager (with a trait) but 
not on UIManager itself.
As Stephane said, it may causes DNU when using a NonInteractiveUIManager.
For example, if you try to update a version of KeyMapping in non interactive 
mode, it will failed because the load method defines a post-load action using 
alert (see ConfigurationOfKeyMapping>resetKeymapsAndWarn).

So, should we define these methods as "subclass responsability" on UIManager or 
do I miss something?

Regards,
Christophe.

Le 2 janv. 2013 à 16:05, Stéphane Ducasse a écrit :

> Hi all
> 
> alert:, alert:title:... are defined on MorphicUIManager but not on 
> NonInteractiveUIManager
> so this means that we get DNU when loading packages that call it.
> 
> http://code.google.com/p/pharo/issues/detail?id=7205
> 
> I thought that bringing a pop up or dun  in non interactive mode was killing 
> the system 
> but not. I'm confused but any how it would be good to have these two classes 
> a bit more 
> polymorphic so tell me if I'm saying something stupid.
> 
> Stef


Reply via email to