You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@pivot.apache.org by "Chris Bartlett (JIRA)" <ji...@apache.org> on 2010/08/11 14:34:16 UTC
[jira] Commented: (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:comment-tabpanel&focusedCommentId=12897235#action_12897235 ]
Chris Bartlett commented on PIVOT-586:
--------------------------------------
Replicated the issue using
- Windows XP x64
- Sun JRE 1.6.0_19-b04,
- Polish Programmers keyboard layout
- Pivot 1.5 Kitchen Sink (TextInput)
> 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.