With both CB 8.xx and 10.05, my source editor pane corrupts text frequently during scrolling.
This results in an editor pane that looks like a corrupted image, with half lines of text being repeated, etc...
Clicking the mouse in the editor pane, to double click a word, or drag-select some text, or similar action, usually causes a refresh which removes the corruption.
Research on the internet did suggest that there was a similar problem with wxWidgets at some point, but I'm reasonably sure that this didn't start happening until after I installed a new graphics card (6870).
Updating to 10.05 did not resolve the issue, neither did reinstalling the graphics drivers (Catalyst 10.10b Hotfix). I'm using a custom syntax highlighting color scheme, and Consolas (at 16 or 18 pt, IIRC), in case it matters.
Have not tested the PCs RAM, going to do that tonight, but I can only reproduce the problem with CB.
Any suggestions appreciated...
Try Scite, it uses the same (almost) component for the editor.
Another thing you could try is CodeLite, I think it also uses wxScintilla for its editor.
Minimizing and resuming should fix it too.
But that's of course just a workaround, not a fix.
If I understand correctly, the issue starts after installing a new graphics card.
Seems to be an ATI/AMD problem: see here: http://www.overclock.net/ati/850691-official-amd-radeon-hd-6850-6870-a-130.html#post11460642 (http://www.overclock.net/ati/850691-official-amd-radeon-hd-6850-6870-a-130.html#post11460642) .
And after reading more of the thread, I think either the HD6870 or the drivers are not really stable.
If that's the case, we will (most likely) not be able to (easily) fix this.
Thanks, folks.
The 6870 is so new that Catalyst 10.11 doesn't even support it (I tired that, too :D).
I'll see what 10.12 brings, it does look like it's up to AMD to sort out.
At least I can probably skip testing my RAM...
Cheers!
Couldn't reproduce with Catalyst 10.12, problem appears sorted.
i recently update to ubuntu 11.04 and i also started having this 'scrolling-text-corruption' problem. i am using nvidia drivers 270.41.06
if somebody has found any solution to this, please share..
thanks
I too am seeing this problem. It started when I upgraded Ubuntu from 10.10 to 11.04. I have tried removing and then reinstalling codeblocks and the problem remains.
Talk to the ubuntu devs, this seems like a driver bug.
Do you use compositing?
I'm on gentoo and see no problems (nvidia 270.41.03)
I am running Ubuntu 11.04 in a vm on a macbook pro. When I was running codeblock in 10.10 I did not have this problem.
I just had the same problem with corrupted lines in the Code::Blocks editor after updating from Ubuntu 10.10 to Ubuntu 11.04 and changing from an ATI to an NVidia graphics card. I disabled Unity unintentionally and had to reset it with
unity --reset
from the command line. Although I do not know why, but this also made the editor problem disappear.
Quote from: oBFusCATed on May 02, 2011, 09:22:11 PM
Talk to the ubuntu devs, this seems like a driver bug.
Do you use compositing?
I'm on gentoo and see no problems (nvidia 270.41.03)
yes i am, i guess it is required by Docky and other compiz eye candies.
but then i have been using composting when i was at 10.10 and previously i never had any problem.
Composite was on before resetting unity and it is still enabled after the reset. Now the bug disappeared, i.e. in my case it did not influence the bug.
BTW: My NVidia driver version also is 270.41.06.
For me running in a vm on a MacBook Pro this does not seem to be a unity issue in Ubuntu 11.04. I have tried all display modes (ie. Ubuntu (unity), Ubuntu Classic, etc) and I am still seeing the issue. I had high hopes that Ubuntu Classic would resolve the issue but it did not.
Does Scite work correctly?
SciTE works. No scrolling problems in the editor. The display mode I am currently using in Ubuntu 11.04 is Ubuntu Classic.
i think this problem has vanished somehow may be because of some regular update.
So guys whoever of you are having this scrolling problem run system update btw i am using codeblocks 10.05 svn version http://apt.jenslody.de/ (http://apt.jenslody.de/)
with latest wx stuff
Update for Ubuntu 11.04 users... Editor scrolling problem is gone after doing a SW update from the update manager. Life is good (again) in CodeBlocks land