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

revise the logic of DefaultKeyboardFocusManager.dispatchEvent(..) for WINDOW_LOST_FOCUS

    Details

    • Type: Enhancement
    • Status: Open
    • Priority: P4
    • Resolution: Unresolved
    • Affects Version/s: 7
    • Fix Version/s: tbd
    • Component/s: client-libs
    • Labels:
    • Subcomponent:
    • CPU:
      generic
    • OS:
      generic

      Description

      Currently, DefaultKeyboardFocusManager.dispatchEvent(..) for WINDOW_LOST_FOCUS doesn't take into acount the source object of the event.
      Instead, it considers current global focused window to be the window losing focus. The reason of such behavior is that the platform-dependent
      code posts WINDOW_LOST_FOCUS to an owner frame/dialog when it loses activation, while some of its owned window is actually a focused window.
      We have to revise this logic and see if we can always post WINDOW_LOST_FOCUS to an appropriate window.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                serb Sergey Bylokhov
                Reporter:
                ant Anton Tarasov
              • Votes:
                0 Vote for this issue
                Watchers:
                0 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Imported:
                  Indexed: