Opened 14 years ago
Last modified 9 years ago
#7152 closed defect
Mouse integration unpredictably interferes with XTest — at Initial Version
Reported by: | ebohlman | Owned by: | |
---|---|---|---|
Component: | guest additions | Version: | VirtualBox 3.2.6 |
Keywords: | Cc: | ||
Guest type: | Linux | Host type: | Windows |
Description
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 with 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.6 r63112 (PUEL) on an XP host with various Linux guests.