-
Bug
-
Resolution: Duplicate
-
P2
-
None
-
1.1.5, 1.2.0
-
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.
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.
- duplicates
-
JDK-4117523 Solaris: MousePressed event has modifier=0 when left button is pressed
- Closed