trinity-devel@lists.pearsoncomputing.net

Message: previous - next
Month: October 2018

very wide konsole ( > 223 columns) + mouse events (machine: debian stable)

From: Ilya Dogolazky <ilya.dogolazky@...>
Date: Thu, 18 Oct 2018 14:59:34 +0300
Hello !

I'm forwarding here a message I previously sent to trinity-users list.
I think it should be consider as a bug in "konsole", if there is no
way to report a column number higher than 223.

---------- Forwarded message ---------

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.