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

win32: temporary property not set on certain focus events

XMLWordPrintable

    • 1.1fcs
    • generic
    • solaris_10
    • Not verified

      Our FocusEvent class now has an additional "temporary" property to indicate
      when focus change events are the side affect of some other operation as
      opposed to the focus actually changing within a window.

      A focusOut event should be temporary when:
       -- it results from a window being de-activated
       -- it results from a menu being posted (if it's delivered then on the platform)

      All focusIn events on native components are permanent, so that is not
      currently a problem.

      On win32, the temporary bit on focusOut events is not being set properly.
      You can see this by running the test, src/share/test/awt/ListenerTest.

            tballsunw Tom Ball (Inactive)
            amfowler Anne Fowler (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: