Bug 1033447

Summary: Can not keep right resolution after change back to graphics mode and send-key ctrl+alt+backspace
Product: Red Hat Enterprise Linux 7 Reporter: zhengqin <zsong>
Component: virt-viewerAssignee: Daniel Berrangé <berrange>
Status: CLOSED DUPLICATE QA Contact: Virtualization Bugs <virt-bugs>
Severity: medium Docs Contact:
Priority: unspecified    
Version: 7.0CC: jherrman, mzhan
Target Milestone: rc   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
When the agent terminated unexpectedly or was disconnected and reconnected again, virt-viewer did not update the information about windows geometry and the guest resolution was not restored accordingly. With this update, the function responsible for updating the displays geometry is called, thus fixing the bug.
Story Points: ---
Clone Of: 1021841 Environment:
Last Closed: 2013-11-22 06:36:39 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: 1021841    
Bug Blocks: 1032971    

Description zhengqin 2013-11-22 06:31:00 UTC
+++ This bug was initially created as a clone of Bug #1021841 +++

Description of problem:
The display got wrong resolution after I change the guest back to the graphics mode and send-key ctrl+alt+backspace

Version-Release number of selected component (if applicable):
# rpm -qa virt-viewer spice*
spice-gtk-0.20-9.el6.x86_64
virt-viewer-0.5.6-8.el6.x86_64
spice-glib-0.20-9.el6.x86_64
spice-server-0.12.4-6.el6.x86_64
spice-vdagent-0.14.0-2.el6.x86_64
spice-gtk-python-0.20-9.el6.x86_64

How reproducible:
100%

Steps to Reproduce:
1.Have a guest with graphics desktop
# virt-viewer rhel6.4 -f
2.Open the send-key menu, and send ctrl+alt+f1, change the guest to the text mode
  Send-key -> ctrl+alt+f1
3.Change the guest back to the graphics mode.
  Send-key -> ctrl+alt+f7
4. Send-key -> ctrl+alt+backspace

Actual results:
After step4, the guest change back to graphics mode, but the resolution is not same with the physical monitor.

Expected results:
The display should keep the right resolution.

Additional info:

Comment 1 zhengqin 2013-11-22 06:36:39 UTC

*** This bug has been marked as a duplicate of bug 1032971 ***