VirtualBox

Ticket #8416 (new defect)

Opened 3 years ago

Last modified 20 months ago

Scrolling causes right click?

Reported by: skomorokh Owned by:
Priority: major Component: other
Version: VirtualBox 4.0.4 Keywords: mouse
Cc: Guest type: Linux
Host type: Mac OS X

Description

Environment: 4.0.4 with 4.0.4 guest additions in an Kubuntu Lucid guest on OS X 10.6.6

Scrolling using two fingers on the touchpad OR using the wheel on an external bluetooth mouse will cause the context menu to pop up as if right click were sent. This happens when scrolling up or down.

I've seen the behaviour in Thunderbird, Firefox and Konsole. Rebooting the guest did not help.

Interestingly, xev does not report any right click or keypress event or anything other than the expected mouse button 4 and 5 beyond a motion notification that I believe is supposed to be there.

Change History

comment:1 Changed 20 months ago by starlocke

This problem usually starts when I have a full-screen Xubuntu 12.xx guest and perform a four-finger swipe left (or right) to "change desktops" in OSX, then return to the guest using a four-finger swipe. I have not paid too much attention to whether having any modifier keys (shift,control,alt,command/super) were being held when swiping between desktops, but it may be a factor. I believe that I never hold any down when swiping, though.

A workaround does exist for me when I encounter similar problems on my MacBook(s) [2012 summer series]:

Once I notice that my trackpad or USB mouse (Logictech G500) start misbehaving when "scrolling", what I would do is some or all of the following:

  • Press through all the modifier keys, left side and right side versions: shift, fn, control, alt, command).
  • All five-fingered gestures (ie: pinch, unpinch).
  • All four-fingered gestures that are not swipe left-right (ie: swipe-up, swipe-down).
  • All two-fingered gestures that are not scroll up/down (ie: left/right scroll, zoom in and out, rotate); usually adding a "click with my index finger without lifting any of the others" at the end of the gesture, "add an extra finger to do a left-click" at the end, and also trying "two-finger right clicks".

At some point, one of those gestures will clear away the "right-click modifier" effect.

I wonder whether the rogue right-click modifier is at the hardware level (in the trackpad), the OS X level or at the VirtualBox level... I'm suspecting the trackpad+OS X in collaboration, personally.

Last edited 20 months ago by starlocke (previous) (diff)

comment:2 Changed 20 months ago by starlocke

Paying more attention to my workaround, I notice that I tend to only need to do "two-finger gestures followed by a click without lifting any fingers off the trackpad" to clear the right-click modifier effect; and that the 3+ fingers gestures tend to never help.

Last edited 20 months ago by starlocke (previous) (diff)
Note: See TracTickets for help on using tickets.

www.oracle.com
ContactPrivacy policyTerms of Use