Version: 2.1 (using 4.1.00 (KDE 4.1.0) "release 16.3", KDE:KDE4:Factory:Desktop / openSUSE_10.3) Compiler: gcc OS: Linux (i686) release 2.6.22.17-0.1-default When I'm pasting text in vim (using the middle mouse button), the cursor sometimes jumps a few lines down. This can be reproduced by selecting text fastly. Somehow the selection in konsole lags behind the mouse cursor. If the middle mouse button is hit before konsole is up-to-date with the selection, the mouse cursor will jump after vim inserted the text.
The effect seams to be easier to reproduce on a composited desktop. (using a Intel 82865G graphics chipset).
Do you have mouse functionality enabled in Vim? If you're not sure - see whether holding the shift key down before and during making a selection makes any difference.
Yes, I have 'set mouse=v' enabled.
Removing the 'set mouse' line, or holding shift down doesn't fix this bug unfortunatly.
Can you still reproduce this bug with a recent KDE version? (4.1.3 / 4.2beta2 / 4.2svn) ? Thanks :)
I can reproduce on 4.3.2 (Debian unstable).
It looks like this is caused by Konsole responding to a scroll-wheel event, things are a bit too sensitive / it's easy to scroll acidently while doing a middle-click with the scrollwheel.
Nope, in xterm or gnome-terminal such thing never happens, it's konsole-related issue. Also it's never occures in other console apps but vim. Also it occures in certain cases, for example, while editing large files$ on small files it never happen. Also it scroll always in the same direction.
So what about fixing this bug? It's absolutely not related to accidental scrolling event, it occurs for middle click from touchpad e.g. And never happen in other apps except vim.
Bug is still here, please take a look.
(In reply to comment #10) > Bug is still here, please take a look. I would like to, but I failed to reproduce the problem. I guess that is why this report is still 'UNCONFIRMED' 3 years later. Could you please provide clear and concrete steps to reproduce the problem in HIGH probability?
Created attachment 64513 [details] .vimrc file for VIm to reproduce bug
Created attachment 64514 [details] sampe python file to reproduce bug
So to reproduce the bug perform these steps: 1. Copy attached .vimrc to ~/.vimrc (or use any other way to make vim us this file as config) 2. Copy attached python file () 3. Open setupscons.py in VIm in konsole tab 4. Scroll to the middle of text, enter edit mode 5. Hold Shift key and copy some charcters to the clipboard 6. Click Middle mouse button some times, text should be pasted ok 7. Now switch mouse mode in the editor: exit to normal mode and execute command ":set mouse=a" 8. Enter edit mode and repeat steps 5,6 some times After some pastes text scrolls one line down sometimes.
OK, I think I finally notice this problem when using vim. No idea about the root cause at the moment, though.