Bug 920988

Summary: RHEL guest cannot extend its desktop to 2nd monitor after connect to it with remote-viewer for several times
Product: Red Hat Enterprise Linux 7 Reporter: Geyang Kong <gkong>
Component: virt-viewerAssignee: Marc-Andre Lureau <marcandre.lureau>
Status: CLOSED CURRENTRELEASE QA Contact: Virtualization Bugs <virt-bugs>
Severity: high Docs Contact:
Priority: high    
Version: 7.0CC: acathrow, cfergeau, codong, cwei, dallan, dblechte, lcui, mjenner, mkrcmari, mzhan, tzheng, zpeng
Target Milestone: rc   
Target Release: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: virt-viewer-0.5.7-6.el7 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: 876444 Environment:
Last Closed: 2014-06-13 12:28:51 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:
Bug Depends On: 876444    
Bug Blocks:    
Attachments:
Description Flags
virt-viewer and spice debug none

Comment 4 CongDong 2013-11-07 03:50:21 UTC
I can still reproduce this with the latest version virt-viewer:

# rpm -qa virt-viewer spice*
virt-viewer-0.5.7-2.el7.x86_64
spice-server-0.12.4-3.el7.x86_64
spice-glib-0.20-6.el7.x86_64
spice-vdagent-0.14.0-5.el7.x86_64
spice-gtk3-0.20-6.el7.x86_64

Steps:

1. Prepare a spice+qxl+spicevmc guest with 2 displays on a 2-monitor host.
2. Connect the guest with remote-viewer
# remote-viewer spice://127.0.0.1:5900 -full-screen=auto-conf
3. Close the window and do step2 again.

Result:
Step2, the 2nd display is the extend display, but after step3, the 2nd display is the mirrored one, and the resolution is so small.

The problem can be reproduced when connect the guest each of two times.

As the result, set to ASSIGNED

Comment 5 CongDong 2013-11-07 03:51:11 UTC
Created attachment 820857 [details]
virt-viewer and spice debug

Comment 6 Marc-Andre Lureau 2013-12-12 13:31:05 UTC
Fixed since

commit 34bbb275a6d2e10d69fe5eb919d0351185c1b5f0
Author: Jonathon Jongsma <jjongsma>
Date:   Fri Oct 18 11:18:37 2013 -0500

    Set Spice display to fullscreen if owning window is pending fullscreen

Since there are many multimonitor quirks before, I think we should do a rebase

Comment 8 tingting zheng 2014-02-08 06:05:57 UTC
I can reproduce this bug with:
virt-viewer-0.5.7-2.el7.x86_64
spice-glib-0.20-8.el7.x86_64
spice-gtk3-0.20-8.el7.x86_64
spice-gtk-0.20-8.el7.x86_64
spice-server-0.12.4-4.el7.x86_64

Tested pass with:
virt-viewer-0.5.7-6.el7.x86_64
spice-glib-0.20-8.el7.x86_64
spice-gtk3-0.20-8.el7.x86_64
spice-gtk-0.20-8.el7.x86_64
spice-server-0.12.4-4.el7.x86_64

Steps refer to comment 4,tried several times using remote-viewer to launch guest with option -full-screen=auto-conf,both monitors shows well,so move the bug to VERIFIED.

Comment 9 Ludek Smid 2014-06-13 12:28:51 UTC
This request was resolved in Red Hat Enterprise Linux 7.0.

Contact your manager or support representative in case you have further questions about the request.