Bug 99794 - Mouse resizing of split VIM windows works in XTerm, but not in Konsole
Summary: Mouse resizing of split VIM windows works in XTerm, but not in Konsole
Status: RESOLVED FIXED
Alias: None
Product: konsole
Classification: Applications
Component: general (show other bugs)
Version: unspecified
Platform: Gentoo Packages Linux
: NOR normal
Target Milestone: ---
Assignee: Konsole Developer
URL:
Keywords:
: 103180 (view as bug list)
Depends on:
Blocks:
 
Reported: 2005-02-19 16:37 UTC by Artjom Simon
Modified: 2006-07-20 18:31 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Artjom Simon 2005-02-19 16:37:19 UTC
Version:            (using KDE KDE 3.3.92)
Installed from:    Gentoo Packages
Compiler:          gcc 3.4.3 20050110 
OS:                Linux

1. Open Konsole.
2. Type 'vim' and hit enter.
3. Open a split view in VIM typing ':sp' and hit enter.
4. You see a horizontal line in the middle of the window.
Try to drag this line with your mouse. It doesn't work.

5. Do the same in xterm. You can drag the line and resize the two views.

Other mouse-based work (visual mode in vim, copy&paste, etc) works flawlessly.

I know this worked in an older version of konsole, i'm not sure what caused it to stop working.
I already compiled vim with all possible flag combinations: with X, without it, with gpm, nothing helps.

Any ideas?
Comment 1 Kurt Hindenburg 2005-02-20 19:52:57 UTC
I think I recall this working in Konsole also (3.3.x?).  A lot of things have changed for 3.4.
Comment 2 Kurt Hindenburg 2005-04-07 06:43:27 UTC
*** Bug 103180 has been marked as a duplicate of this bug. ***
Comment 3 Bastian Venthur 2005-10-10 13:26:23 UTC
Same here with kde 3.4.2 on debian/sid. Resizing the windows is the only option where even the vim-devs admit, that a mouse is usefull -- but with console you're bound to the keyboard-shortcuts, which is very frustrating.
Comment 4 Artjom Simon 2006-03-03 21:42:48 UTC
The problem still persists in Konsole 1.6 / KDE 3.5.1, more than one year after reporting..
Comment 5 Artjom Simon 2006-05-10 01:45:07 UTC
Just to keep it up to date:

Konsole 1.6.2 and vim 7.0 - still no luck.

Comment 6 Robert Knight 2006-07-20 18:31:04 UTC
Hi,

There are 4 different mouse modes which xterm supports.  Konsole in KDE 3.5 only handles one of them (which handles basic button presses and releases)

Konsole SVN (ie. Konsole for KDE 4) adds support for at least one more which handles button-dragging, so this Vi feature works properly.  There are still two more modes which are not yet handled, but I think they are less widely used (one is for something called "mouse highlight tracking", the other is a slight variation on mouse button dragging)

I don't know why it worked in earlier versions, I'm guessing that a large chunk of code was rewritten or refactored and this feature was not re-implemented.