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 1028496 - Resolution doesn't get synced on resize
Summary: Resolution doesn't get synced on resize
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Red Hat Enterprise Linux 7
Classification: Red Hat
Component: spice-vdagent
Version: 7.0
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: rc
: ---
Assignee: Default Assignee for SPICE Bugs
QA Contact: Desktop QE
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2013-11-08 15:24 UTC by Tomas Jamrisko
Modified: 2014-07-07 11:51 UTC (History)
8 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2014-07-07 11:51:45 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)

Description Tomas Jamrisko 2013-11-08 15:24:30 UTC
Description of problem:
Changing windows size of any client doesn't result in guest matching its resolution

Version-Release number of selected component (if applicable):
spice-vdagent.0.14.0-5.el7.x86_64

How reproducible:
Always

Steps to Reproduce:
1. connect to a RHEL7 guest
2. resize window

Actual results:
No change in resolution until opening a second display

Additional info:
Agent seems to be running as copy paste is working properly.

Comment 3 Christophe Fergeau 2014-01-29 15:51:34 UTC
What is the host OS?

Comment 4 David Blechter 2014-01-31 15:14:22 UTC
added needinfo to reporter to answer the question in #3

Comment 5 Tomas Jamrisko 2014-02-04 13:01:24 UTC
The host was RHEL7, 

Tried it again and it seems to work now. So closing this bug...

Comment 6 Vaclav Ehrlich 2014-02-28 16:48:10 UTC
Well I want to reopen this bug, because the behaviour is less or more strange. Auto resizing is not working when you enlarge/reduce remote-viewer window. 
Resize with xrandr/gnome settings is working good, but then second display is actived, previous dimensions are restored. Size of display are somehow remembered.

Host, Guest, Client are the same : RHEL7/64
spice-vdagentd is running.

Step to reproduce (Prologue):
1. Start guest [1]
2. Connect to guest [2] Let guest has resolution set up to 1024x768
3. Open second display (on client's remote-viewer select from menu View->Displays->Display 2)
4. Set up resolution of first display to 800x600
5. Close second window (on client's remote-viewer unselect from menu View->Displays->Display 2)

Expected result:
Second display disapears, First remains the same

Current result:
First display's resolution is set back to resolution which was at the end of step 2 (1024x768)

Step to reproduce (Main chapter):
6.Resize window of remote-viewer (grab the corner and pull)

Expected result:
Resolution is changed

Current result:
Resolution remains the same, only remote-viewer window is resized

Step to reproduce (Epilogue):
7. Enlarge remote-viewer window more than 800x600 
8. Open second display again

Expected result:
Second display appears, first remains enlarged (with correct resolution, but...)

Current result:
Second display appears, first goes back to 800x600(as previously set when second display was actived)


[1]
/usr/libexec/qemu-kvm -m 2048 -name rhel7 -drive file=path_to_RHEL7_img,media=disk -vga qxl -spice port=3000,disable-ticketing,addr=localhost,seamless-migration=on -device virtio-serial -chardev spicevmc,id=vdagent,name=vdagent -device virtserialport,chardev=vdagent,name=com.redhat.spice.0 -soundhw hda -monitor stdio

[2]
remote-viewer spice://localhost?port=3000

Comment 9 Marc-Andre Lureau 2014-07-06 22:50:43 UTC
testing on rhel7 host, with user logged in (in gdm there is bug #1052172) it works for me now. could you verify? thanks

Comment 10 Tomas Jamrisko 2014-07-07 11:51:45 UTC
Works for me now as well.


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