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

Disabling the focus owner and next few comps in the cycle freezes the application, XToolkit

XMLWordPrintable

    • b17
    • 7
    • generic, x86
    • linux, linux_ubuntu

      I have 4 buttons (button1 to button4) and focus traverses from button1 to button4. When the frame is shown initially, button1 has the focus. When I click on button1, I am disabling button1, button2, button3. disabling a focus owner should initiate the forward focus traversal and when the next component is also not focusable, global focus owner should be cleared.

      The global focus owner is cleared as expected but the application freezes after that. No other components respond to events and I have to kill the application.

      This is reproducible on SuSE10, Ubuntu 7.10, SolSparc10 with JDK7-b24. Reproducible atleast since JDK7-b21. Not reproducible with JDK6. Reproducible with openjdk6 build. I have attached the stack trace taken when the app was frozen.

      I have attached a sample test. Execute it. Press space bar when the focus is on 'Disable' button. After that, try clicking the menu or the 'Enable All' button. If the UI is non-responsive, the bug is reproduced.

      This makes all the SQE manual tests fail because the instruction dialog always has 'PASS', 'FAIL', 'FAIL REMARKS' button and few other buttons. When clicking PASS/FAIL for the last scenario, all the buttons would be disabled. When we do this, the test hangs there and we are not able to close the test UI and move to the next text.

            ant Anton Tarasov (Inactive)
            pmohansunw Praveen Mohan (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: