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

List:       kwrite-devel
Subject:    Re: m_fileList->repaint()
From:       Andreas Pakulat <apaku () gmx ! de>
Date:       2008-11-10 15:15:11
Message-ID: 20081110151511.GA9417 () morpheus ! apaku ! dnsalias ! org
[Download RAW message or body]

On 10.11.08 11:10:09, Will Angenent wrote:
> Hi,
> 
> I'm trying to improve Kate so that the filelist is more responsive when 
> I use the alt-arrow keys to switch files. As it is, the title caption is 
> repainted immediately, but the fileList is very slow to be updated. This 
> makes it very difficult to quickly scroll through a list of open files. 
> If I add m_fileList->repaint() to the same place in the code as 
> setCaption, the filelist is updated as expected, but it takes ages to go 
> from one file to the next in the fileList. I didn't expect a repaint() 
> to be such a huge performance hit. I've got compositing turned off, by 
> the way so it's not related to that. Any idea on how best to handle this?

Run valgrind to check where the filelist spends so much time.  How large is
your filelist (I mean how many files)?

Andreas
 
-- 
Do what comes naturally.  Seethe and fume and throw a tantrum.
_______________________________________________
KWrite-Devel mailing list
KWrite-Devel@kde.org
https://mail.kde.org/mailman/listinfo/kwrite-devel
[prev in list] [next in list] [prev in thread] [next in thread] 

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