VirtualBox

Opened 13 years ago

Closed 11 years ago

Last modified 10 years ago

#8057 reopened defect (fixed)

First mouse click in virtual screen interpreted as drag — at Version 4

Reported by: Matthew Francis Owned by:
Component: guest additions Version: VirtualBox 4.0.0
Keywords: Cc:
Guest type: Linux Host type: Mac OS X

Description (last modified by Frank Mehnert)

With an OSX host and Linux (Fedora 14) guest with guest additions installed, a mouse click into the guest that also transfers focus to the running VirtualBox host window causes an undesired drag from the previous mouse position within the guest (before host focus moved). This can have a number of undesirable effects on the guest depending on what exactly is on screen at the time.

Steps to reproduce:

  1. Install Fedora 14 and guest additions on an OSX host, and run in single-window mode with mouse integration enabled
  1. With a clean F14 desktop (no windows open), focus another host (OSX) window
  1. Left-click and hold at any position on the F14 desktop. A selection rectangle should be visible from the last position of the mouse within the guest before host focus was lost (the bug occurs even without holding, but the desktop selection rectangle shows what is happening clearly)

Expected behaviour: The click (or drag) should be experienced by the guest as starting from the position of the click into the guest desktop, not the position of the mouse prior to loss of host focus

Change History (5)

by Matthew Francis, 13 years ago

VBox log

comment:1 by Matthew Francis, 13 years ago

This bug is still present (and still annoying) with VB 4.0.10 and Fedora 15

comment:2 by mickey, 13 years ago

this issue happens to me with different linux guests, and is extremely annoying (thinking of virtualbox alternatives because of it). please make top priority!

comment:3 by Michael Thayer, 13 years ago

Could you please do the following to help understand what is happening: start a Linux virtual machine in which you can trigger this with the environment variable "VBOX_RELEASE_LOG=main.e.l.l2.l3.f" set (this should cause lots of additional information to be added to the log file, including all mouse movement information), and then reproduce the issue with the "xev" application running to get information about mouse movement events from the point of view of the guest? Then attach the log file and post the "xev" output to this ticket? If necessary (and if you can be sure of getting them) you can truncate both to just the relevant parts.

comment:4 by Frank Mehnert, 11 years ago

Description: modified (diff)
Resolution: fixed
Status: newclosed

No response, closing.

Note: See TracTickets for help on using tickets.

© 2023 Oracle
ContactPrivacy policyTerms of Use