User forums > Using Code::Blocks
Slow scrolling? [Ubuntu]
secks:
--- Quote from: jens on July 17, 2012, 04:52:39 pm ---I don't have a slowdown here, so it might be related to the graphics driver.
Did you test it with pure scite, so no wxwidgets-stuff is between scintilla and the system ?
--- End quote ---
I'm on Mint 12 - Lisa (oneiric) .. Using i7 intel video .. I installed scite from the repo (Version: 2.25-1) .. The scrolling is very fast (around 200-250 lines per full wheel) where c::b only does around 20
EDIT: also, another employee here has a nvidia geforce 8600 gts .. it's not the beefiest card, but that thing is only scrolling a few lines at a time ..
secks:
I install juffed and eric (qscintilla) .. those are slow too .. both are at ~50 lines
Kalith:
--- Quote from: secks on July 17, 2012, 04:39:22 pm ---This sounds like the culprit .. So it must be overhead from c::b that causes the events to hang and be discarded ..
--- End quote ---
I'd say the fact that C::B scrolls slowly is a single symptom of a more general problem, that is the overall slowdown of the whole IDE when dealing with text rendering. I don't code on linux no more these days, but from what I recall, selecting and even typing text could become laggy (I wrote it in my first post in this topic, by the way, and also here).
dmoore:
--- Quote from: jens on July 17, 2012, 04:52:39 pm ---
--- Quote from: dmoore on July 17, 2012, 04:13:25 pm ---
--- Quote from: jens on July 17, 2012, 07:17:04 am ---If I remember correctly there are two different issues:
* the scrolling is slow, even if the scrollbar is dragged
* the scrolling in priciple is fast enough, but the amount of lines scrolled per mousewheel-delta is very low
--- End quote ---
The first issue is the higher priority for me. On low end hardware, scrolling performance sucks (It's still noticeable, but good enough for me on my desktop). Others might feel more strongly about the mousewheel-delta.
--- End quote ---
I don't have a slowdown here, so it might be related to the graphics driver.
--- End quote ---
Yes tested on various scintilla based editors, which were by and large free of the issue (I don't think I ever got around to testing the wxWidgets sample, but will do). My suspicion is that it is something specific to the wxWidgets wrapper. The bug fix implemented for that ticket #9057 is probably just masking the real bug (or performance problems) in the rendering/event pipeline.
p2rkw:
So, it seems that is only linux related bug. Maybe its problem of wxGtk: http://comments.gmane.org/gmane.comp.lib.wxwidgets.devel/12412 and http://old.nabble.com/why-do-wxMac-and-wxGTK-always-erase-window-background--td20532056.html ?
btw. I can't find PlatGTK.cxx, found only PlatWX.cxx. What's location of this file?
Navigation
[0] Message Index
[#] Next page
[*] Previous page
Go to full version