Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.
RHEL Engineering is moving the tracking of its product development work on RHEL 6 through RHEL 9 to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "RHEL project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs in the statuses "NEW", "ASSIGNED", and "POST" are being migrated throughout September 2023. Bugs of Red Hat partners with an assigned Engineering Partner Manager (EPM) are migrated in late September as per pre-agreed dates. Bugs against components "kernel", "kernel-rt", and "kpatch" are only migrated if still in "NEW" or "ASSIGNED". If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "RHEL project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/RHEL-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.

Bug 803834

Summary: USB Auto-Share does not work in initial full-screen of spice session
Product: Red Hat Enterprise Linux 6 Reporter: Marian Krcmarik <mkrcmari>
Component: virt-viewerAssignee: Daniel Berrangé <berrange>
Status: CLOSED ERRATA QA Contact: Virtualization Bugs <virt-bugs>
Severity: high Docs Contact:
Priority: unspecified    
Version: 6.3CC: acathrow, cfergeau, dblechte, marcandre.lureau, mzhan, rwu, yupzhang, zpeng
Target Milestone: rc   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
No documentation needed.
Story Points: ---
Clone Of: Environment:
Last Closed: 2012-06-20 12:12:01 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:

Description Marian Krcmarik 2012-03-15 18:05:21 UTC
Description of problem:
Old IP USB Auto-Share does not work in initial full-screen of spice session - in
full-screen mode right after connecting to a guest using spice remote viewer client through User
Portal.
Once an user goes to windowed mode and back to full-screen, Auto-share does
work correctly.

!This same bug was observed and fixed in spicec already please see bug #769020 so It may be the same issue => fix.

Version-Release number of selected component (if applicable):
virt-viewer-0.5.2-1.el6.x86_64
spice-gtk-0.11-1.el6.x86_64
spice-xpi-2.7-11.el6.x86_64
spice-protocol-0.10.1-1.el6.noarch
spice-glib-0.11-1.el6.x86_64
spice-gtk-tools-0.11-1.el6.x86_64

How reproducible:
always

Steps to Reproduce:
1. Connect to a Windows guest with guest tools installed  from a client with usb share service installed and usb kspice module loaded. Check USB Auto-share and Open in full-screen option before that in User portal.
2. Plug USB device into client 
  
Actual results:
USB devices is not mounted into Windows Guest.

Expected results:
USB device should be mounted into Guest.

Additional info:

Comment 2 Marian Krcmarik 2012-03-15 18:29:07 UTC
Retested with virt-viewer-0.5.2-2.el6, The bug still occurs.

Comment 3 Marc-Andre Lureau 2012-03-22 00:31:36 UTC
proposed patch sent to virt-viewer mailing list

Comment 5 Marc-Andre Lureau 2012-03-22 13:47:48 UTC
Fixed upstream 

commit df1fbf1e8d0b4f56bda6dc4cf40379d5af30d128
Author: Marc-Andre Lureau <marcandre.lureau>
Date:   Wed Mar 21 22:47:06 2012 +0100

    Notify focus state when the foreign menu title is set
    
    The current code only inform of focus state when the listener is ready.
    spice-gtk controller code lacks signal when a client connects, but a
    client will set the title when connected and send a notify signal.
    Use this event to notify of application focus state.

Comment 12 zhe peng 2012-03-28 02:32:27 UTC
according to comment 11, the bug fixed on virt-viewer-0.5.2-3.el6
move to verified.

Comment 13 Daniel Berrangé 2012-04-17 11:33:57 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:
No documentation needed.

Comment 15 errata-xmlrpc 2012-06-20 12:12:01 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

http://rhn.redhat.com/errata/RHBA-2012-0772.html