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

Disabled frame triggers keyevents on win32

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Open
    • Priority: P4
    • Resolution: Unresolved
    • Affects Version/s: 1.4.0
    • Fix Version/s: None
    • Component/s: client-libs
    • Labels:
    • Subcomponent:
    • Understanding:
      Fix Understood
    • CPU:
      x86
    • OS:
      windows_xp

      Description

      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.

        Attachments

          Issue Links

            Activity

              People

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

                Dates

                Created:
                Updated:
                Imported:
                Indexed: