User forums > Using Code::Blocks
Too slow cursor moving (Linux)
xintrea:
--- Quote from: MortenMacFly on October 25, 2007, 01:10:25 pm ---
--- Quote from: xintrea on October 25, 2007, 12:57:46 pm ---What can says, looking at this data?
--- End quote ---
It says everything is fine. We have an event based UI application here.
--- End quote ---
But editing working slow..
- Doctor, I was ill!
- It just seems you. You are well!
dmoore:
--- Quote from: xintrea on October 25, 2007, 01:30:23 pm ---select "Notes" tab, open multiline textarea. In this textarea editing work excellent.
--- End quote ---
try profiling the notes editor and compare the timing
eranif:
Quick shot in the dark:
Does line wrapping is enabled? (long lines diplays on a multiple lines, without horizontal scrollbar)
If it does, disable it and try typing again :D
EDIT:
About the note editor:
Is it wxScintilla based? if not, then there is nothing to compare between the two.
Eran
dmoore:
xintrea: when you profiled did you have all plugins disabled?
--- Quote from: eranif on October 25, 2007, 03:07:18 pm ---About the note editor:
Is it wxScintilla based? if not, then there is nothing to compare between the two.
--- End quote ---
As noted in quotes above, poster rotalever did have some troubles with other non-scintilla rich text controls, so I thought this might be relevant for comparison. i.e. what does "normal" event activity look like
xintrea: you could also try testing and profiling scite (although it isn't a wxwidgets app)
CABAListic:
I'm also one of those poor guys experiencing a lagging editor component. However, I might have some new insight.
On my two desktop computers I have installed Kubuntu 7.04, and both are experiencing the problem. Recently, though, I installed Ubuntu 7.10 on my laptop, and it does *not* suffer from this issue. So basically there are three major differences between my desktop PCs and the laptop:
1. Desktops are using Kubuntu (KDE), the laptop is using Ubuntu (Gnome).
2. Desktops are at version 7.04, laptop at 7.10.
3. Desktops are AMD systems, the laptop is Intel.
So for a quick test I did the following on my desktop: xinit codeblocks -- :1
So I get a second X server running only codeblocks, no KDE or whatsoever, and guess what? The issue went away. On that second pure X server the editor component runs as I would expect it to, no lag when moving cursor, selecting text or whatever.
I'm not saying the problem is with KDE, but obviously something in the background does interfere with CodeBlocks on the same X server. As of yet I don't have a clue what it is. Maybe others experiencing the problem could also try the xinit thing, so we can get this tracked down finally.
Navigation
[0] Message Index
[*] Previous page
Go to full version