[Pharo-project] changes with announcements ?
siguctua at gmail.com
Tue Jun 28 10:25:47 EDT 2011
i checked what happens there with Cyrille.
First, an announcement announced
and handler then starts exporting model to file, showing a progress bar.
but displaying a progress bar using exceptions mechanism.
That's why when you see a progress bar while exporting, it means that
it already runs in forked process..
BTW. The implementation of progress bars are so confusing..
every time i trying to understand what goes where, i got lost.
As to me , this looks a bit of abuse of announcements, since handling
of announcement should be short
(but not so complex and long as exporting model to file).
I think in this case it could simply capture the request and then
schedule export action using
WorldState deferUIMessage: 
(or run via UIManager somehow)
like that you will release an announcer early, making sure that your
export process runs in right place (in UI process),
and not interferes with announcer.
On 28 June 2011 15:21, Tudor Girba <tudor at tudorgirba.com> wrote:
> On 28 Jun 2011, at 15:16, Marcus Denker wrote:
>> On Jun 28, 2011, at 3:11 PM, Tudor Girba wrote:
>>> On 28 Jun 2011, at 14:57, Igor Stasenko wrote:
>>>> Issue 4470: on:fork: re-entering multiple times fix
>>>> @Marcus, is it too late to add this fix to 1.3 ?
>>>> Its kind of critical one.
>>> This would be so cool :)
>> Ok, I am doing an update for this and the transcript.
> Great. Let me know when I should update the image for the Moose builds.
>> Marcus Denker -- http://www.marcusdenker.de
>> INRIA Lille -- Nord Europe. Team RMoD.
> "When people care, great things can happen."
Igor Stasenko AKA sig.
More information about the Pharo-dev