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

REG. Component in a Window doesn't gain focus when Window's parent is made visible from hidden state

    XMLWordPrintable

    Details

    • Subcomponent:
    • CPU:
      x86
    • OS:
      windows_xp

      Description

      I have a button in a window with focusable state set to true. The parent of the window is a Frame which is hidden. The window is visible and as expected, the button does not gain focus when clicked. Now, the parent Frame is made visible. Still the button in the window does not gain focus, when it is clicked. The same behavior occurs for a window with a Dialog as parent.

      This occurs only with mustang builds, on Windows platform. It works with tiger rc build.

      To reproduce:
      1. Run the attached automated testcase

      If the message at the command prompt says "FAIL: Window did not gain focus when it's nearest owning frame is shown on the screen", the bug is reproduced.
      ###@###.### 2005-04-28 12:56:33 GMT

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              ant Anton Tarasov
              Reporter:
              gramachasunw Girish Ramachandran (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:
                Imported:
                Indexed: