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

mousePressed events on Solaris do not set BUTTON1_MASK correctly

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: P2 P2
    • None
    • 1.1.5, 1.2.0
    • client-libs
    • None
    • sparc
    • solaris_2.5.1

      using the program Tester attached with various AWT components such as Button and
      TextField you will observe that when the mousePressed event is delivered from the Component being tested as a result of a button press using the primary button (BUTTON1) value of the modifier field is zero. However the value of the subsequent mouseReleased (and mouseClicked where appropriate) is 16 as it
      should be.

      When run on other platforms (win32) the modifer value is 16 (BUTTON1_MASK) as
      expected.

      This bug on Solaris will cause any application that uses BUTTON1 presses to
      initiate an action fail and is in direct violation of the specified behavior.

            lbunnisunw Lara Bunni (Inactive)
            lcablesunw Larry Cable (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: