GNOME Bugzilla – Bug 736447
Mouse mode 1003 is unlike xterm
Last modified: 2021-06-10 14:56:02 UTC
vte says: 1002: Cell motion tracking. 1003: All motion tracking. xterm says: #define SET_BTN_EVENT_MOUSE 1002 #define SET_ANY_EVENT_MOUSE 1003 1002 is the same in vte and xterm. In xterm, 1003 is different from 1002 so that movement is reported even if no button is pressed - but it's still only reported if the mouse is moved to another cell. In vte, 1003 reports movement even if no button is pressed, moreover, even if the mouse stays in the current cell (it reports the same coordinates again). So it's different from 1002 in two aspects. Some terminals, e.g. konsole reports movements within the same cell, but then it does it for both 1002 and 1003. So apparently the intended difference between 1002 and 1003 is _not_ cell motion vs. all motion, it is whether to report movement if no button is pressed. ctlseqs.txt says Ps = 1 0 0 2 -> Use Cell Motion Mouse Tracking. Ps = 1 0 0 3 -> Use All Motion Mouse Tracking. which seems to be buggy. (Or is xterm broken??)
See also bug 745074.
-- GitLab Migration Automatic Message -- This bug has been migrated to GNOME's GitLab instance and has been closed from further activity. You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.gnome.org/GNOME/vte/-/issues/2133.