Bug 750225

Summary: Fullscreen view does not work in virt-manager for spice graphics.
Product: Red Hat Enterprise Linux 6 Reporter: Daisy Wu <jwu>
Component: virt-managerAssignee: Cole Robinson <crobinso>
Status: CLOSED ERRATA QA Contact: Virtualization Bugs <virt-bugs>
Severity: medium Docs Contact:
Priority: low    
Version: 6.3CC: berrange, crobinso, jwu, mzhan, rwu, xen-maint, zpeng
Target Milestone: rcKeywords: Reopened
Target Release: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Previously graphical scaling did not work for spice graphics in virt-manager. This has been fixed by actually hooking up the UI scaling selection element to the spice backend.
Story Points: ---
Clone Of: Environment:
Last Closed: 2012-06-20 12:39:15 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:

Description Daisy Wu 2011-10-31 11:54:09 UTC
Description of problem:
Fullscreen view does not work in virt-manager for spice graphics.

Version-Release number of selected component (if applicable):
virt-manager-0.9.0-7.el6
libvirt-0.9.4-20.el6
python-virtinst-0.600.0-5.el6
virt-viewer-0.4.1-7.el6.x86_64
qemu-kvm-0.12.1.2-2.204.el6.x86_64

# uname -a
Linux wjw.nay.redhat.com 2.6.32-214.el6.x86_64 #1 SMP Tue Oct 25 19:48:00 EDT 2011 x86_64 x86_64 x86_64 GNU/Linux

How reproducible:
always

Steps to Reproduce:
1. Launch virt-manager and set "Always" for Graphical console scaling.
   Click Edit->Preferences->VM Details->choose "Always" for Graphical console scaling.
2. Install new domain with spice graphics(guest OS is rhel6.1). 
   #virsh dumpxml 6.1
   ...
   <graphics type='spice' port='5900' tlsPort='-1' autoport='yes'/>
   ...
3. Start the guest and open the graphical console in virt-manager.
4. Choose "Always" for Scale Display under virt-manager menu.
   Click "View" table ->Scale Display->Always
5. Under "View" table, click Fullscreen.
  
Actual results:
Guest desktop was not covered on fullscreen.

Expected results:
Guest desktop should be covered on fullscreen.

Additional info:
If use virt-viewer to connect the guest of spice graphics and click fullscreen option, the fullscreen view works well.
If change to VNC graphics under virt-manager, the fullscreen view works well.

Comment 2 Cole Robinson 2011-10-31 15:04:50 UTC
Too late for 6.2, deferring to 6.3

Comment 4 Cole Robinson 2011-12-09 21:41:27 UTC
Not urgent, and given reduced capacity for virt-manager/virtinst, just moving this to the upstream tracker.

Comment 6 Cole Robinson 2012-02-02 13:52:14 UTC
Reopening and moving back to RHEL. On second thought we should backport this for 6.3, it's a trivial fix and the result is pretty annoying for spice fullscreen users.

Comment 7 Cole Robinson 2012-02-02 13:52:53 UTC
If someone from QE could ACK I'd appreciate it.

Comment 8 Min Zhan 2012-02-03 02:41:48 UTC
Cole, qa_ack is gived.

Comment 9 Cole Robinson 2012-02-09 18:48:40 UTC
Fixed in virt-manager-0.9.0-9.el6

Comment 12 zhe peng 2012-02-13 10:45:58 UTC
I can reproduce this issue with:
virt-manager-0.9.0-7.el6.x86_64
python-virtinst-0.600.0-5.el6.noarch

verify with:
virt-manager-0.9.0-9.el6.x86_64
python-virtinst-0.600.0-7.el6.noarch

step:
1. Launch virt-manager and set "Always" for Graphical console scaling.
   Click Edit->Preferences->VM Details->choose "Always" for Graphical console
scaling.
2. Install new domain with spice graphics(guest OS is rhel6.1). 
   #virsh dumpxml 6.1
   ...
   <graphics type='spice' port='5900' tlsPort='-1' autoport='yes'/>
   ...
3. Start the guest and open the graphical console in virt-manager.
4. Choose "Always" for Scale Display under virt-manager menu.
   Click "View" table ->Scale Display->Always
5. Under "View" table, click Fullscreen.
Guest desktop covered on fullscreen.
I test both windows and rhel guest,all can worked as expected
verification passed. move to verified.

Comment 13 Cole Robinson 2012-06-12 15:36:30 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:
Previously graphical scaling did not work for spice graphics in virt-manager. This has been fixed by actually hooking up the UI scaling selection element to the spice backend.

Comment 15 errata-xmlrpc 2012-06-20 12:39:15 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-0785.html