Bug 1011077

Summary: Changing Windows VM resolution, changes the primary monitor to larger resolution display.
Product: Red Hat Enterprise Linux 6 Reporter: Bill Sanford <bsanford>
Component: virt-viewerAssignee: Virt Viewer Maint <virt-viewer-maint>
Status: CLOSED DUPLICATE QA Contact: Virtualization Bugs <virt-bugs>
Severity: medium Docs Contact:
Priority: unspecified    
Version: 6.5CC: acathrow, bsanford, cfergeau, dblechte, jjongsma, marcandre.lureau, mkrcmari, pvine, vipatel
Target Milestone: rcKeywords: Regression
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2014-03-07 18:04:26 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Bill Sanford 2013-09-23 15:11:25 UTC
Description of problem:
I have two displays with a Windows 7x86 VM and both are 1024 x 768 and everything is fine with them at the same resolution. Once I start moving them when they are in windowed mode, things start changing.

Once I start resizing the displays, whichever display has the bigger resolution, virt-viewer sets that to the main display in "Windows -> Screen Resolution" and that display gets shifted to the left in that same configuration dialog box.

Since this is happening, the taskbar gets moved to the main display. I believe this is the correct behavior based on and incorrect behavior.


Version-Release number of selected component (if applicable):
virt-viewer-0.5.6-7.el6.x86_64
rhev-guest-tools-iso-3.3-5.noarch.rpm
RHEL6.5-20130912.n.2
rhev-hypervisor6-6.5-20130910.2.el6ev.noarch.rpm
Windows 7x86 VM


How reproducible:


Steps to Reproduce:
1.
2.
3.

Actual results:


Expected results:


Additional info:

/usr/libexec/qemu-kvm -m 2048 -spice port=3001,disable-ticketing,addr=127.0.0.1,seamless-migration=on -vga qxl -device qxl -global qxl-vga.vram_size=67108864 -device virtio-serial -chardev spicevmc,id=vdagent,name=vdagent -device virtserialport,chardev=vdagent,name=com.redhat.spice.0 -chardev spicevmc,name=usbredir,id=usbredirchardev1 -device usb-redir,chardev=usbredirchardev1,id=usbredirdev1,debug=3,filter='0x08:-1:-1:-1:1|-1:-1:-1:-1:0' -readconfig /etc/qemu/ich9-ehci-uhci.cfg /home/images/Win7x86.img -monitor stdio 

/usr/libexec/qemu-kvm -m 2048 -spice port=3002,disable-ticketing,addr=127.0.0.1,seamless-migration=on -vga qxl -device qxl -global qxl-vga.vram_size=67108864 -device virtio-serial -chardev spicevmc,id=vdagent,name=vdagent -device virtserialport,chardev=vdagent,name=com.redhat.spice.0 -chardev spicevmc,name=usbredir,id=usbredirchardev1 -device usb-redir,chardev=usbredirchardev1,id=usbredirdev1,debug=3,filter='0x08:-1:-1:-1:1|-1:-1:-1:-1:0' -readconfig /etc/qemu/ich9-ehci-uhci.cfg /home/images/Win7x86.img -monitor stdio -incoming tcp:127.0.0.1:4444 

remote-viewer spice://127.0.0.1?port=3001

Comment 2 Marc-Andre Lureau 2014-03-07 17:49:59 UTC
How is this a regression? compared to what version?

The behaviour has changed a bit in upstream, and all layout logic is now in virt-viewer (it used to be partially in spice-gtk).

The display are ordered based on window position by left-right, top-bottom, id, whenever are reconfiguration is triggered.

That should solve this bug, agreed?

Comment 3 Jonathon Jongsma 2014-03-07 18:04:26 UTC
Indeed, this particular bug is fixed upstream. I didn't see this bug earlier, but it's the same as Bug 1018180, which is now in POST.  marking this as a duplicate.

*** This bug has been marked as a duplicate of bug 1018180 ***