[jira] [Commented] (PIVOT-850) Fail to take input characters other than English in Mac Lion

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view

[jira] [Commented] (PIVOT-850) Fail to take input characters other than English in Mac Lion

JIRA jira@apache.org

    [ https://issues.apache.org/jira/browse/PIVOT-850?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16035374#comment-16035374 ]

Roger Whitcomb commented on PIVOT-850:

Several more commits:
Revision 1797311:
PIVOT-850:  Solve cursor positioning problems (with the possible exception of when the caret is at the end of the text) with composed and committed text intermingled.

Move the storage of the composed text into the TextInput component itself so the width can be taken into account for "setSelection".


Revision 1797402:
PIVOT-850: Update the text width calculations to use an average of the TextLayout "bounds" and the "pixel bounds" which can differ by 4 pixels (often with the default font), and maybe more.  Using the average seems visually to be "all right", in that the caret doesn't look too weird.

Fix problems with the drawing of the prompt with centered or right-justified controls.  We need to calculate the "alignmentDeltaX" with the prompt text instead of the real text (which there isn't any of when drawing the prompt).

Add centered and right-justified controls to the "text_input_text.bxml" test case.


And finally this one to address several lingering problems:
Sending        wtk-terra\src\org\apache\pivot\wtk\skin\terra\TerraTextInputSkin.java
Transmitting file data .done
Committing transaction...
Committed revision 1797428.

> Fail to take input characters other than English in Mac Lion
> ------------------------------------------------------------
>                 Key: PIVOT-850
>                 URL: https://issues.apache.org/jira/browse/PIVOT-850
>             Project: Pivot
>          Issue Type: Bug
>          Components: wtk, wtk-terra
>    Affects Versions: 2.0.1, 2.0.2, 2.0.3
>         Environment: Mac Lion
>            Reporter: Brendan
>            Assignee: Roger Whitcomb
>              Labels: jre, mac
>             Fix For: 2.5
>         Attachments: ASF.LICENSE.NOT.GRANTED--Input to Mac Lion of Chinese Character show nothing.jpg, ASF.LICENSE.NOT.GRANTED--Window 7 and Text Area to show Chinese Input as Box.jpg, inputProblem.png, Screen Shot 2013-03-11 at 10.56.51 AM.png, Screen Shot 2013-03-11 at 10.59.23 AM.png, Screen Shot 2013-03-11 at 11.00.14 AM.png, WebStartInput.png
> In Mac Lion, no Chinese and Korean character can appear in TextInput and TextArea thru the input method.
> However, these components can take the character thru copy and paste.

This message was sent by Atlassian JIRA