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.
Cause:
When option View -> Automatically resize in remote-viewer is off and resolution on guest is changed (for example via Display Preferences in Gnome).
Consequence:
The resolution changes, however after a moment, the resolution reverts back to the previous state.
Fix:
Keep monitor configuration in sync with the guest, even when automatic resize is disabled.
Result:
The resolution doesn't revert back after change from the guest.
Description of problem:
When option View -> Automatically resize in remote-viewer is off and resolution on guest is changed (for example via Display Preferences in Gnome), the resolution changes, however after a moment, the resolution reverts back to the previous state.
Version-Release number of selected component (if applicable):
Host and Client: RHEL 6.4 x86_64
--------------------------------
virt-viewer-0.5.2-16.el6.x86_64
spice-gtk-0.14-7.el6.x86_64
spice-server-0.12.0-12.el6.x86_64
qemu-kvm-0.12.1.2-2.355.el6.x86_64
Guest: RHEL 6.4 x86_64
----------------------
spice-vdagent-0.12.0-4.el6.x86_64
xorg-x11-drv-qxl-0.1.0-4.el6.x86_64
How reproducible:
Always
Steps to Reproduce:
1. connect to a VM using remote-viewer
2. uncheck option View -> Automatically resize in remote-viewer's menu
3. change the guest resolution using the Gnome Display Preferences dialog
Actual results:
The resolution changes to the new one but immediately reverts back to the previous state.
Expected results:
The newly set resolution changes and stays set.
Additional info:
Hmm, this works for me, at least in windowed mode. Is this in fullscreen or windowed mode ?
If in fullscreen mode, this is more or less expected and it seems the problem here is that the "automatically resize" option does other things then people seem to expect.
It disables automatically resizing the window size to match the guest resolution (so as to stop the window resizing all the time during boot when changing between different text and gfx modes). It does *not* disable resizing in the other direction, where the client asks the guest-agent to change the guest resolution to match it. And since in fullscreen mode the window cannot be resized, after 1 second the client asks the guest-agent to change the guest resolution to match its "new" window size, and your back to the resolution your client is running at.
(In reply to comment #8)
> I think it should be d->monitor_id + d->channel_id, just like virt-viewer
> code
Actually, it should use get_display_id(display), like all the other calls to spice_main_set_display* in spice-widget.c
(In reply to comment #7)
> Created attachment 694154[details]
> spice-gtk patch
Looks good, ack with the above change added.
Comment 10Marc-Andre Lureau
2013-02-07 22:01:12 UTC
(In reply to comment #9)
> (In reply to comment #8)
> > I think it should be d->monitor_id + d->channel_id, just like virt-viewer
> > code
>
> Actually, it should use get_display_id(display), like all the other calls to
> spice_main_set_display* in spice-widget.c
yes
> (In reply to comment #7)
> > Created attachment 694154[details]
> > spice-gtk patch
>
> Looks good, ack with the above change added.
thanks, pushed
I can reproduce this bug:
Version and Steps are same as description.
result:
The resolution changes to the new one but immediately reverts back to the previous state.
Verify:
Version:
# rpm -qa | grep spice
spice-server-0.12.3-1.el6.x86_64
spice-vdagent-0.14.0-1.el6.x86_64
spice-gtk-0.20-1.el6.x86_64
spice-gtk-python-0.20-1.el6.x86_64
spice-client-0.8.2-15.el6.x86_64
spice-glib-0.20-1.el6.x86_64
# rpm -qa virt-viewer
virt-viewer-0.5.6-1.el6.x86_64
Steps:
Same as description.
Result:
The resolution didn't revert back after changed it to the new one.
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-2013-1578.html