User forums > Using Code::Blocks
Slow scrolling? [Ubuntu]
MortenMacFly:
--- Quote from: jens on September 06, 2012, 05:42:49 am ---Until then every DoPaint-call which ended with paintState abandone did a Refresh() of the control.
--- End quote ---
Wait a sec... you should also have a look at the scintilla repo. From what I see there is a bugfix recently which may cover this, too (I am unable to present a link to a diff though). Or is this really a wxScintilla issue?
Jenna:
--- Quote from: MortenMacFly on September 07, 2012, 12:06:32 pm ---
--- Quote from: jens on September 06, 2012, 05:42:49 am ---Until then every DoPaint-call which ended with paintState abandone did a Refresh() of the control.
--- End quote ---
Wait a sec... you should also have a look at the scintilla repo. From what I see there is a bugfix recently which may cover this, too (I am unable to present a link to a diff though). Or is this really a wxScintilla issue?
--- End quote ---
It might be a scintilla issue, but it's discovered by a change in wxScintilla.
I try if I find the bugfix you mentioned.
Jenna:
The only thing I can find in scintillas repo, what is related to painting and comes after the source was tagged to 3.2.2 is this:
http://scintilla.hg.sourceforge.net/hgweb/scintilla/scintilla/rev/c39df2a9f97a
But it is gtk3 and toolbar retlated and does not change anything.
MortenMacFly:
--- Quote from: jens on September 07, 2012, 12:53:23 pm ---http://scintilla.hg.sourceforge.net/hgweb/scintilla/scintilla/rev/c39df2a9f97a
But it is gtk3 and toolbar related and does not change anything.
--- End quote ---
Yes, that's what I meant. I did only recall the part with "paintAbandoned". So its not related... that's fine.
dmoore:
I think it must be a wxScintilla issue. I got some help from the scintilla developer here
For some reason the DoFullPaint after the paintAbandoned in DoPaint doesn't seem to do a full redraw. (As we've been discussing, you can see the changes to DoPaint that might be causing this here). I wonder if the full redraw might be somehow being clipped because they need to reset the clip area? (Pure speculation)
Navigation
[0] Message Index
[#] Next page
[*] Previous page
Go to full version