GNOME Bugzilla – Bug 161479
Scroll wheel generates Release events
Last modified: 2007-01-22 01:34:25 UTC
Vte generates release events when using the scroll wheel over a VteTerminal widget and the application running inside supports xterm mouse escape codes. This breaks several apps, most notable it breaks mc, which doesn't expect release events for scroll wheel up/down. Neither xterm nor konsole (haven't checked other terminal emulators) send release events, so I suspect most terminal apps won't expect to ever receive them. To see the problem, open mc in a VteTerminal and scroll up/down fast; mc will open random files/directories.
Created attachment 34912 [details] [review] Proposed fix This patch fixes the problem. Can somebody with GNOME commit bits please apply this trivial patch?
r1489: 2007-01-22 Chris Wilson <chris@chris-wilson.co.uk> Bug 161479 – Scroll wheel generates Release events vte sends release events on scroll but xterm doesn't which breaks mc among others. Patch by Benedikt Meurer. * src/vte.c: (vte_terminal_scroll): Remove the offending release event.