--- a/uiacceltk/hitchcock/coretoolkit/src/HuiDisplay.cpp Wed Mar 31 23:03:58 2010 +0300
+++ b/uiacceltk/hitchcock/coretoolkit/src/HuiDisplay.cpp Wed Apr 14 16:53:50 2010 +0300
@@ -754,6 +754,21 @@
iGc->SetPenColor(iBackgroundColor);
iGc->InitNewFrame();
+
+ // if there is a fade effect in progress, we
+ // 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())
+ {
+ iGc->SetPenColor(KRgbBlack);
+ iGc->SetPenAlpha(0);
+ iGc->Disable(CHuiGc::EFeatureClipping);
+ iGc->Disable(CHuiGc::EFeatureBlending);
+ iGc->Clear();
+ }
+
+
if ( iDrawDirtyRegions )
{
// Show dirty.
@@ -1041,6 +1056,12 @@
iClearBackground = aClearBackground;
iBackgroundItems.Reset();
+
+ // release background texture if clearing is set to None
+ if(aClearBackground == EClearNone)
+ {
+ iEnv.Skin().ReleaseTexture(EHuiSkinBackgroundTexture);
+ }
}