You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@pivot.apache.org by "Greg Brown (JIRA)" <ji...@apache.org> on 2010/08/18 02:46:19 UTC
[jira] Resolved: (PIVOT-586) Alt+A in Polish locale incorrectly
selects all text
[ https://issues.apache.org/jira/browse/PIVOT-586?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Greg Brown resolved PIVOT-586.
------------------------------
Resolution: Fixed
> 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.