Bug 784056 - already running instance of subscription-manager-gui should raise when a second instance is attempted
Summary: already running instance of subscription-manager-gui should raise when a seco...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise Linux 5
Classification: Red Hat
Component: subscription-manager
Version: 5.10
Hardware: Unspecified
OS: Unspecified
unspecified
medium
Target Milestone: beta
: 5.10
Assignee: Alex Wood
QA Contact: Entitlement Bugs
URL:
Whiteboard:
Depends On:
Blocks: rhsm-rhel510 rhsm-2013
TreeView+ depends on / blocked
 
Reported: 2012-01-23 17:09 UTC by John Sefler
Modified: 2013-09-30 22:32 UTC (History)
5 users (show)

Fixed In Version: 1.8.2
Doc Type: Bug Fix
Doc Text:
No description necessary
Clone Of:
Environment:
Last Closed: 2013-09-30 22:32:18 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHBA-2013:1332 0 normal SHIPPED_LIVE subscription-manager bug fix and enhancement update 2013-09-30 22:49:24 UTC

Description John Sefler 2012-01-23 17:09:56 UTC
Description of problem:
As a follow-up to the fix in bug 772921, when subscription-manager is already running and in a minimized state (or simply rendered under other gnome applications), a click of rhsm-icon or a terminal invocation of subscription-manager-gui, or use of the Applications> System Tools> Red Hat Subscription Manager should raise the first instance of subscription-manager-gui to the forefront.

Currently the first instance of subscription-manager-gui remains out of site.

Version-Release number of selected component (if applicable):
[root@jsefler-onprem-5server ~]# rpm -q subscription-manager-gnome
subscription-manager-gnome-0.99.4-1.git.9.de97915.el5


How reproducible:


Steps to Reproduce:
1. see Description of problem
2.
3.
  
Actual results:


Expected results:


Additional info:

Comment 1 William Poteat 2012-06-18 19:54:58 UTC
Subcription-manager 1.0.3-1 reports that the gui is already running in the CLI.
The menu start does not start a new window, but it does not yet push the window to the front.

Comment 2 James Bowes 2012-09-24 15:00:11 UTC
Pushing off till next release.

bonus implmentation idea:

Add a function to the dbus service the gui implements that tells it to request focus. If we detect someone already owns this service, make that call.

Comment 3 RHEL Program Management 2012-12-14 08:48:14 UTC
This request was not resolved in time for the current release.
Red Hat invites you to ask your support representative to
propose this request, if still desired, for consideration in
the next release of Red Hat Enterprise Linux.

Comment 4 Alex Wood 2012-12-21 19:41:04 UTC
commit af5bea513738a080f00c72c735e7616983d74200
Author: Alex Wood <awood>
Date:   Thu Dec 20 16:18:53 2012 -0500

    784056: Raise a running instance of the GUI to the forefront.

Comment 5 Bryan Kearney 2013-02-08 17:18:51 UTC
Fixed in the 1.8.2 version of subscription-manager or python-rhsm

Comment 6 Sharath Dwaral 2013-03-13 16:17:00 UTC
# rpm -qa | egrep "subscription-manager|python-rhsm"
subscription-manager-firstboot-1.8.4-1.el7.x86_64
python-rhsm-1.8.7-1.el7.x86_64
subscription-manager-1.8.4-1.el7.x86_64
subscription-manager-debuginfo-1.8.4-1.el7.x86_64
subscription-manager-gui-1.8.4-1.el7.x86_64
subscription-manager-migration-1.8.4-1.el7.x86_64


1. When subscription-manager-gui is already running and it either minimized or in the background, clicking on subscription manager icon brings the window to foreground.

2. When subscription-manager-gui is already running and it either minimized or in the background, running subscription-manager-gui on the terminal displays the following message and the window is brought to foreground (behing the terminal window which is the current active window)

# subscription-manager-gui
subscription-manager-gui is already running

Verified

Comment 7 RHEL Program Management 2013-04-09 20:54:22 UTC
This request was evaluated by Red Hat Product Management for inclusion
in a Red Hat Enterprise Linux release.  Product Management has
requested further review of this request by Red Hat Engineering, for
potential inclusion in a Red Hat Enterprise Linux release for currently
deployed products.  This request is not yet committed for inclusion in
a release.

Comment 11 errata-xmlrpc 2013-09-30 22:32:18 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-2013-1332.html


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