Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.

Bug 1242600

Summary: connecting to VM changes its resolution
Product: Red Hat Enterprise Virtualization Manager Reporter: Pavel Grunt <pgrunt>
Component: mingw-virt-viewerAssignee: Default Assignee for SPICE Bugs <rh-spice-bugs>
Status: CLOSED ERRATA QA Contact: SPICE QE bug list <spice-qe-bugs>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 3.6.0CC: cfergeau, djasa, fidencio, gklein, lsurette, rbalakri, sherold, tjamrisk, tpelka, victortoso, yeylon, ykaul
Target Milestone: ovirt-3.6.0-rc   
Target Release: 3.6.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Previously, connecting to a virtual machine with remote-viewer when the resize-guest option was disabled changed the guest's display resolution. The code has been edited so that when resize-guest is disabled, virt-viewer no longer requests a display update. This also ensures that incorrect monitor configuration will not be sent, and the guest's display resolution will not change upon connection.
Story Points: ---
Clone Of:
: 1242602 1242605 (view as bug list) Environment:
Last Closed: 2016-03-09 20:11:02 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: Spice RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 1242602, 1242605    
Attachments:
Description Flags
screencast of the problem none

Description Pavel Grunt 2015-07-13 17:06:14 UTC
Description of problem:
Connecting to the Fedora22 / rhel7.2 guest using remote-viewer changes the desktop resolution

Version-Release number of selected component (if applicable):
mingw-virt-viewer-2.0-2
guest Fedora22 / rhel7.2

How reproducible:
100%

Steps to Reproduce:
1. connect to a guest using remote-viewer
2. change resolution of the guest using "display settings"
3. disconnect
4. connect again
5. check resolution

Actual results:
resolution has changed (in my case from 800x600 to 1920x976)

Expected results:
resolution doesn't change

Comment 1 Pavel Grunt 2015-07-13 17:19:30 UTC
Fixed in spice-gtk by commits
 28312b8d1e287a320851e8828825f2ca138d8b0b
 4b5e6ec2114e1250c81027ebeac9cfe8d059153f

Comment 2 Pavel Grunt 2015-07-23 14:23:50 UTC
Created attachment 1055409 [details]
screencast of the problem

more info about the guest:
Red Hat Enterprise Linux Workstation release 7.2 Beta (Maipo)
3.10.0-297.el7.x86_64
xorg-x11-drv-qxl-0.1.1-16.el7.x86_64

Comment 3 David Jaša 2015-07-24 15:37:55 UTC
Pavel, I can't see it in the exact same guest versions:
3.10.0-297.el7.x86_64
xorg-x11-drv-qxl-0.1.1-16.el7.x86_64

with current virt-viewer & spice-gtk & spice-server versions:
virt-viewer-2.0-4.el7.x86_64
spice-gtk3-0.26-4.el7.x86_64
spice-server-0.12.4-13.el7.x86_64

Did you find out why our VMs behave differently?

Comment 4 Pavel Grunt 2015-07-27 11:47:40 UTC
(In reply to David Jaša from comment #3)
> Pavel, I can't see it in the exact same guest versions:
> 3.10.0-297.el7.x86_64
> xorg-x11-drv-qxl-0.1.1-16.el7.x86_64
> 
> with current virt-viewer & spice-gtk & spice-server versions:
> virt-viewer-2.0-4.el7.x86_64
> spice-gtk3-0.26-4.el7.x86_64
> spice-server-0.12.4-13.el7.x86_64
> 
> Did you find out why our VMs behave differently?

No, I can 100% reproduce with freshly installed rhel7.2 

Just to make it clear, in the step 2. I am changing resolution to 800x600

Comment 7 Dayle Parker 2016-03-01 00:40:14 UTC
If this bug requires doc text for errata release, please provide draft text in the doc text field in the following format:

 Cause:
 Consequence:
 Fix:
 Result:

Comment 8 Tomas Pelka 2016-03-01 09:28:00 UTC
(In reply to Dayle Parker from comment #7)
> If this bug requires doc text for errata release, please provide draft text
> in the doc text field in the following format:
> 
>  Cause:
>  Consequence:
>  Fix:
>  Result:

I'm sorry Dayle, we as QE are not responsible for filling doc text.

Comment 10 errata-xmlrpc 2016-03-09 20:11:02 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/RHEA-2016-0377.html