Bug 705883 - doubly nested dialogs loose focus
Summary: doubly nested dialogs loose focus
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise Linux 5
Classification: Red Hat
Component: subscription-manager
Version: 5.7
Hardware: Unspecified
OS: Unspecified
unspecified
low
Target Milestone: beta
: 5.8
Assignee: Devan Goodwin
QA Contact: John Sefler
URL:
Whiteboard:
: 737696 (view as bug list)
Depends On:
Blocks: 715031 769266
TreeView+ depends on / blocked
 
Reported: 2011-05-18 19:12 UTC by J.C. Molet
Modified: 2012-02-21 06:40 UTC (History)
4 users (show)

Fixed In Version: 0.98.5-1.el5
Doc Type: Bug Fix
Doc Text:
No description necessary
Clone Of:
Environment:
Last Closed: 2012-02-21 06:40:58 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)
non modal dialog (129.69 KB, image/png)
2011-05-18 19:12 UTC, J.C. Molet
no flags Details


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHBA-2012:0154 0 normal SHIPPED_LIVE subscription-manager bug fix update 2012-02-20 15:06:04 UTC

Description J.C. Molet 2011-05-18 19:12:59 UTC
Created attachment 499672 [details]
non modal dialog

Description of problem:
When a third layer dialog appears, you can click on the dialog above it.  Doing so returns focus to that dialog even though it is unusable.

Version-Release number of selected component (if applicable):
subscription-manager-0.95.5.18-1.git.3.7e444c3.el5
subscription-manager-firstboot-0.95.5.18-1.git.3.7e444c3.el5
subscription-manager-gnome-0.95.5.18-1.git.3.7e444c3.el5


How reproducible:
always

Steps to Reproduce:
There are many ways to do this.  You just need a dialog that is on top of a dialog.  Here is one way:
1. Get a box with rhsm installed.
2. fire up subscription-manager-gui
3. Click "Register system"
4. Enter in invalid username and passwords and click register
5. When pop up error happens, click on the registration dialog.
  
Actual results:
Registration dialog receives focus.
Registration dialog is unusable and not responsive to clicks.

Expected results:
The error dialog remains on top with focus until it is cleared by the user.

Additional info:
Happens on all branches of rhsm.

Comment 1 Chris Duryee 2011-05-19 14:04:01 UTC
Moving out to 6.2. The code change looked to be more complicated than it's worth to fix in the 5.7 RC.

Comment 4 Devan Goodwin 2011-11-23 17:06:01 UTC
*** Bug 737696 has been marked as a duplicate of this bug. ***

Comment 5 Devan Goodwin 2011-11-23 18:08:24 UTC
Went as far into this issue as I dared, all errorWindow and handle_gui_exception calls now specify a parent window which should associate the dialog with it and prevent anything from hiding it away.

Fixed in subscription-manager.git master 14460bc1eae88da8d20e21bb216a662cc468517e. 

Will appear in 0.98.4.

Comment 7 J.C. Molet 2011-12-06 19:51:20 UTC
I've tested this with both the register dialog and the facts dialog, this now works and you cannot change focus within the program without clearing the error.

marking VERIFIED.

subscription-manager-gnome-0.98.5-1.git.2.cd86f84.el5_7

Comment 8 William Poteat 2012-01-20 17:03:45 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:
No description necessary

Comment 9 errata-xmlrpc 2012-02-21 06:40:58 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-0154.html


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