#8940 - 'Method Is Inherited' dialog button group broken.

The response buttons to the question 'Do you want to add exceptions to method signatures in the whole method hierarchy?' in the 'Method Is Inherited' dialog (displayed when the 'Add Exception(s) to Method Signature' intention is activated), are not working correctly.

The question presents 3 options, '_Y_es', '_N_o', & 'Cancel'. If you tab or left/right arrow between the buttons, the highlight will remain on the Yes button, although the focus rectangle moves from button to button. Hitting return after keying to any button will add the exception(s) to the hierarchy.

The buttons appear to work OK when mouse-clicked or if Alt-Y or Alt-N are used.

2 comments
Comment actions Permalink

Hello Dave,

The response buttons to the question 'Do you want to add exceptions to
method signatures in the whole method hierarchy?' in the 'Method Is
Inherited' dialog (displayed when the 'Add Exception(s) to Method
Signature' intention is activated), are not working correctly.

The question presents 3 options, '_Y_es', '_N_o', & 'Cancel'. If you
tab or left/right arrow between the buttons, the highlight will remain
on the Yes button, although the focus rectangle moves from button to
button. Hitting return after keying to any button will add the
exception(s) to the hierarchy.

The buttons appear to work OK when mouse-clicked or if Alt-Y or Alt-N
are used.


It seems to be common swing dialogs behavior: Enter always press the same
- default - button, and Space pressed currently focused one. For example,
Analyze stacktrace and Locate duplicates dialogs act the same.

Alexander.


0
Comment actions Permalink

OK - maybe I've been spending too much time with our own custom control set.

So much has been going wrong with 8940 here that I'm seeing problems that aren't there...

Sorry guys, false alarm.

Edited by: Dave Lorde on Oct 28, 2008 12:38 AM

0

Please sign in to leave a comment.