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 1027999

Summary: virt-viewer can not change the resolution higher than physical size in windowed mode
Product: Red Hat Enterprise Linux 7 Reporter: tingting zheng <tzheng>
Component: virt-viewerAssignee: Virt Viewer Maint <virt-viewer-maint>
Status: CLOSED NOTABUG QA Contact: Virtualization Bugs <virt-bugs>
Severity: medium Docs Contact:
Priority: medium    
Version: 7.0CC: acathrow, codong, dblechte, dyuan, lcui, marcandre.lureau, mzhan, zsong
Target Milestone: rc   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2014-07-06 22:31:29 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:    
Bug Blocks: 1113520    
Attachments:
Description Flags
Debug info of virt-viewer none

Description tingting zheng 2013-11-07 13:49:05 UTC
Created attachment 821141 [details]
Debug info of virt-viewer

Description
virt-viewer can not change the resolution higher than physical size in windowed mode

Version:
Host:
libvirt-1.1.1-11.el7.x86_64
virt-viewer-0.5.7-2.el7.x86_64
spice-gtk-0.20-6.el7.x86_64
spice-vdagent-0.14.0-5.el7.x86_64
spice-gtk3-0.20-6.el7.x86_64
spice-server-0.12.4-3.el7.x86_64
spice-glib-0.20-6.el7.x86_64

Guest:rhel6.5
spice-vdagent-0.14.0-2.el6.x86_64

How reproducible:
100%

Steps to Reproduce:
1.Prepare a spice guest,install spice-vdagent,start spice-vdagentd service.
2.# virt-viewer guest
3.Change the resolution from guest,it can change resolution lower than physical size,but fail to set as higher than physical size in windowed mode.
first resolution:1024*768
A.change resolution to 1280*720,failed,back to 1272*720.
B.change resolution to 1360*768,failed,back to 1272*768.
C.change resolution to 960*640,success.

Actual results:
As description.

Expected results:
virt-viewer can change the resolution higher than  physical size in windowed mode

Additional info:
1.The issue can not be reproduced on rhel6.
2.The issue can not be reproduced on full-screen.
3.Attached spice-debug info.

Comment 1 hyao@redhat.com 2013-11-21 06:22:47 UTC
I can reproduce the bug with the following packages:

On host:
# rpm -qa libvirt virt-viewer spice-gtk spice-vdagent spice-gtk3 spice-server spice-glib
virt-viewer-0.5.7-1.el7.x86_64
spice-glib-0.20-6.el7.x86_64
spice-vdagent-0.14.0-5.el7.x86_64
spice-gtk3-0.20-6.el7.x86_64
spice-gtk-0.20-6.el7.x86_64
spice-server-0.12.4-3.el7.x86_64
libvirt-1.1.1-12.el7.x86_64

On guest: rhel6.5
spice-vdagent-0.14.0-2.el6.x86_64

Comment 2 Marc-Andre Lureau 2014-07-06 22:31:29 UTC
This is by design, there is code in virt-viewer to resize the display to fit the native client resolution while keeping aspect-ratio in window mode.