-
Bug
-
Resolution: Unresolved
-
P4
-
1.4.2, 5.0, 6, 9, 11, 17
-
Cause Known
-
x86, sparc, x86_64
-
solaris_10, windows_7, windows_8
ActionEvent.getModifiers does not return the correct value for shift + left mouse click on Button. The value returned by call to ActionEvent.getModifiers does not include ActionEvent.SHIFT_MASK modifier. This is reproducible with tiger and mustang.
Steps to reproduce:
1. Compile and run the attached code.
2. Click on the button with shift key pressed and see the terminal window for output.
The testcase checks for ActionEvent.SHIFT_MASK and InputEvent.SHIFT_DOWN_MASK.
1. On Motif Toolkit, check for InputEvent.SHIFT_DOWN_MASK returns true and ActionEvent.SHIFT_MASK returns false.
2. On XToolkit, check for InputEvent.SHIFT_DOWN_MASK returns false and ActionEvent.SHIFT_MASK returns true.
3. On Windows, check for InputEvent.SHIFT_DOWN_MASK returns true and ActionEvent.SHIFT_MASK returns false.
###@###.### 10/25/04 13:07 GMT
Steps to reproduce:
1. Compile and run the attached code.
2. Click on the button with shift key pressed and see the terminal window for output.
The testcase checks for ActionEvent.SHIFT_MASK and InputEvent.SHIFT_DOWN_MASK.
1. On Motif Toolkit, check for InputEvent.SHIFT_DOWN_MASK returns true and ActionEvent.SHIFT_MASK returns false.
2. On XToolkit, check for InputEvent.SHIFT_DOWN_MASK returns false and ActionEvent.SHIFT_MASK returns true.
3. On Windows, check for InputEvent.SHIFT_DOWN_MASK returns true and ActionEvent.SHIFT_MASK returns false.
###@###.### 10/25/04 13:07 GMT
- relates to
-
JDK-6191390 Action Event triggered by list does not reflect the modifiers properly on win32
-
- Resolved
-
-
JDK-5031138 When doing a drag and drop, the drop event does not have the modifiers set.
-
- Open
-