User forums > General (but related to Code::Blocks)
CodeBlocks keyboard input really slow on Mac OS X 10.6.3 – Not sure why.
oBFusCATed:
You could try SCiTe, don't know if it is ported to osx... it has been ported to linux
edwin:
Hi AlisdairM,
I am glad you posted your information.
Regarding slow keyboard input:
I went through the exact same process of disabling all plugins in order to narrow down the issue. Seeing that disabling all plugins did dot remedy the situation, I only enable minimal plugins that I thought were absolutely helpful to my work while still maintaining stability of the IDE.
I am running CodeBlocks on OS X v10.6.3 on a 15” MacBook Pro. I also tried the same C::B setup on another Mac that is here but the same behavior was experienced.
I think you are correct in that it looks to be associated with wxWidgets (I use v2.8.10 for my C::B build) or something in Scintilla.
Other Notes:
When I navigate within an open source code module within CodeBlocks using arrow keys, the cursor movement is reasonable. However, when I edit the document (by typing in new code lines for example), the keyboard characters experience long delays.
It almost appears that there is some kind of “non-optimal” buffering issue when inserting characters into open files. Logically the IDE is working properly seeing it does not crash and everything I type eventually gets inserted into the open documents.
Another item to note is that cut and paste operations within the same documents also work reasonable (without large cut and paste delays). Hmmmm... strange…
Two other items:
Item 1: Code completion plugin crashing the IDE
Have you seen the “Code completion” plugin crash CodeBLocks when saving a workspace or terminating the CodeBlocks app? I see this behavior and have just been working around the issue. I have been saving crash dumps and this issue is repeatable. The call stacks all look similar.
Item 2: CodeBlocks startup is long
The startup time is extremely long. It appears that loading plugins is very slow for some reason. I did run C::B through the debugger to see what was causing the long startup times but I only had a small amount of time I could spend tracking down this issue. Unfortunately I need to have more time to complete a better analysis of what is actually going on.
My only guess is that all the plugins - as they are being loaded - have to be relocated in memory thus slowing down the entire load process. I am only guessing here but would like to know what you think.
CodeBlocks is a nice IDE and I am sure these issues can eventually be resolved considering all the hard (and great) work that has already been completed on the IDE.
Thank you,
edwin
Four:
I experience the same issues. I tried disabling all the plugins but still keyboard input is slow. Long startup time, its not that long but seeing other software with similar functionality like Geany, codeblocks should be faster. I haven't experienced codeblocks crashing. I noticed entering characters & manipulating the text is slow but selecting. text, moving the caret & etc... is fine.
Codeblocks version 10.05 Rev 0
I'm on Debian unstable
Calexus:
I have had the same problem but in winxp not osx. I didn't really think much about it as I was running codeblocks on an netbook and didn't really expect it to work flawlessly. Moving the caret using the keyboard is really slow but moving it using the mouse works as normal.
But I do have problem with scrolling being extremely slow in osx (snow leopard), I simply use the keyboard or the scrollbar instead but it's a bit annoying not being able to use the scroll wheel or multi-touch scroll.
Edit >> osx 10.6.6
MortenMacFly:
Make sure in the editor settings -> code completion you have disabled the option "update parser when typing". This would explain this slow behaviour otherwise.
Navigation
[0] Message Index
[#] Next page
[*] Previous page
Go to full version