After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 161479 - Scroll wheel generates Release events
Scroll wheel generates Release events
Status: RESOLVED FIXED
Product: vte
Classification: Core
Component: general
0.11.x
Other FreeBSD
: Normal trivial
: ---
Assigned To: VTE Maintainers
VTE Maintainers
Depends on:
Blocks:
 
 
Reported: 2004-12-16 20:26 UTC by Benedikt Meurer
Modified: 2007-01-22 01:34 UTC
See Also:
GNOME target: ---
GNOME version: 2.9/2.10


Attachments
Proposed fix (768 bytes, patch)
2004-12-16 20:27 UTC, Benedikt Meurer
committed Details | Review

Description Benedikt Meurer 2004-12-16 20:26:17 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.
Comment 1 Benedikt Meurer 2004-12-16 20:27:32 UTC
Created attachment 34912 [details] [review]
Proposed fix

This patch fixes the problem. Can somebody with GNOME commit bits please apply
this trivial patch?
Comment 2 Chris Wilson 2007-01-22 01:34:25 UTC
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.