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 1007649 - Remove menu item "Automatically resize"
Summary: Remove menu item "Automatically resize"
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise Linux 6
Classification: Red Hat
Component: virt-viewer
Version: 6.5
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: rc
: ---
Assignee: Marc-Andre Lureau
QA Contact: Virtualization Bugs
URL:
Whiteboard:
Depends On:
Blocks: 1007666
TreeView+ depends on / blocked
 
Reported: 2013-09-13 03:46 UTC by CongDong
Modified: 2014-10-14 06:29 UTC (History)
12 users (show)

Fixed In Version: virt-viewer-0.6.0-2.el6
Doc Type: Bug Fix
Doc Text:
Cause: The "Automatically resize" check menu was ambigous and not always working depending on protocol and capability of guest. Consequence: The menu wasn't reliable and useful. Fix: Remove the "Automatically resize" check menu. Result: The automatic guest resize will be enabled whenever the required conditions are met.
Clone Of:
: 1007666 (view as bug list)
Environment:
Last Closed: 2014-10-14 06:29:48 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


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 CongDong 2013-09-13 03:46:48 UTC
Description of problem:
Connect a guest with virt-viewer, and check on "Automatically resize"
item, but the effect is same with check off the item.
Whether the guest is spice or vnc, I tried both win7-64 and rhel6.4.

Version-Release number of selected component (if applicable):
# rpm -qa libvirt virt-viewer spice-gtk
virt-viewer-0.5.6-7.el6.x86_64
libvirt-0.10.2-24.el6.x86_64
spice-gtk-0.20-8.el6.x86_64

How reproducible:
100%

Steps to Reproduce:
1.Prepare a guest(spice or vnc are both ok), if use spice guest, stop service spice-vdagentd in guest.
2.# virt-viewer $guest, and check on the "Automatically resize" item.
3.Try to resize the virt-viewer window, and check the guest resolution.
4.Check off the "Automatically resize" item, and repeat step 3.

Actual results:
The result for step3 and step4 are the same, the display will match the current window*zoom size.

Expected results:
If check off the "Automatically resize" Item, the display should not match the current window*zoom size.

Additional info:

Comment 2 Jonathon Jongsma 2013-10-14 19:07:34 UTC
I don't really understand why you're stopping the vdagent service (step 1 in steps to reproduce).  If you stop the vdagent, it will not be possible to resize the guest display automatically.  Does it work properly when vdagent is running?

Comment 3 CongDong 2013-10-15 01:47:57 UTC
(In reply to Jonathon Jongsma from comment #2)
> I don't really understand why you're stopping the vdagent service (step 1 in
> steps to reproduce).  If you stop the vdagent, it will not be possible to
> resize the guest display automatically.  Does it work properly when vdagent
> is running?

Hi:

That's what I'm not sure, what's the function of the auto-resize? 
It will change the resolution or the zoom level. So I stop the vdagent to check the zoom level.

1. If it reacts on the resolution for the guest, the spice guest is ok, but it doesn't work for the vnc guest.If it only for spice guest to auto-resize the resolution like you said, it's better to disabled the item for vnc guest.

2. If it reacts on the zoom level, I didn't find the difference wether I checked it on or off.

Comment 4 Jonathon Jongsma 2013-10-15 16:46:12 UTC
auto-resize only works for spice guests that have a vdagent.  When the client window is resized, it will attempt to update the resolution of the guest to match the resolution of the client window.  It does this by sending a message to the vdagent.

So the 'Automatically resize' menu item should probably be disabled for VNC and non-vdagent spice guests.

Comment 5 David Blechter 2013-10-15 18:58:59 UTC
running vd-agent is MUST for auto-resize feature to work, and it is for the spice only.
Closing as NOTABUG

Comment 6 Cui Lei 2013-10-16 03:10:39 UTC
Please consider the issue in comment3 descriptive:
"If it only for spice guest to auto-resize the resolution like you said, it's better to disabled the item for vnc guest."

As there is no related doc explain that, we should disable the item(make the item gray like 'USB device selection' in menu) in menu if it is useless in VNC display mode.

Comment 8 Marc-Andre Lureau 2014-03-12 14:05:38 UTC
taking that

Comment 10 Christophe Fergeau 2014-03-20 15:51:53 UTC
(In reply to Marc-Andre Lureau from comment #9)
> ->POST:
> https://www.redhat.com/archives/virt-tools-list/2014-March/msg00062.html

I think what went in in the end was https://www.redhat.com/archives/virt-tools-list/2014-March/msg00080.html

Comment 12 zhoujunqin 2014-06-05 09:37:39 UTC
I can reproduce this issue with:
virt-viewer-0.5.6-10.el6.x86_64

Verify this issue with virt-viewer-0.6.0-4.el6

step:
1.Prepare a guest(spice or vnc are both ok).
2.# virt-viewer $guest, then click menu "View", check "Automatically resize" item has been removed.

so change the status from 'ON_QA' to 'VERIFIED'.

Comment 13 errata-xmlrpc 2014-10-14 06:29:48 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.