Bug 156171

Summary: tabs color highlighting takes 100% cpu
Product: [Applications] kate Reporter: Carlo Segato <brandon.ml>
Component: generalAssignee: KWrite Developers <kwrite-bugs-null>
Status: RESOLVED FIXED    
Severity: normal    
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: Compiled Sources   
OS: Linux   
Latest Commit: Version Fixed In:

Description Carlo Segato 2008-01-19 14:51:12 UTC
Version:            (using Devel)
Installed from:    Compiled sources
OS:                Linux

when i highlight a tab with a color, xorg uses 100% cpu. I'm using xorg 7.3 from debian unstable
Comment 1 Mirko Stocker 2008-01-21 08:08:25 UTC
Hm, could you please be a little bit more specific? How do you highlight a tab? Do you change the color schema? Thanks :)
Comment 2 Carlo Segato 2008-01-21 12:45:36 UTC
in the tab bar extension if you right click on a tab you can choose highlight, or if you open tab bar config under style you can highlight the last used tab etc.. of course all of this in kate for kde4 not 3.5
Comment 3 Carlo Segato 2008-01-22 02:20:59 UTC
the bug is in ktinytabbutton.cpp void KTinyTabButton::paintEvent( QPaintEvent* ev )
paintEvent QPushButton::paintEvent( ev ); is called inside so it creates an infinite loop 
Comment 4 Mirko Stocker 2008-01-22 08:45:02 UTC
Ah in the tabbar extension :) I was thinking about tab-characters, sorry.
Comment 5 Dominik Haumann 2008-01-22 11:18:33 UTC
SVN commit 764669 by dhaumann:

fix 100 % cpu usage when highlighting tabs.
BUG: 156171


 M  +0 -2      ktinytabbutton.cpp  


WebSVN link: http://websvn.kde.org/?view=rev&revision=764669
Comment 6 Dominik Haumann 2008-01-22 11:20:21 UTC
SVN commit 764670 by dhaumann:

backport: fix 100 % cpu usage when highlighting tabs.
CCBUG: 156171


 M  +0 -2      ktinytabbutton.cpp  


WebSVN link: http://websvn.kde.org/?view=rev&revision=764670