Bug 816550 - virt-viewer create new window for multiple monitors when reconnect to a guest.
Summary: virt-viewer create new window for multiple monitors when reconnect to a guest.
Alias: None
Product: Red Hat Enterprise Linux 6
Classification: Red Hat
Component: virt-viewer
Version: 6.3
Hardware: Unspecified
OS: Unspecified
Target Milestone: rc
: ---
Assignee: Daniel Berrangé
QA Contact: Virtualization Bugs
: 816468 (view as bug list)
Depends On:
TreeView+ depends on / blocked
Reported: 2012-04-26 11:26 UTC by zhe peng
Modified: 2012-06-20 12:12 UTC (History)
11 users (show)

Fixed In Version: virt-viewer-0.5.2-7.el6
Doc Type: Bug Fix
Doc Text:
Clone Of:
Last Closed: 2012-06-20 12:12:41 UTC
Target Upstream Version:

Attachments (Terms of Use)

System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHBA-2012:0772 0 normal SHIPPED_LIVE virt-viewer bug fix and enhancement update 2012-06-19 20:35:11 UTC

Description zhe peng 2012-04-26 11:26:35 UTC
Description of problem:
virt-viewer create new window for multiple monitors when reconnect to a guest.

Version-Release number of selected component (if applicable):

How reproducible:

Steps to Reproduce:
1: prepare win guest with spice
2: add two qxl video,and start the guest
3: in guest , install qxl-win driver,config two monitors
4: use virt-viewer to open guest with --reconnect --wait
 #virt-viewer win7_64 --reconnect --wait
5: virt-viewer will open two display
6: in host console,use virsh restart the guest,run
 #virsh destroy win7_64
 #virsh start win7_64

Actual results:
when windows guest complete started,virt-viewer will create a new window to show second monitor,the old one still exist and without anything.
there have three virt-viewer display. 

Expected results:
should only have two virt-viewer page when guest have two monitor.

Additional info:

Comment 2 RHEL Program Management 2012-05-03 05:00:40 UTC
Since RHEL 6.3 External Beta has begun, and this bug remains
unresolved, it has been rejected as it is not proposed as
exception or blocker.

Red Hat invites you to ask your support representative to
propose this request, if appropriate and relevant, in the
next release of Red Hat Enterprise Linux.

Comment 3 Daniel Berrangé 2012-05-04 15:42:41 UTC
*** Bug 816468 has been marked as a duplicate of this bug. ***

Comment 4 Daniel Berrangé 2012-05-04 15:43:37 UTC
The problem was that we discarded the VirtViewerWindow object when the guest shutdown, but we forgot to destroy the GtkWindow, so the windows on screen stayed visible.


Comment 7 Geyang Kong 2012-05-07 07:21:57 UTC
Reproduced on the following build:

Verified pass on the following build:

Same as description

Actual result:
1. After guest shut down, there is only single window left.
2. After restarting guest, the second window will be displayed.

So change this bug to verified.

Comment 9 errata-xmlrpc 2012-06-20 12:12:41 UTC
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.


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