Bug 1096718

Summary: The resolution of guest shows incorrect after switch to full-screen again with option --full-screen=auto-conf
Product: Red Hat Enterprise Linux 7 Reporter: tingting zheng <tzheng>
Component: virt-viewerAssignee: Virt Viewer Maint <virt-viewer-maint>
Status: CLOSED ERRATA QA Contact: Virtualization Bugs <virt-bugs>
Severity: medium Docs Contact:
Priority: medium    
Version: 7.1CC: cfergeau, codong, dblechte, dyuan, jjongsma, juzhou, marcandre.lureau, mzhan, rbalakri
Target Milestone: rc   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: virt-viewer-0.6.0-1.el7 Doc Type: Bug Fix
Doc Text:
Launching the application with --full-screen=auto-conf, leaving fullscreen mode, and then returning to fullscreen mode didn't adjust the resolution of the guest properly In the new version (0.6.0) of virt-viewer, there is no longer a difference between --full-screen and --full-screen=auto-conf. The bug that was causing the misbehavior has been fixed, and the resolution is now adjusted properly when leaving and re-entering fullscreen mode.
Story Points: ---
Clone Of: 1096717 Environment:
Last Closed: 2015-03-05 13:39:01 UTC Type: Bug
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: 1096717, 1109400    
Bug Blocks:    

Description tingting zheng 2014-05-12 10:38:34 UTC
As the bug can also be reproduced on rhel7,so cloned it to rhel7.


+++ This bug was initially created as a clone of Bug #1096717 +++

Description
The resolution of guest shows incorrect after switch to full-screen again with option --full-screen=auto-conf

Version:
virt-viewer-0.5.6-10.el6.x86_64
spice-gtk-0.20-11.el6_5.1.x86_64
spice-server-0.12.4-8.el6.x86_64
spice-gtk-python-0.20-11.el6_5.1.x86_64
spice-vdagent-0.14.0-3.el6_5.x86_64
spice-client-0.8.2-15.el6.x86_64
spice-glib-0.20-11.el6_5.1.x86_64

How reproducible:
100%

Steps to Reproduce:
1. Prepare a spice rhel guest with qxl+spicevmc
# virsh dumpxml $vm
...
    <channel type='spicevmc'>
      <target type='virtio' name='com.redhat.spice.0'/>
      <alias name='channel0'/>
      <address type='virtio-serial' controller='0' bus='0' port='1'/>
    </channel>
...
    <graphics type='spice' port='5900' autoport='yes' listen='127.0.0.1'>
      <listen type='address' address='127.0.0.1'/>
    </graphics>
...
    <video>
      <model type='qxl' ram='65536' vram='65536' heads='1'/>
      <alias name='video0'/>
      <address type='pci' domain='0x0000' bus='0x00' slot='0x02' function='0x0'/>
    </video>
...

2. Connect the guest with remote-viewer --full-screen=auto-conf
# remote-viewer spice://127.0.0.1:5900 --full-screen=auto-conf

3. After the guest is launched in full-screen mode,quit full-screen mode,then Click "View"->"Full-screen",the resolution shows incorrect.

Actual results:
As steps show.

Expected results:
Step 3,resolution of full-screen shows correct.

Additional info:
The issue can not be reproduced when launch remote-viewer --full-screen without option auto-conf.
The issue can be also reproduces on rhel7.

Comment 2 Marc-Andre Lureau 2014-07-03 18:05:10 UTC
original bug got fixed by rebase, assuming same here.

Comment 4 tingting zheng 2014-07-21 08:45:11 UTC
Tested pass with:
virt-viewer-0.6.0-1.el7.x86_64

Steps:
1. Prepare a spice rhel guest with qxl+spicevmc
# virsh dumpxml $vm
...
    <channel type='spicevmc'>
      <target type='virtio' name='com.redhat.spice.0'/>
      <alias name='channel0'/>
      <address type='virtio-serial' controller='0' bus='0' port='1'/>
    </channel>
...
    <graphics type='spice' port='5900' autoport='yes' listen='127.0.0.1'>
      <listen type='address' address='127.0.0.1'/>
    </graphics>
...
    <video>
      <model type='qxl' ram='65536' vram='65536' heads='1'/>
      <alias name='video0'/>
      <address type='pci' domain='0x0000' bus='0x00' slot='0x02' function='0x0'/>
    </video>
...

2. Connect the guest with remote-viewer --full-screen,since there is no auto-conf in remote-viewer manual,I use --full-screen option.
# remote-viewer spice://127.0.0.1:5900 --full-screen

3. After the guest is launched in full-screen mode,quit full-screen mode,then Click "View"->"Full-screen",the resolution shows correct.

Refer to the above comments,move the bug to VERIFIED.

Comment 6 errata-xmlrpc 2015-03-05 13:39: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.

https://rhn.redhat.com/errata/RHBA-2015-0295.html