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 1105528 - Guest can not be resized to expected window size after zoom out
Summary: Guest can not be resized to expected window size after zoom out
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise Linux 6
Classification: Red Hat
Component: virt-viewer
Version: 6.6
Hardware: Unspecified
OS: Unspecified
medium
medium
Target Milestone: rc
: ---
Assignee: Virt Viewer Maint
QA Contact: Virtualization Bugs
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2014-06-06 10:46 UTC by tingting zheng
Modified: 2014-10-14 06:31 UTC (History)
10 users (show)

Fixed In Version: virt-viewer-0.6.0-6.el6
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2014-10-14 06:31:27 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)
Debug info from virt-viewer (88.84 KB, text/plain)
2014-06-06 10:46 UTC, tingting zheng
no flags Details
Log file of virt-viewer (51.12 KB, text/plain)
2014-06-11 03:19 UTC, tingting zheng
no flags Details
Log file from guest:Xorg.0.log (54.13 KB, text/plain)
2014-06-11 03:20 UTC, tingting zheng
no flags Details


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHBA-2014:1379 0 normal SHIPPED_LIVE virt-viewer bug fix update 2014-10-14 01:05:43 UTC

Description tingting zheng 2014-06-06 10:46:10 UTC
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 2 Marc-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)

Comment 3 tingting zheng 2014-06-11 03:19:29 UTC
Created attachment 907473 [details]
Log file of virt-viewer

Comment 4 tingting zheng 2014-06-11 03:20:01 UTC
Created attachment 907474 [details]
Log file from guest:Xorg.0.log

Comment 5 tingting zheng 2014-06-11 03:20:55 UTC
(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 6 Marc-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 7 Marc-Andre Lureau 2014-06-11 19:38:58 UTC
patch sent:
https://www.redhat.com/archives/virt-tools-list/2014-June/msg00092.html

Comment 9 tingting zheng 2014-06-18 10:37:25 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.

Comment 10 errata-xmlrpc 2014-10-14 06:31:27 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.

http://rhn.redhat.com/errata/RHBA-2014-1379.html


Note You need to log in before you can comment on or make changes to this bug.