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

PIT: ALT + SPACEBAR does not bring up the frame's default menu when focus is in disabled button

    XMLWordPrintable

    Details

    • Subcomponent:
    • Resolved In Build:
      b43
    • CPU:
      x86
    • OS:
      windows_xp
    • Verification:
      Verified

      Description

      The following bug fix
      5044469: REG: Disabled component gains focus and receives keyevents on win32
      suppresses the events for space bar when a button is disabled and still has the focus. In such cases, when we press ALT + SPACE, the events for SPACE is suppressed hence preventing the frame from showing it's default menu containing maximize, restore, close options. Default frame menu should not be suppressed.

      This is reproducible only in the following PIT build on win32. Not reproducible on any of the previous mustang / tiger builds.
      java version "awt.pit-jcg-win-03-2004-10-15-Fri-int.mustang"
      Java(TM) 2 Runtime Environment, Standard Edition (build awt.pit-jcg-win-03-2004-10-15-Fri-int.mustang)
      Java HotSpot(TM) Client VM (build 1.6.0-ea-b08, mixed mode)

      I have attached a sample test. Execute the sample test. You would see a frame with a button. Click the button. The button will be disabled but will still have the focus. Now press 'ALT + SPACE'. If you don't see frame's default menu coming up, the bug is reproduced.
      ###@###.### 10/19/04 12:37 GMT

        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:
                Resolved:
                Imported:
                Indexed: