Bug 156171 - tabs color highlighting takes 100% cpu
Summary: tabs color highlighting takes 100% cpu
Status: RESOLVED FIXED
Alias: None
Product: kate
Classification: Applications
Component: general (show other bugs)
Version: unspecified
Platform: Compiled Sources Linux
: NOR normal
Target Milestone: ---
Assignee: KWrite Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-01-19 14:51 UTC by Carlo Segato
Modified: 2008-01-22 11:20 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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