Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-4902893

The window that created with overrideRedirect can not be reset not to override

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: P3
    • Resolution: Fixed
    • Affects Version/s: 5.0
    • Fix Version/s: 5.0
    • Component/s: client-libs
    • Labels:
    • Subcomponent:
    • Resolved In Build:
      b25
    • CPU:
      x86, sparc
    • OS:
      solaris_8, solaris_9, solaris_10

      Description

      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.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                kizune Alexander Zuev
                Reporter:
                kizune Alexander Zuev
              • Votes:
                0 Vote for this issue
                Watchers:
                0 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:
                  Imported:
                  Indexed: