This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 77336 - I18N - [55cat] UML Diagrams doesn't allow accents
Summary: I18N - [55cat] UML Diagrams doesn't allow accents
Status: VERIFIED FIXED
Alias: None
Product: uml
Classification: Unclassified
Component: General Diagram (show other bugs)
Version: 5.x
Hardware: All All
: P2 blocker (vote)
Assignee: Viktor Lapitski
URL:
Keywords: I18N
: 82572 (view as bug list)
Depends on:
Blocks: 78353
  Show dependency tree
 
Reported: 2006-06-02 22:17 UTC by brviking
Modified: 2007-03-01 00:49 UTC (History)
3 users (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
Relevant portion of NB log when error occur. (6.86 KB, application/octet-stream)
2006-09-06 20:02 UTC, brviking
Details

Note You need to log in before you can comment on or make changes to this bug.
Description brviking 2006-06-02 22:17:25 UTC
Create UML Project - Plataform Independent Model.
Create new Component Diagram.
Add component.
Double click it.
Try to type "Acentuação": appear "Acentuaç~ao". Typing "Início" shows "In´icio".
Typing in properties window works fine.
Comment 1 Ken Frank 2006-06-02 22:24:27 UTC
This may be same as similar seen before using asian input method
tools to input multibyte characters in that language -
sometimes nothing can be input, other times what is input is,
as mentioned below, not correct.


These other bugs on this is in other bug system still.

There have been other customer mentions of similar issues.

ken.frank@sun.com
Comment 2 brviking 2006-09-06 19:51:58 UTC
The problem is even worse on Linux (Ubuntu 6.06 LTS) with UTF-8 and pt_BR locale.
Typing an "á" results in "HR".
Typing "Gráfico" results in "GrHRfico".
This occur on Documentation window too. This is a very big problem bcs is very
hard to tell developers to not type accents - typing accents is almost automatic
on foreign languages, like portuguese brazilian.
Comment 3 brviking 2006-09-06 19:53:36 UTC
One point more: just happen right now. Documentation window accepted the "á"
key, but when switch to another object throws ArrayIndexOutOfBoundException.
I'll attach the exception.
Comment 4 brviking 2006-09-06 20:02:42 UTC
Created attachment 33654 [details]
Relevant portion of NB log when error occur.
Comment 5 Ken Frank 2006-09-06 20:55:32 UTC
related issues when using multibyte are 
72910, 78353, 78358
Comment 6 Yang Su 2007-01-25 23:40:22 UTC
*** Issue 82572 has been marked as a duplicate of this issue. ***
Comment 7 Viktor Lapitski 2007-01-29 05:16:04 UTC
the reason was that in the EditControl only key_pressed were processed, and
key_typed - weren't. Thus "multi-keyed" character instead of being processed as
one character it was processed as a mere sequence of keycodes used to type it
in.  Fixed in release55 branch. Didn't see the problem with doc window.
Comment 8 Ken Frank 2007-02-15 16:30:02 UTC
I verified using japanese characters but could filer try latest
uml using the characters they originally used in the locale they
were in when they found the issue ?

But I noticed perhaps another issue - that when selecting the component
name and backspacing so it would delete character by character - 
for ascii it deletes char by char, ie if original is abcde
then deleting the e leaves abcd, and so on

but with multibyte, deleting the first character deletes the other characters
also.

will leave this one open until research more to see if separate issue needs
to be filed.

ken.frank@sun.com

Comment 9 Ken Frank 2007-02-15 16:33:30 UTC
the problem mentioned in last comment does not seem to happen now - but will
leave this in resolved to give original filer a chance to verify if desired.

ken.frank@sun.com
Comment 10 Peter Lam 2007-02-27 22:54:08 UTC
brviking, could you please verify this issue using the uml module from NB 5.5
Beta Update Center or daily build from http://uml.netbeans.org/downloads.html to
see if your problem has been fixed. Thanks!
Comment 11 brviking 2007-02-28 10:48:40 UTC
Yes, it´s fixed. If I find additional problems, I'll create a new issue.
Thanks you all!
Comment 12 Peter Lam 2007-03-01 00:49:07 UTC
Thanks for verifying the fix!