[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-core-devel
Subject: Re: [Konsole-devel] [Bug 69587] session tabs flicker too much with
From: John Firebaugh <jfirebaugh () kde ! org>
Date: 2003-12-05 4:59:50
[Download RAW message or body]
On Wednesday 03 December 2003 1:33 pm, Casey Allen Shobe wrote:
> 2. On my 125MHz sparcstation, the image being redrawn to the left of the
> K-menu every time the selection changes makes the menu *very* slow and
> nearly unusable, so I have to disable the image.
This has been reported as bug #63865. Does the attached patch help?
-John
["repaint.diff" (text/x-diff)]
Index: kicker/ui/k_mnu.cpp
===================================================================
RCS file: /home/kde/kdebase/kicker/ui/k_mnu.cpp,v
retrieving revision 1.83
diff -u -3 -p -r1.83 k_mnu.cpp
--- kicker/ui/k_mnu.cpp 25 Nov 2003 16:05:11 -0000 1.83
+++ kicker/ui/k_mnu.cpp 5 Dec 2003 04:57:42 -0000
@@ -460,11 +460,17 @@ void PanelKMenu::paintEvent(QPaintEvent
QRect r = sideImageRect();
r.setBottom( r.bottom() - sidePixmap.height() );
- p.drawTiledPixmap( r, sideTilePixmap );
+ if ( r.intersects( e->rect() ) )
+ {
+ p.drawTiledPixmap( r, sideTilePixmap );
+ }
r = sideImageRect();
r.setTop( r.bottom() - sidePixmap.height() );
- p.drawPixmap( r, sidePixmap );
+ if ( r.intersects( e->rect() ) )
+ {
+ p.drawPixmap( r, sidePixmap );
+ }
drawContents( &p );
}
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic