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:
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.
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.
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.
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.
Fixed in the 1.8.2 version of subscription-manager or python-rhsm
# 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
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.
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