I've been finding that mouse integration appears to unpredictably interfere with the XTest extension for X11 (allows faking mouse-button events and mouse movement; xdotool uses it). On some of my VMs, trying to fake button events other than button 1 results in an X11 error claiming that the button doesn't exist. On others it works. On some VMs, including one where button events work, faking mouse movement doesn't. XTest works just fine if I turn mouse integration off.
Easiest way to verify is to install xdotool if you don't already have it and then try
xdotool mousedown 3 mouseup 3
which should simulate a right click. Then try
xdotool mousemove 500 500
which should move the pointer to (500,500) on the screen.
I'm using 3.2.4 r62467 on an XP host with various Linux guests.
Mouse integration and XTest
-
Technologov
- Volunteer
- Posts: 3342
- Joined: 10. May 2007, 16:59
- Location: Israel
Re: Mouse integration and XTest
Please open bug on this in VBox bugzilla. Drop link here.
I am not sure if this is a bug or an architectural limitation, however.
I am not sure if this is a bug or an architectural limitation, however.
-
ebohlman
- Posts: 3
- Joined: 25. Jun 2010, 12:54
- Primary OS: MS Windows XP
- VBox Version: VirtualBox+Oracle ExtPack
- Guest OSses: Debian, Ubuntua, Fedora, OpenSuse, Arch
Re: Mouse integration and XTest
I can't seem to figure out how to get into bugzilla.
-
Technologov
- Volunteer
- Posts: 3342
- Joined: 10. May 2007, 16:59
- Location: Israel
Re: Mouse integration and XTest
http://www.virtualbox.org/wiki/Bugtracker
"Create a new bug ticket "
You must have a separate account for bugzilla. forum account won't work.
"Create a new bug ticket "
You must have a separate account for bugzilla. forum account won't work.
-
robertb
- Posts: 15
- Joined: 14. Nov 2010, 17:35
- Primary OS: MS Windows 7
- VBox Version: VirtualBox+Oracle ExtPack
- Guest OSses: Linux Mint Debian Edition
- Location: San Jose, CA
Re: Mouse integration and XTest
I've been struggling with getting x11vnc working properly (see http://forums.virtualbox.org/viewtopic. ... 8&p=162166 ).ebohlman wrote:Ticket opened: http://www.virtualbox.org/ticket/7152
The scroll wheel mouse button and the third right button work under some conditions. I can't quite figure out the pattern. I speculate it may be due to one of these two reasons:
- Display opened with localhost. If the display is opened using the localhost (127.0.0.1) interface, it seems to work, but if the display is opened using an external network interface, it doesn't.
- Fullscreen mode. I've been trying to switch my virtual screen to "fullscreen" before trying to connect via x11vnc. Each time, it seems to work.