Maybe I don't understand the problem.  After everything gets validated
and the app is idle, the redraw region should be empty, but until then,
the redraw region can be the whole stage.  Are you saying that the
redraw region is always the full stage?

 

-Alex

 

________________________________

From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of Carl-Alexandre Malartre
Sent: Thursday, February 21, 2008 12:17 PM
To: flexcoders@yahoogroups.com
Subject: RE: [flexcoders] What could make a deleted modal popup redraw
the whole screen?

 

But it should get back to normal after the invalidation and it's redraw,
no?

 

Thanks,
Carl

Carl-Alexandre Malartre
Directeur de projets, Scolab
514-528-8066, 1-888-528-8066

Besoin d'aide en maths?
www.Netmaths.net

 

From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of Alex Harui
Sent: Thursday, February 21, 2008 1:26 PM
To: flexcoders@yahoogroups.com
Subject: RE: [flexcoders] What could make a deleted modal popup redraw
the whole screen?

 

We often invalidate the stage to pump the validation system.  It doesn't
affect performance per-se.  Only components that need validation get
tickled, and the player renderer is usually pretty fast.

 

________________________________

From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of Carl-Alexandre Malartre
Sent: Wednesday, February 20, 2008 1:44 PM
To: flexcoders@yahoogroups.com
Subject: RE: [flexcoders] What could make a deleted modal popup redraw
the whole screen?

 

Hi Alex,

 

Thanks for the quick reply. I now understand that, but once the shield
is removed, "Right-click Show redraw region" should show a normal
behaviour. Currently it shows that the whole app is redrawing.

 

Thanks,
Carl






 

From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of Alex Harui
Sent: Wednesday, February 20, 2008 3:48 PM
To: flexcoders@yahoogroups.com
Subject: RE: [flexcoders] What could make a deleted modal popup redraw
the whole screen?

 

Modality is emulated by putting a semi-transparent "shield" over the
entire screen below the popup.  When it goes away, everything is
re-rendered, but your drawing code won't get called unless something
resized so it shouldn't be slow.

 

________________________________

From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of cmalartre
Sent: Wednesday, February 20, 2008 11:22 AM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] What could make a deleted modal popup redraw the
whole screen?

 

Dear good fellow coders,

Simple problem with modal popups:

1) Right-click Show redraw region
2) Only part of the app are bordered red
3) Create popup with modal=true
4) Delete popup with PopupManager.removePopup(this)
5) Right-click Show redraw region
6) Whole app is always redrawn. The stage's borders are red. Must be
slow!

We do a Show Redraw region and the whole app is always redrawn. Bring
me to tears!

No bugs when the PopUp is not modal. When I create a new project, I'm
unable to reproduce the bug.

What could I test? How can I find what is making the whole stage redraw?

Thanks
Carl

 

Reply via email to