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.
Created attachment 902855[details]
Debug info from virt-viewer
Description
Guest can not be resized to expected window size after zoom out
Version:
virt-viewer-0.6.0-5.el6.x86_64
spice-gtk-0.22-1.el6.x86_64
spice-vdagent-0.14.0-3.el6_5.x86_64
xorg-x11-drv-qxl-0.1.1-12.el6.x86_64
How reproducible:
100%
Steps to Reproduce:
1.Prepare a spice guest,configure with spicevmc channel and qxl video,start spice-vdagentd service in guest.
2.Use virt-viewer to launch the guest.
3.Zoom out.
4.Use mouse to drag the virt-viewer window to a large size,it can not be resized to expected size,the window is usually smaller than I the size I dragged.
Actual results:
As description.
Expected results:
Step 4,virt-viewer window can be resized correctly after zoom out.
Additional info:
If I didn't zoom out before reszie window,then guest windows can be reszied correctly.
The issue can not reproduced on virt-viewer-0.5.6-10.el6.x86_64.
Comment 2Marc-Andre Lureau
2014-06-10 12:44:06 UTC
Unlikely a client bug.
Please try to reproduce with Windows guest, there is no issue there (guest has size resize limits)
Please provide SPICE_DEBUG=1 and guest Xorg.0.log. Most likely this is an issue related to #1076728, QXL_RESIZABLE_SURFACE0, (which could be re-assigned if true)
(In reply to Marc-Andre Lureau from comment #2)
> Unlikely a client bug.
>
> Please try to reproduce with Windows guest, there is no issue there (guest
> has size resize limits)
I tried windows guest,the bug can also be reproduced for windows guest.
> Please provide SPICE_DEBUG=1 and guest Xorg.0.log. Most likely this is an
> issue related to #1076728, QXL_RESIZABLE_SURFACE0, (which could be
> re-assigned if true)
Refer to comment 3 and comment 4.
Comment 6Marc-Andre Lureau
2014-06-11 17:12:16 UTC
I can reproduce, this is related to a recent change regarding windows not fitting on desktop in virt_viewer_window_resize()
Comment 7Marc-Andre Lureau
2014-06-11 19:38:58 UTC
Tested the bug with:
spice-gtk-0.22-4.el6.x86_64
virt-viewer-0.6.0-7.el6.x86_64
xorg-x11-drv-qxl-0.1.1-12.el6.x86_64
After zoom out,use mouse to drag the virt-viewer window to a large size,it can be resized to expected size successfully,so move the bug to VERIFIED.
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.
http://rhn.redhat.com/errata/RHBA-2014-1379.html
Created attachment 902855 [details] Debug info from virt-viewer Description Guest can not be resized to expected window size after zoom out Version: virt-viewer-0.6.0-5.el6.x86_64 spice-gtk-0.22-1.el6.x86_64 spice-vdagent-0.14.0-3.el6_5.x86_64 xorg-x11-drv-qxl-0.1.1-12.el6.x86_64 How reproducible: 100% Steps to Reproduce: 1.Prepare a spice guest,configure with spicevmc channel and qxl video,start spice-vdagentd service in guest. 2.Use virt-viewer to launch the guest. 3.Zoom out. 4.Use mouse to drag the virt-viewer window to a large size,it can not be resized to expected size,the window is usually smaller than I the size I dragged. Actual results: As description. Expected results: Step 4,virt-viewer window can be resized correctly after zoom out. Additional info: If I didn't zoom out before reszie window,then guest windows can be reszied correctly. The issue can not reproduced on virt-viewer-0.5.6-10.el6.x86_64.