[
https://issues.apache.org/jira/browse/PIVOT-586?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12899671#action_12899671
]
Greg Brown commented on PIVOT-586:
----------------------------------
This has been resolved for Pivot 1.5.x and Pivot 2.0. When the right-Alt
(Alt-Graphics) key is pressed, the Ctrl key modifier is not set.
> Alt+A in Polish locale incorrectly selects all text
> ---------------------------------------------------
>
> Key: PIVOT-586
> URL: https://issues.apache.org/jira/browse/PIVOT-586
> Project: Pivot
> Issue Type: Bug
> Components: wtk
> Reporter: Greg Brown
> Fix For: 1.5.2, 2.0
>
>
> Right Alt+A (Alt Gr) is a key which simulates Ctrl+Left Alt (see history
> section in http://en.wikipedia.org/wiki/AltGr_key). This causes all text to
> be selected when the Polish special character "ą" is entered.
> TerraTextInputSkin defines "select all" as <command key>+A:
> ...
> } else if (keyCode == Keyboard.KeyCode.A
> && Keyboard.isPressed(commandModifier)) {
> ...
> On Windows, the command key is Ctrl. The isPressed() method uses a bitmask,
> so it returns true for the Ctrl+Left Alt case which Alt Gr generates. It
> should instead check if CTRL is the only modifier pressed at the moment.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.