pivot-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Kamil T." <kamilt.m...@gmail.com>
Subject Re: Internationalization issues
Date Sat, 24 Jul 2010 14:30:00 GMT
Hi,
Thank you for fast answer.
I'm using latest stable version from the website - 1.5.

java:
Java Plug-in 1.6.0_20
Using JRE version 1.6.0_20-b02 Java HotSpot(TM) Client VM


Windows 7 64bit - ultimate

Strange, I was able to reproduce this behavior also inside Kitchen
Sink demo. TextArea behaves in the same way for me.
Could it be because of java version?

br
Kamil



W dniu 24 lipca 2010 16:13 użytkownik Greg Brown <gkbrown@mac.com> napisał:
> What Pivot version are you using? In 1.5 and above, I am able to copy the string "łóżźć"
into a TextInput, select the text using the mouse, and use Command-C (Mac shortcut) to copy
it without error. I can also use the Alt-A combination without a problem: I entered and copied
this text from the Kitchen Sink demo (using the Polish Pro keyboard mappings): "Pivotą".
>
> I was also unable to reproduce the problem in Windows XP. Could there possibly be some
other problem?
>
> Greg
>
> On Jul 24, 2010, at 9:34 AM, Kamil T. wrote:
>
>> Hello,
>>
>> My application uses Polish special characters and it looks like Pivot
>> has some problems with them.
>>
>> In TextInput component, if I write there some special chars,
>> copy/paste functionality stops working:
>> if I write  "łóżźć" inside TextInput, then select text using mouse, if
>> I press Ctrl+C I get:
>>
>>
>> java.lang.IndexOutOfBoundsException
>>       at org.apache.pivot.wtk.text.TextNode.getRange(TextNode.java:255)
>>       at org.apache.pivot.wtk.TextInput.getSelectedText(TextInput.java:603)
>>       at org.apache.pivot.wtk.TextInput.copy(TextInput.java:438)
>>       at org.apache.pivot.wtk.skin.terra.TerraTextInputSkin.keyPressed(TerraTextInputSkin.java:1249)
>>       at org.apache.pivot.wtk.Component$ComponentKeyListenerList.keyPressed(Component.java:514)
>>       at org.apache.pivot.wtk.Component.keyPressed(Component.java:2656)
>>       at org.apache.pivot.wtk.ApplicationContext$DisplayHost.processKeyEvent(ApplicationContext.java:1217)
>>       at java.awt.Component.processEvent(Unknown Source)
>>       at org.apache.pivot.wtk.ApplicationContext$DisplayHost.processEvent(ApplicationContext.java:655)
>>       at java.awt.Component.dispatchEventImpl(Unknown Source)
>>       at java.awt.Component.dispatchEvent(Unknown Source)
>>       at java.awt.KeyboardFocusManager.redispatchEvent(Unknown Source)
>>       at java.awt.DefaultKeyboardFocusManager.dispatchKeyEvent(Unknown Source)
>>       at java.awt.DefaultKeyboardFocusManager.preDispatchKeyEvent(Unknown Source)
>>       at java.awt.DefaultKeyboardFocusManager.typeAheadAssertions(Unknown Source)
>>       at java.awt.DefaultKeyboardFocusManager.dispatchEvent(Unknown Source)
>>       at java.awt.Component.dispatchEventImpl(Unknown Source)
>>       at java.awt.Component.dispatchEvent(Unknown Source)
>>       at java.awt.EventQueue.dispatchEvent(Unknown Source)
>>       at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)
>>       at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)
>>       at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
>>       at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
>>       at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
>>       at java.awt.EventDispatchThread.run(Unknown Source)
>>
>>
>>
>> Other issue I have is with polish special character "ą" - it's  made
>> using right alt+a on the polish programmer keyboard setting. The
>> result is that the char is not appended to the text but it replaces
>> the whole TextInput text content,   "some text" + (alt+a) -> "ą"
>>
>>
>> It's critical for me to get it fixed...
>>
>> best regards
>> Kamil Toszek
>
>

Mime
View raw message