-
Bug
-
Resolution: Fixed
-
P3
-
5.0
-
b25
-
x86, sparc
-
solaris_8, solaris_9, solaris_10
The bug can be reproduced with the Swing regression test for bug 4769039
(javax/swing/JPopupMenu/4769039). In the test we are creating the Swing JPopupMenu with the editable component inside it. We are trying to enter the text into this component and checking if we are sucseeded. On the Solaris platform test fails. In our Popup class we are creating the popup as Window with name "###overrideRedirect###" and setFocusableWindowState(false). Later in the PopupFactory class where we are checking that there are focuseable components in the popup, we are resetting the parameters of the popup window to setFocusableWindowState(true) and name to "###focusableSwingPopup###". Note that this happens before the popup first time shown on screen. But this does not help, window can not be focused and text can not be entered into component. If i comment out the Popup code that makes popup window with special name and state test passes.
(javax/swing/JPopupMenu/4769039). In the test we are creating the Swing JPopupMenu with the editable component inside it. We are trying to enter the text into this component and checking if we are sucseeded. On the Solaris platform test fails. In our Popup class we are creating the popup as Window with name "###overrideRedirect###" and setFocusableWindowState(false). Later in the PopupFactory class where we are checking that there are focuseable components in the popup, we are resetting the parameters of the popup window to setFocusableWindowState(true) and name to "###focusableSwingPopup###". Note that this happens before the popup first time shown on screen. But this does not help, window can not be focused and text can not be entered into component. If i comment out the Popup code that makes popup window with special name and state test passes.
- duplicates
-
JDK-4906721 REGRESSION: Reg-test .../JPopupMenu/4769039/bug4769039.java fails
- Closed
- relates to
-
JDK-4769039 REGRESSION: Heavy weight popups should be focusable with editable components
- Resolved
-
JDK-5048933 REGRESSION: Regression-test javax/swing/JPopupMenu/4769039/bug4769039.java fails
- Closed