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 1152467

Summary: virt-viewer will open guest with a small window size
Product: Red Hat Enterprise Linux 7 Reporter: CongDong <codong>
Component: virt-viewerAssignee: Virt Viewer Maint <virt-viewer-maint>
Status: CLOSED ERRATA QA Contact: Virtualization Bugs <virt-bugs>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 7.1CC: codong, dblechte, fidencio, jjongsma, juzhou, mzhan, rbalakri, tzheng
Target Milestone: rc   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: virt-viewer-0.6.0-9.el7 Doc Type: Bug Fix
Doc Text:
Cause: Once a display is enabled, the initial size for that window should be set as the size of the remote display, otherwise it will be 0x0 and the window will be at it's minimum size. Consequence: Guest will be opened with a small (minimum) window size. Fix: If the display is enabled, set the initial window's size to be the size of the remote display. Result: The window will have the size of the remote display.
Story Points: ---
Clone Of: Environment:
Last Closed: 2015-03-05 13:40:06 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:
Attachments:
Description Flags
virt-viewer and spice log none

Description CongDong 2014-10-14 08:43:43 UTC
Description of problem:
virt-viewer opens the guest with a small windows size.
If service spice-vdagentd is running within guest, the small
virt-viewer window will make the resolution change to small.

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

How reproducible:
100%

Steps to Reproduce:
1. Preare a spice guest
2. # virt-viewer $vm
Set the reolution to 800*600
3. close virt-viewer
4. # virt-viewer $vm
Check the window size


Actual results:
Step 4, The window size is small
if service spice-vdagentd is running within guest, the resolution will
change to same with the window size.

Expected results:
The window size should not change small, it should match the original resolution

Additional info:

Comment 1 CongDong 2014-10-14 08:44:21 UTC
Created attachment 946762 [details]
virt-viewer and spice log

Comment 3 Fabiano FidĂȘncio 2014-10-14 17:31:25 UTC
The fix for this problem was already pushed upstream as:
29c8cadd4037681e8eb417fd8a0bb6cc6170a6b3
a15bbac32001d8fb9eea5e6149df2aa2231f1a4f

Comment 7 CongDong 2014-10-24 05:21:14 UTC
Can reproduce with virt-viewer-0.6.0-8.el6.x86_64

VERIFIY with virt-viewer-0.6.0-10.el6.x86_64

Steps:
Steps to Reproduce:
1. Preare a spice guest
2. # virt-viewer $vm
Set the reolution to 800*600
3. close virt-viewer
4. # virt-viewer $vm
Check the window size

Result:
Step 4, virt-viewer open the guest with 800*600, so set VERIFIED.

Comment 9 errata-xmlrpc 2015-03-05 13:40:06 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