uiacceltk/hitchcock/coretoolkit/src/HuiDisplay.cpp
branchRCL_3
changeset 9 3ac8bf5c5014
parent 8 46927d61fef3
child 10 7c5dd702d6d3
--- a/uiacceltk/hitchcock/coretoolkit/src/HuiDisplay.cpp	Wed Apr 14 16:53:50 2010 +0300
+++ b/uiacceltk/hitchcock/coretoolkit/src/HuiDisplay.cpp	Tue Apr 27 17:34:42 2010 +0300
@@ -706,7 +706,7 @@
             RosterImpl().ScanDirty();	         	      
             }   
 
-        if (!useDirtyRects || cantUseDirtyRectsInThisFrame || iEnv.EffectsEngine()->HasActiveEffects()) 
+        if (!useDirtyRects || cantUseDirtyRectsInThisFrame || iEnv.EffectsEngine()->HasActiveEffects() || RosterImpl().IsVisibleContentFrozen()) 
          	{         	
 	        // Just redraw everything
 	        iCurrentDirtyRegions->Reset();
@@ -759,7 +759,9 @@
 	// need to clear the screen as fade effect uses
 	// always blending. If we do not clear here
 	// fade leaves trails in certain situations.
-	if (iEnv.EffectsEngine()->HasActiveFadeEffect())
+	if (iEnv.EffectsEngine()->HasActiveEffects() 
+	        || RosterImpl().IsVisibleContentFrozen() // guaranteen, that transparent pixels of the UI surface are drawn correctly during layout switch.
+	        )
 	    {
         iGc->SetPenColor(KRgbBlack);
         iGc->SetPenAlpha(0);