Hello !
On a wide display my konsole window has more than 223 columns. So all the mouse events (clicks and mouse wheel scrolling) with column coordinate bigger than 223 are getting corrupted.
As a result VIM receives wrong mouse event coordinates. This is not a VIM specific problem, because VIM works fine in xterm window on the same machine (with the same settings as usual).
I compiled a testing ncurses application from here https://stackoverflow.com/questions/47256750
It reports corrupted coordinates if running in xterm with TERM=xterm but it reports right values when running in xterm with TERM=xterm-1006 (exactly as it is intended to work). Alas in konsole this application either reports corrupted coordinates with TERM=xterm or doesn't recognize mouse events at all with TERM=xterm-1006
Maybe someone knows how to get mouse events reported properly ?
Cheers,
Ilya D.