Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.
For bugs related to Red Hat Enterprise Linux 5 product line. The current stable release is 5.10. For Red Hat Enterprise Linux 6 and above, please visit Red Hat JIRA https://issues.redhat.com/secure/CreateIssue!default.jspa?pid=12332745 to report new issues.

Bug 855762

Summary: [RHSM GUI] 'All install products are covered by ...' dialog box should be actived in front of the SM main window.
Product: Red Hat Enterprise Linux 5 Reporter: Lijun Li <lijli>
Component: subscription-managerAssignee: John Sefler <jsefler>
Status: CLOSED ERRATA QA Contact: Entitlement Bugs <entitlement-bugs>
Severity: medium Docs Contact:
Priority: unspecified    
Version: 5.9CC: awood, bkearney, jsefler, lijli, qe-i18n-bugs
Target Milestone: rcKeywords: Desktop, i18n
Target Release: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2013-01-08 04:03:23 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 771748    
Attachments:
Description Flags
'All install products are covered by ...' dialog box should be actived in front of the SM main window.
none
The "All installed product are covered..." message dialog is now modal to the main Subscription Manager window. none

Description Lijun Li 2012-09-10 08:21:34 UTC
Description of problem:
Now when I click the SM main window, it's to be hide in back of the SM main window, 'All install products are covered by ...' dialog box should be actived in front of the SM main window. 

Version-Release number of selected component (if applicable):
subscription-manager-gui-1.0.14-1.el5.x86_64.rpm 


How reproducible:
100%

Steps to Reproduce:
1. Install os with latest RHEL5.9 Beta build
2. Run subscription-manager-gui.
3. Register the system using RHN account and password.
4. Subscribe to a subscription.
5. Click 'Auto-subscribe' on My Installed Products tab.


  
Actual results:
Now when I click the SM main window, it's to be hide in back of the SM main window, 'All install products are covered by ...' dialog box should be actived in front of the SM main window. 

Expected results:
'All install products are covered by ...' dialog box should be actived in front of the SM main window. 

Additional info:

Comment 1 Lijun Li 2012-09-10 08:26:14 UTC
Created attachment 611356 [details]
'All install products are covered by ...' dialog box should be actived in front of the SM main window.

Comment 2 RHEL Program Management 2012-09-10 08:37:20 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 3 Alex Wood 2012-09-14 20:28:38 UTC
There are three windows involved here: the main window A, the wizard window B, and the error dialog C.  In the buggy behavior, C is set_transient_for B but B is closed after C is displayed, leaving C orphaned and allowing A to be brought on top of C.  What we need to do is set C to be transient for A so that after B vanishes, C will stay on top.

See http://www.pygtk.org/docs/pygtk/class-gtkwindow.html#method-gtkwindow--set-transient-for

Comment 4 Alex Wood 2012-09-19 15:24:28 UTC
commit 1b409c7be5b0c478b32b6affb308e744a601abbe
Author: Alex Wood <awood>
Date:   Fri Sep 14 16:34:11 2012 -0400

    855762: Set correct parent for error dialog boxes raised by Autobind wizard.
    
    The error dialog boxes were being set transient for the wizard dialog
    which closes itself after raising the dialogs.  Consequently, the
    user was able to bring the main window into focus over the dialog
    rather than having the dialog always remain on top.

Available subscription-manager-1.0.19-1+

Comment 6 John Sefler 2012-09-20 21:24:52 UTC
Created attachment 615128 [details]
The "All installed product are covered..." message dialog is now modal to the main Subscription Manager window.

Verifying Version...
[root@rhsm-accept-rhel5 rhsm]# rpm -q subscription-manager-gui
subscription-manager-gui-1.0.19-1.el5

After clicking Auto-subscribe, a modal dialog opens that "searches for suitable service levels", once this dialog closes, the message dialog that says "All installed product are covered..." opens.  It too is modal and can no longer be hidden behind the main Subscription Manager gui.

Moving to VERIFIED.

Comment 8 errata-xmlrpc 2013-01-08 04:03:23 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-0033.html