-
Bug
-
Resolution: Unresolved
-
P3
-
None
-
6
-
Fix Understood
-
x86
-
windows_xp
1. Create a Frame with setFocusableWindowState(false) and make it visible.
2. Create a Window with a button and make it visible.
Expected result: Button inside the Window should have the focus
it should trigger focus gained event.
Actual resulst: Button inside the Window is not having the focus
and it is not triggering focus gained event
- the focus is not gained even though "isFocusableWindow" returns true for Window
- click on the button in Window still focus is not gained by the button.
- it happens both in Windows as well as in Solaris.
- This defect is there since 1.5.0 but there is a difference in 1.5.0 clicking on button in windows gains the focus and fires the event but this is broken in jdk 1.6.0 between b10 and b25.
Note: This happens only if the parent frame is setFocusableWindowState(false) same thing works fine for a dialog
2. Create a Window with a button and make it visible.
Expected result: Button inside the Window should have the focus
it should trigger focus gained event.
Actual resulst: Button inside the Window is not having the focus
and it is not triggering focus gained event
- the focus is not gained even though "isFocusableWindow" returns true for Window
- click on the button in Window still focus is not gained by the button.
- it happens both in Windows as well as in Solaris.
- This defect is there since 1.5.0 but there is a difference in 1.5.0 clicking on button in windows gains the focus and fires the event but this is broken in jdk 1.6.0 between b10 and b25.
Note: This happens only if the parent frame is setFocusableWindowState(false) same thing works fine for a dialog
- relates to
-
JDK-5090326 REG: Making parent frame non focusable makes all its child windows non focusable
-
- Open
-
-
JDK-6532781 default focus is not there on the window when parent frame is iconified.
-
- Open
-
-
JDK-6182359 Non focusable frame prevents any of it's child windows from gaining focus, on XToolkit
-
- Closed
-
-
JDK-6566434 REG: Choice on a non-focusable window responds to keyboard interactions, XToolkit
-
- Closed
-