Bug 665025

Summary: lost double clicks on slow connections
Product: Red Hat Enterprise Linux 6 Reporter: Paolo Bonzini <pbonzini>
Component: qemu-kvmAssignee: Paolo Bonzini <pbonzini>
Status: CLOSED ERRATA QA Contact: Virtualization Bugs <virt-bugs>
Severity: medium Docs Contact:
Priority: low    
Version: 6.0CC: alex.williamson, michen, mjenner, mkenneth, qzhou, tburke, virt-maint, xen-maint
Target Milestone: rc   
Target Release: 6.1   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: qemu-kvm-0.12.1.2-2.146.el6 Doc Type: Bug Fix
Doc Text:
Cause: when the connection from the virtualization host to the VNC client is slow, the guest may miss clicks and movements of a virtual USB pointing device. Consequence: some operations on graphical user interfaces, including dragging and double clicking, are impossible to perform in presence of a slow network connection. Fix: virtual USB pointing devices buffer the user's clicks and movements. Result: dragging and double clicking works as intended.
Story Points: ---
Clone Of: 665023 Environment:
Last Closed: 2011-05-19 11:34:32 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 580954    

Description Paolo Bonzini 2010-12-22 13:29:15 UTC
+++ This bug was initially created as a clone of Bug #665017 +++

qemu doesn't enqueue mouse events, it just records the latest mouse state. This can cause some lost mouse double clicks if the events are not processed fast enough.  In particular, dragging/doubleclicking are impossible on a high latency connection (e.g. Milan->Phoenix->Brno).

I'll post patches to upstream QEMU to fix this, based on these xen-unstable qemu.git patches:

28b7599603cc2165cd68961be034979657759f40
    Queue some mouse events.

bfaaa608ded03c458a970be818cc319f5fe914d7
    Try to fix USB HID and make the HID reports readable

dd0a0055a99b0226f31b29c14e2c18eeaac757f7
    Fix new USB HID queueing

Comment 7 Miya Chen 2011-03-17 10:05:56 UTC
move to verified based on comment#6

Comment 8 Paolo Bonzini 2011-05-05 13:14:44 UTC
    Technical note added. If any revisions are required, please edit the "Technical Notes" field
    accordingly. All revisions will be proofread by the Engineering Content Services team.
    
    New Contents:
Cause: when the connection from the virtualization host to the VNC client is slow, the guest may miss clicks and movements of a virtual USB pointing device.

Consequence: some operations on graphical user interfaces, including dragging and double clicking, are impossible to perform in presence of a slow network connection.

Fix: virtual USB pointing devices buffer the user's clicks and movements.

Result: dragging and double clicking works as intended.

Comment 9 errata-xmlrpc 2011-05-19 11:34:32 UTC
An advisory has been issued which should help the problem
described in this bug report. This report is therefore being
closed with a resolution of ERRATA. For more information
on therefore solution and/or where to find the updated files,
please follow the link below. You may reopen this bug report
if the solution does not work for you.

http://rhn.redhat.com/errata/RHSA-2011-0534.html

Comment 10 errata-xmlrpc 2011-05-19 13:00:41 UTC
An advisory has been issued which should help the problem
described in this bug report. This report is therefore being
closed with a resolution of ERRATA. For more information
on therefore solution and/or where to find the updated files,
please follow the link below. You may reopen this bug report
if the solution does not work for you.

http://rhn.redhat.com/errata/RHSA-2011-0534.html