Bug 739007 - Window title is missing the name of the guest
Window title is missing the name of the guest
Status: CLOSED ERRATA
Product: Red Hat Enterprise Linux 6
Classification: Red Hat
Component: virt-viewer (Show other bugs)
6.0
Unspecified Unspecified
unspecified Severity unspecified
: rc
: ---
Assigned To: Daniel Berrange
Virtualization Bugs
: Regression
Depends On:
Blocks: 743047
  Show dependency treegraph
 
Reported: 2011-09-16 06:16 EDT by Daniel Berrange
Modified: 2011-12-06 10:07 EST (History)
4 users (show)

See Also:
Fixed In Version: virt-viewer-0.4.1-5.el6
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2011-12-06 10:07:33 EST
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)

  None (edit)
Description Daniel Berrange 2011-09-16 06:16:47 EDT
Description of problem:
The window title for virt-viewer instances does not contain the name of the guest being displayed, nor does it contain the display number (for multi-head) guests.

Version-Release number of selected component (if applicable):
0.4.1-4.el6

How reproducible:
Always

Steps to Reproduce:
1. virt-viewer rhel6guest
2.
3.
  
Actual results:
Window title is  'Virt Viewer'

Expected results:
Window title is 'rhel6guest (1) - Virt Viewer'

Additional info:
If the guest has multiple displays it should be showing

Window title is 'rhel6guest (1) - Virt Viewer'
Window title is 'rhel6guest (2) - Virt Viewer'
Window title is 'rhel6guest (3) - Virt Viewer'
etc for each window.
Comment 1 Daniel Berrange 2011-09-16 06:17:38 EDT
Fix available upstream with:

commit 46cf6410c11dc8369dcf74283656f4bb0e14be8a
Author: Daniel P. Berrange <berrange@redhat.com>
Date:   Fri Sep 16 10:57:53 2011 +0100

    Fix setting of window title with domain name
Comment 4 zhe peng 2011-09-20 02:51:13 EDT
can reproduce with :
virt-viewer-0.4.1-4.el6

verify with:
virt-viewer-0.4.1-5.el6

step:
1: prepare a windows guest with multiple graphics cards(this test guest have
three qxl graphics cards).
#virsh dumpxml winxp
.....
 <graphics type='spice' port='5901' tlsPort='-1' autoport='yes'
listen='0.0.0.0'>
      <listen type='address' address='0.0.0.0'/>
    </graphics>
.....
 <video>
      <model type='qxl' vram='65536' heads='1'/>
      <alias name='video0'/>
      <address type='pci' domain='0x0000' bus='0x00' slot='0x02'
function='0x0'/>
    </video>
    <video>
      <model type='qxl' vram='65536' heads='1'/>
      <alias name='video1'/>
      <address type='pci' domain='0x0000' bus='0x00' slot='0x06'
function='0x0'/>
    </video>
    <video>
      <model type='qxl' vram='65536' heads='1'/>
      <alias name='video2'/>
      <address type='pci' domain='0x0000' bus='0x00' slot='0x08'
function='0x0'/>
    </video>
.....

2:start the guest,popup three windows,
the window's title is:
 winxp(1) - Virt Viewer
 winxp(2) - Virt Viewer
 winxp(3) - Virt Viewer

3:test guest vnc with one graphic cards
#virsh dumpxml win2008
 <graphics type='vnc' port='5900' autoport='yes' listen='0.0.0.0'>
      <listen type='address' address='0.0.0.0'/>
    </graphics>
    <video>
      <model type='cirrus' vram='9216' heads='1'/>
      <alias name='video0'/>
      <address type='pci' domain='0x0000' bus='0x00' slot='0x02' function='0x0'/>
    </video>
#virt-viewer win2008
the window's title is:
 win2008(1) - Virt Viewer


verification passed.
Comment 5 errata-xmlrpc 2011-12-06 10:07:33 EST
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.

http://rhn.redhat.com/errata/RHEA-2011-1614.html

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