Page 1 of 1
Editor extemely slow
Posted: Fri Nov 20, 2009 8:51 pm
by OLiverr
Hi,
I tried the new 2.0 version with Ubuntu 9.10 and the editor (i.e. scrolling and so on) is extremely slow. But it occurs only when there is text in the window, i.e. if I just insert newlines, the scrolling is smooth. This problem did't exist in the last 1.0 release and I wonder if I did something wrong?
Re: Editor extemely slow
Posted: Fri Nov 20, 2009 10:42 pm
by eranif
Can u build codelite from sources?
If you can, please change the code in scintillawx.cpp line 3112 and replace the function:
Code: Select all
void wxScintilla::OnPaint (wxPaintEvent& WXUNUSED(evt))
{
#ifdef __WXGTK__
// On Mac / Windows there is no real need for this
wxBufferedPaintDC dc(this);
#else
wxPaintDC dc(this);
#endif
m_swx->DoPaint (&dc, GetUpdateRegion().GetBox());
}
with this:
Code: Select all
void wxScintilla::OnPaint (wxPaintEvent& WXUNUSED(evt)) {
wxPaintDC dc(this);
m_swx->DoPaint (&dc, GetUpdateRegion().GetBox());
}
Does it help? (this is the only change relevant done in comparison between 1.0 and 2.0)
Note that undoing the change will cause a flicker on Ubuntu 9.10 when matched braces are highlighted.
EDIT: What is your Linux box configuration? I am using 9.10 (both 32 and 64 bit) myself with Compiz enabled - and it runs smoothly with no problems whatsoever.
Eran
Re: Editor extemely slow
Posted: Fri Nov 20, 2009 11:28 pm
by OLiverr
I applied the change (you meant wxscintilla.cpp, didn't you?) but it has no effect. I also tried it with Compiz enabled but it's the same result.
I have an Ubuntu 9.10 32Bit, Pentium 4 3GHz HT, tested both the source and the .deb version. I also have a very high CPU use when I scroll but that's obvious, anyway, I think.
Re: Editor extemely slow
Posted: Mon Nov 23, 2009 4:26 pm
by jale
Hi,
I tryed to work with kubuntu 9.10 (ubuntu with kde instead of gnome)
CodeLite was too slow, but the probem wasn't of codelite
In general, many things worked very slow, including konqueror and aplications painting on screen
Now, I went back to kubuntu 9.04 with the last codelite version and everything is working perfect
bye
Re: Editor extemely slow
Posted: Mon Nov 23, 2009 5:05 pm
by eranif
Good to hear that, but I think that you should report this bug to Ubuntu (dont let this error go unnoticed)
Eran