Bug 724793 (BRMS-632)

Summary: It's not possible to abort dialogs by hitting Esc
Product: [JBoss] JBoss Enterprise BRMS Platform 5 Reporter: Jiri Locker <jlocker>
Component: BRM (Guvnor)Assignee: Toni Rikkola <trikkola>
Status: VERIFIED --- QA Contact: Jiri Locker <jlocker>
Severity: medium Docs Contact:
Priority: medium    
Version: BRMS 5.2.0-Dev1CC: atangrin, lpetrovi, trikkola
Target Milestone: ---   
Target Release: BRMS 5.3.0.GA   
Hardware: Unspecified   
OS: Unspecified   
URL: http://jira.jboss.org/jira/browse/BRMS-632
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
In the JBoss user interface, it was not always possible to close dialogs by pressing the escape key, because the focus was being taken away from the dialogs.
Story Points: ---
Clone Of: Environment:
Last Closed: Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:

Description Jiri Locker 2011-07-12 13:34:16 UTC
securitylevel_name: Public

Comment 1 Jiri Locker 2011-07-12 13:34:36 UTC
Link: Added: This issue depends GUVNOR-1317


Comment 2 Toni Rikkola 2011-08-22 06:45:47 UTC
Fixed. Changing status to ON_QA, please correct me if that is not the next step.

Comment 3 Lukáš Petrovický 2011-08-22 06:56:32 UTC
(In reply to comment #2)
> Fixed. Changing status to ON_QA, please correct me if that is not the next
> step.

I think that from ASSIGNED it should go to MODIFIED and then a QE engineer would pick it up and take it ON_QA. But never mind - we'll pick it up anyway. :-)

Comment 4 Jiri Locker 2011-08-31 12:16:58 UTC
Hitting Esc now closes the dialog box if it has focus, but the feature is still incomplete as the dialog doesn't receive focus immediately after appearing.

So, if I bring up a dialog that I didn't intend to and I want to get rid of it quickly by hitting Esc, I need to click somewhere in the dialog box first to give it the focus, which is the same amount of work as clicking the 'x' button to close it :)

The expected behaviour is that dialogs can be aborted with the Esc key immediately after they appear without having to focusing them manually using mouse.

Comment 5 Toni Rikkola 2011-09-21 10:07:17 UTC
Look like something stole the focus from the popup. Should work now.

Comment 6 Lukáš Petrovický 2011-09-30 09:00:13 UTC
Hitting Esc now closes dialogs. (VERIFIED in ER5 with the dialog asking for repo import on first startup of Guvnor.)

Comment 8 lcarlon 2012-05-03 01:32:36 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:
In the JBoss user interface, it was not always possible to close dialogs by pressing the escape key.

Comment 9 lcarlon 2012-05-30 05:55:55 UTC
    Technical note updated. If any revisions are required, please edit the "Technical Notes" field
    accordingly. All revisions will be proofread by the Engineering Content Services team.
    
    Diffed Contents:
@@ -1 +1 @@
-In the JBoss user interface, it was not always possible to close dialogs by pressing the escape key.+In the JBoss user interface, it was not always possible to close dialogs by pressing the escape key, because the focus was being taken away from the dialogs.