GNOME Bugzilla – Bug 95447
mouse buttons should be passed only in raw mode
Last modified: 2006-04-10 11:14:31 UTC
Package: vte Severity: normal Version: 0.9.0 Synopsis: mouse buttons should be passed only in raw mode Bugzilla-Product: vte Bugzilla-Component: VteTerminal Description: Description of Problem: when in cooked mode (e.g. in bash), vte passes ESC sequences when clicking on mouse buttons (or when using the wheel). It should do that only when apps request it, i.e. when in raw mode (e.g. in VIM) Steps to reproduce the problem: 1. open a gnome-terminal compiled with vte 2. click with the mouse Actual Results: ESC sequences entered on the command prompt Expected Results: nothing How often does this happen? always ------- Bug moved to this database by unknown@bugzilla.gnome.org 2002-10-10 20:09 ------- Reassigning to the default owner of the component, nalin@redhat.com.
Can't reproduce this here unless an app switches to mouse mode and doesn't switch back before exiting.
You're right, the problem is with apps switching modes. In fact, it's easily reproduceable with VIM. But then, why does ZVT switch back rightly ? I suspect VTE logic to switch back to "cooked" mode has a problem. When launching VIM, gnome-terminal outputs ten lines like that: ** (gnome-terminal:9049): WARNING **: No handler for control sequence `device-control-string' defined. Maybe it's related ?
Following the above discussion I have marked this as confirmed. Notes: Added GNOMEVER2.2 and bugsquad keywords.
I don't see those warnings, nor do I see anything output on the screen when I click on it after running vim. Can we close this bug?
This is a dupe of #86943 and #82873, which are closed.
*** This bug has been marked as a duplicate of 86943 ***