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.
I found that there is a problem with Arabic and Farsi language in uml editor. The problem is, when i do double click on Activity-Invocation Icon and try to type something in arabic or farsi, nothing appears till I press Enter. I have not this problem with English language. I test this issues with other elements and i have a same problem with these elements too. Simple State. Comment. َUse Case. Package. there is no such a problem with other elements that i test till now.
Created attachment 49018 [details] normal state before i do double click.
Created attachment 49019 [details] Error state when i do double click.
Azizi, Could you provide us some additional information ? - are you in an Arabic locale when running netbeans ? (ie both 1st and 3rd tab of regional settings are choosing the same language) - what about typing in the java editor and other parts of netbeans like other windows or dialogs - is the typing ok ? what about when doing a double click like in selecting text in those other parts and then typiing over it - is that ok ? - in the case of the first gif, where you can type the Arabic, does it type in ok - does the input and result the same as your typing Arabic into other windows applications ? NOTE - there are some issues in netbeans and jdk related to left to right languages. Thanks for the additional information. ken.frank@sun.com
--- are you in an Arabic locale when running netbeans ? --- (ie both 1st and 3rd tab of regional settings are choosing the same language) No I'm not in Arabic or Persian Local, i am in US English local but when i want to type something in Persian or Arabic i change keyboard Layout in taskbar. --- what about typing in the java editor and other parts of netbeans like other windows or dialogs - --- is the typing ok ? No, there is a problem with fonts that i submit it in another issue, because i think this is not related with this issue. --- what about when doing a double click like in selecting text in those other parts and then typiing over it - --- is that ok ? Yes, double clicking in other parts and typing farsi or arabic is OK. --- in the case of the first gif, where you can type the Arabic, does it type in ok - does the input and result --- the same as your typing Arabic into other windows applications ? as i say, when i do double clicking on those elements and type even one character of farsi or arabic everything become disappear till i press enter. but typing result is same as what i type at last. i have this problem only with Simple State - Comment - َUse Case - Package nodes. Also i can see an application icon in linux taskbar when i doing that. i think netbeans make a window over the node but show its icon on linux taskbar that is not normal. i have not such a problem with windows xp. you can see that icon blow the netbeans icon on the linux taskbar at this attachment picture (id=49019).
Can you try one more thing - actually be in the arabic locale from logging in in that locale, then start netbeans, and then trying the steps ? and also try typing in the editor to see if font problem is still there. As to the fonts in editor, what linux os is being used and what is the font path being used (from commandline, xset q command) and what is that other issue number about fonts ?
--- actually be in the arabic locale from logging in in that locale, then start netbeans, and then trying the steps ? I test it and problem still exist. --- and also try typing in the editor to see if font problem is still there. --- As to the fonts in editor, what linux os is being used and what is the font path being used (from commandline, xset q command) --- and what is that other issue number about fonts ? you can find your answers in issue no 116047 Thanks.
Issue 116054 also relates to the edit control for the same 4 nodes.
cleaned up summary
Summary for 60cat bugs should begin with [60cat]. Thanks, George
the issue is reproducible on windows xp as well when I set the locale to farsi. However, I have no problem in the package element.
Modified the code to change the underlined styled document of the edit control text area to use the default document that comes with JTextArea.
Fix verified in build 200710110401 on Ubuntu. Issue is no longer reproducible.