Red Hat Bugzilla – Bug 1028496
Resolution doesn't get synced on resize
Last modified: 2014-07-07 07:51:45 EDT
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):
Steps to Reproduce:
1. connect to a RHEL7 guest
2. resize window
No change in resolution until opening a second display
Agent seems to be running as copy paste is working properly.
What is the host OS?
added needinfo to reporter to answer the question in #3
The host was RHEL7,
Tried it again and it seems to work now. So closing this bug...
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 
2. Connect to guest  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)
Second display disapears, First remains the same
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)
Resolution is changed
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
Second display appears, first remains enlarged (with correct resolution, but...)
Second display appears, first goes back to 800x600(as previously set when second display was actived)
/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
testing on rhel7 host, with user logged in (in gdm there is bug #1052172) it works for me now. could you verify? thanks
Works for me now as well.