Re: [Pharo-users] #inform: Changed in 5.0?

2016-06-20 Thread Christophe Demarey
Hi Sean,

> Le 17 juin 2016 à 17:10, Sean P. DeNigris  a écrit :
> 
> During startup, I do `UIManager default inform: aString`. It used to show a
> Growl morph, but now opens a debugger. Did something change? If so, why and
> how do I circumvent the debugger? Thanks.

With the introduction of the session manager, error handling during startup 
actions was revisited.
You can check StartupUIManager>>#handleError:log: for errors coming before 
Morphic is initialized.
Once Morphic is initialized, you get a default UI manager (MorphicUIManager if 
in UI mode). It is managed by UIManagerSessionHandler class.

If your startup code is executed with StartupUIManager, it will add a deferred 
startup action to execute the inform, else it fallback to MorphicUIManager 
inform.
It should do the behavior you expect.

Could you give me more info (the stacktrace would be useful)? 

Cheers,
Christophe


Re: [Pharo-users] #inform: Changed in 5.0?

2016-06-19 Thread Denis Kudriashov
In 5.0 there was refactoring of startup process which introduce some kind
of StartUpUIManager (not remember exact name). It is installed when image
just started. And concrete manager like MorphicUIManager is installed at
some last step. (somebody could explain it better)

2016-06-19 18:46 GMT+02:00 Sean P. DeNigris :

> Denis Kudriashov wrote
> > Do you perform it inside #defer: message?
>
> I didn't and it was working in 4.0, but wrapping in #defer: it now works
> again in 5.0
>
>
>
> -
> Cheers,
> Sean
> --
> View this message in context:
> http://forum.world.st/inform-Changed-in-5-0-tp4901478p4901815.html
> Sent from the Pharo Smalltalk Users mailing list archive at Nabble.com.
>
>


Re: [Pharo-users] #inform: Changed in 5.0?

2016-06-19 Thread Sean P. DeNigris
Denis Kudriashov wrote
> Do you perform it inside #defer: message?

I didn't and it was working in 4.0, but wrapping in #defer: it now works
again in 5.0



-
Cheers,
Sean
--
View this message in context: 
http://forum.world.st/inform-Changed-in-5-0-tp4901478p4901815.html
Sent from the Pharo Smalltalk Users mailing list archive at Nabble.com.



Re: [Pharo-users] #inform: Changed in 5.0?

2016-06-19 Thread Denis Kudriashov
Hi

2016-06-17 17:10 GMT+02:00 Sean P. DeNigris :

> During startup, I do `UIManager default inform: aString`. It used to show a
> Growl morph,
>

Do you perform it inside #defer: message?


Re: [Pharo-users] #inform: Changed in 5.0?

2016-06-19 Thread stepharo

Hi sean


which startup?


Stef


Le 17/6/16 à 17:10, Sean P. DeNigris a écrit :

During startup, I do `UIManager default inform: aString`. It used to show a
Growl morph, but now opens a debugger. Did something change? If so, why and
how do I circumvent the debugger? Thanks.



-
Cheers,
Sean
--
View this message in context: 
http://forum.world.st/inform-Changed-in-5-0-tp4901478.html
Sent from the Pharo Smalltalk Users mailing list archive at Nabble.com.







[Pharo-users] #inform: Changed in 5.0?

2016-06-17 Thread Sean P. DeNigris
During startup, I do `UIManager default inform: aString`. It used to show a
Growl morph, but now opens a debugger. Did something change? If so, why and
how do I circumvent the debugger? Thanks.



-
Cheers,
Sean
--
View this message in context: 
http://forum.world.st/inform-Changed-in-5-0-tp4901478.html
Sent from the Pharo Smalltalk Users mailing list archive at Nabble.com.