[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-commits
Subject:    branches/KDE/3.5/kdebase/libkonq
From:       David Faure <faure () kde ! org>
Date:       2005-12-14 1:04:20
Message-ID: 1134522260.760653.31990.nullmailer () svn ! kde ! org
[Download RAW message or body]

SVN commit 488327 by dfaure:

Fix the ugly flicker when activating a konqueror window showing an iconview.
Very tricky bug; with a very simple fix.
QWidget::windowActivationChange would lead to a full iconview update() simply
because it things that the colorgroup for active is different from the colorgroup
for inactive... But it's not really, it's just qpixmap==qpixmap that was failing.


 M  +2 -1      konq_propsview.cc  


--- branches/KDE/3.5/kdebase/libkonq/konq_propsview.cc #488326:488327
@@ -548,7 +548,8 @@
         // e.g. the rename textedit widget when renaming a QIconViewItem
         // Qt-issue: N64698
         if ( ! pix.isNull() )
-            widget->setPaletteBackgroundPixmap( pix );
+            widget->setBackgroundPixmap( pix );
+        // setPaletteBackgroundPixmap leads to flicker on window activation(!)
     }
 
     if ( m_textColor.isValid() )
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic