RHEL Engineering is moving the tracking of its product development work on RHEL 6 through RHEL 9 to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "RHEL project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs in the statuses "NEW", "ASSIGNED", and "POST" are being migrated throughout September 2023. Bugs of Red Hat partners with an assigned Engineering Partner Manager (EPM) are migrated in late September as per pre-agreed dates. Bugs against components "kernel", "kernel-rt", and "kpatch" are only migrated if still in "NEW" or "ASSIGNED". If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "RHEL project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/RHEL-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.
Bug 814043 - remote-viewer does not have an application name set for human friendly title bar
Summary: remote-viewer does not have an application name set for human friendly title bar
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise Linux 6
Classification: Red Hat
Component: virt-viewer
Version: 6.3
Hardware: x86_64
OS: Linux
low
low
Target Milestone: rc
: ---
Assignee: Daniel Berrangé
QA Contact: Virtualization Bugs
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2012-04-19 06:01 UTC by Geyang Kong
Modified: 2013-08-05 03:43 UTC (History)
9 users (show)

Fixed In Version: virt-viewer-0.5.2-6.el6
Doc Type: Bug Fix
Doc Text:
None required
Clone Of:
Environment:
Last Closed: 2012-06-20 12:12:35 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
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 Geyang Kong 2012-04-19 06:01:16 UTC
Description of problem:
  virt-viewer doesn't open console form with specific name.

Version-Release number of selected component (if applicable):
virt-viewer-0.5.2-5.el6.x86_64

How reproducible:
100%

Steps to Reproduce:

1. Make sure there is a running guest.

2. Run #virt-viewer --name=test $guest

Actual results:

1. Console form opened without specific name.

Expected results:

1. Name of console form should be "test".

Additional info:

1. If I use remote-viewer --name=test spice://127.0.0.1:5900, it will be OK.

Comment 1 Daniel Berrangé 2012-04-19 08:48:30 UTC
I don't really understand what you're expecting to happen here. The '--name' option is a low level setting only ever used by legacy Window Managers and is not something you ever really want to set these days.

Comment 2 Geyang Kong 2012-04-20 10:11:45 UTC
I reported this bug because of I can get the --name option from #virt-viewer --help-all command. And it works well in remote-viewer command, so I think it should do same thing in virt-viewer.

Comment 3 Daniel Berrangé 2012-04-23 10:10:27 UTC
So in GLib there are two names maintained

 - program name - this is a named based on the 'argv[0]' of the binary, but overridable using '--name'
 - application name - this is a human friendly name, set by the application author

The window title bars will include the application name, but if that is not set, they fallback to using the program name. The remote viewer program had forgotten to set the application name, so we were falling back to program name. This is why the --name argument was able to affect the window title., Once we fix remote viewer to have an applicaiton name set, the title bar will *not* be affected by the --name argument, and thus behave the same as virt-viewer does.

Comment 4 Daniel Berrangé 2012-04-23 10:11:22 UTC
Fix upstream

https://www.redhat.com/archives/virt-tools-list/2012-April/msg00104.html

Comment 5 Daniel Berrangé 2012-04-23 17:07:19 UTC
    Technical note added. If any revisions are required, please edit the "Technical Notes" field
    accordingly. All revisions will be proofread by the Engineering Content Services team.
    
    New Contents:
None required

Comment 7 Geyang Kong 2012-04-24 08:44:28 UTC
Verified pass on the build
virt-viewer-0.5.2-6.el6.x86_64

Reproduced steps:
1. Have a running guest.
2. run #remote-viewer --name=test spice://127.0.0.1:5900
3. run #remote-viewer --name=test vnc://127.0.0.1:5900
4. run #virt-viewer --name=test $guestname

Actual result:
1. virt-viewer or remote-viewer form can be opened without any "name".

Change this bug to VERIFIED.

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

http://rhn.redhat.com/errata/RHBA-2012-0772.html


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