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

Disabled frame triggers keyevents on win32

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: P4 P4
    • None
    • 1.4.0
    • client-libs
    • Fix Understood
    • x86
    • windows_xp

      Disabled components are not expected to respond to any of the user inputs. But a disabled frame triggers a key event when a key is pressed. I have added a KeyEventDispatcher and KeyEventPostProcessor to the default KFM. The dispatcher receives the keyevent as soon as a key is pressed.

      This is noticed only on WinXP platform on all releases since 1.4. This is not reproducible on Solaris / Linux with Motif / XToolkit (No events are triggered and dispatcher is not called).

      I have attached a sample test. Execute the sample test. A frame will be shown. Press some keys. If you see some keyevents in the console, the bug is reproduced.

            dav Andrei Dmitriev (Inactive)
            pmohansunw Praveen Mohan (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Imported:
              Indexed: