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 1206460

Summary: Zooming out changes display resolution of spice guest
Product: Red Hat Enterprise Linux 6 Reporter: Pavel Grunt <pgrunt>
Component: virt-viewerAssignee: Pavel Grunt <pgrunt>
Status: CLOSED ERRATA QA Contact: Desktop QE <desktop-qa-list>
Severity: low Docs Contact:
Priority: low    
Version: 6.7CC: cfergeau, dblechte, fidencio, juzhou, mzhan, pgrunt, rbalakri, tlavigne, tpelka, tzheng, xiaodwan
Target Milestone: rcKeywords: Reopened
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: virt-viewer-2.0-5.el6 Doc Type: Bug Fix
Doc Text:
Cause: Zooming out can change the aspect ratio of the window Consequence: The guest changes its resolution to fit the new aspect ratio Fix: Don't allow to zoom out when it will change the aspect ratio Result: The resolution doesn't change
Story Points: ---
Clone Of: Environment:
Last Closed: 2015-07-22 06:32:34 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:

Description Pavel Grunt 2015-03-27 07:53:48 UTC
Description of problem:
The display of a virtual machine resizes to fill the whole virt-viewer window after trying to change the zoom level below the minimum (10%).

Version-Release number of selected component (if applicable):
virt-viewer-2.0-3.el6.x86_64

How reproducible:
100%

Steps to Reproduce:
1. check the display resolution of the vm
2. zoom out more than 10 times
3. check the display resolution of the vm

Actual results:
resolution is different

Expected results:
resolution is the same

Comment 3 Pavel Grunt 2015-03-28 17:29:04 UTC
It is also reproducible with just one 'zoom out'
1. resize virt-viewer window to minimal possible width
2. check resolution
3. zoom out
4. check resolution

Comment 5 RHEL Program Management 2015-04-05 14:05:50 UTC
Development Management has reviewed and declined this request.
You may appeal this decision by reopening this request.

Comment 6 Pavel Grunt 2015-04-08 14:06:57 UTC
Additional patches are needed: https://www.redhat.com/archives/virt-tools-list/2015-April/msg00035.html

Comment 7 Pavel Grunt 2015-04-09 09:07:52 UTC
relevant commits:
2e5ae1550fce6ef064b390160a5a1516982ff6aa
0b653558ad0e5a635df64a68121425be387900e2
c45a30e909656434aa842d48d828ef038ec7364a
998b13c881480ffea98dd8b65e0495c49fc31d2d
01249f703263ef6a8be59479df5cf6c5e8b1ceb9

Comment 9 zhoujunqin 2015-04-13 11:07:30 UTC
I can reproduce this issue with package:
virt-viewer-2.0-4.el6.x86_64

Steps to Reproduce:
1. check the display resolution of the vm: (1027*768)
2. zoom out more than 10 times
3. check the display resolution of the vm, resolution has changed to (2024*770).

Then try to verify with new build:
virt-viewer-2.0-5.el6.x86_64

Steps:
1. check the display resolution of the vm: (1027*768)
2. zoom out more than 10 times
3. check the display resolution of the vm. 

Result: Display resolution of the vm keeps, not change.

But when i try zoom out more than 10 times, then use mouse to drag the guest window to a larger one, the guest display will turn dark, and showing "Waiting for display 1...".
I cannot connect to guest graphics again until restart guest.
so please help me have a look of this issue, thanks.

Guest information:
xorg-x11-drv-qxl-0.1.1-15.el6.x86_64
spice-vdagent-0.14.0-9.el6.x86_64

Comment 10 Pavel Grunt 2015-04-13 12:01:15 UTC
Hi,

According to your comment, this bug is verified.
The problem you described is not related to virt-viewer (and I could reproduce it using previous versions), it is qxl bug that was fixed by xorg-x11-drv-qxl-0.1.1-17.el6

Comment 11 zhoujunqin 2015-04-14 02:57:08 UTC
(In reply to Pavel Grunt from comment #10)
> Hi,
> 
> According to your comment, this bug is verified.
> The problem you described is not related to virt-viewer (and I could
> reproduce it using previous versions), it is qxl bug that was fixed by
> xorg-x11-drv-qxl-0.1.1-17.el6

Thanks for your confirmation, Pavel Grunt.
After i update to xorg-x11-drv-qxl-0.1.1-17.el6 on my guest/host, i cannot reproduce "black display" issue, and since this bug issue has been fixed, move this bug from ON_QA to VERIFIED.

Comment 13 zhoujunqin 2015-05-14 07:38:46 UTC
Try to verify this bug again:
virt-viewer-2.0-7.el6.x86_64

Steps:
1. Prepare a health guest(installed with rhel6.7 snapshot-1), check the display resolution of the vm: (1027*768)
2. zoom out more than 10 times
3. check the display resolution of the vm. 

Result: Display resolution of the vm keeps, not change.

So keep this bug in VERIFIED status.

Comment 14 errata-xmlrpc 2015-07-22 06:32:34 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-1322.html