diff -r a47de9135b21 -r 6ceef9a83b1a textinput/peninputarc/src/peninputclient/penclientimpl.cpp --- a/textinput/peninputarc/src/peninputclient/penclientimpl.cpp Fri Mar 12 15:44:07 2010 +0200 +++ b/textinput/peninputarc/src/peninputclient/penclientimpl.cpp Mon Mar 15 12:42:02 2010 +0200 @@ -29,6 +29,9 @@ #include #include #include "peninputclient.h" +#ifndef FIX_FOR_NGA +#define FIX_FOR_NGA +#endif const TUint KDefaultMessageSlots = 4; const TInt KMaxSupportLanguages = 100; @@ -374,7 +377,16 @@ else //undim the window { if(iBackgroundCtrl) - iBackgroundCtrl->Hide(); +#ifdef FIX_FOR_NGA + { + delete iBackgroundCtrl; + iBackgroundCtrl = 0; + } +#else + { + iBackgroundCtrl->Hide(); + } +#endif } } // --------------------------------------------------------------------------- @@ -1498,11 +1510,14 @@ Window().SetOrdinalPosition(0,aPriority); - Window().SetFaded(ETrue,RWindowTreeNode::EFadeWindowOnly); + // For fix ELLI-82JD3K for tb92. + // The code runs well on 5.0 platform, but on tb92, + // it will make the backgourd screen black purely. + //Window().SetFaded(ETrue,RWindowTreeNode::EFadeWindowOnly); } else { - Window().SetFaded(ETrue,RWindowTreeNode::EFadeWindowOnly); + Window().SetFaded(ETrue,RWindowTreeNode::EFadeWindowOnly); } Window().Invalidate();