Community
Participate
Working Groups
Build ID: I20080330-1350 Steps To Reproduce: [Description] When entering a Japanese string in Solaris; after converting the first part of it and trying to move to the next part by pressing [down-arrow], the first part gets deleted and the next selected part moves to the next line along with the cursor. [Steps] 1. Start eclipse in japanese locale and open a file in the Java/Text editor 2. Make sure the Japanese input mode is turned on 3. Type a Japanese word (Ex: "J","U","U", "D", "O", "U") then press [space] (refer to attached screenshot for expected result on each step) 4. Press "left-arrow" twice to select first part, then press [space] to convert it 5. Press "down-arrow" to move to second part More information: [Environment] Solaris 10 (sparc) 8/07 Sun JDK 1.6.0_04-b12 Locale: Japanese
Created attachment 95644 [details] screenshot for each step Refer to this screenshot for results of each step
As this also happens in the Text editor I suspect a problem in StyledText. Could not reproduce as I don't have such a machine at hand.
Steve, i don't like this bug. I don't have the machine to test. We could easily (and safely) disable inline input method for solaris.
Karim, I noticed in the screenshot you were able to enter the word judo in the text (even with the bug). How bad is this problem ? Does it make impossible to enter certain japanese words in the editor ? Note: If I remember right the IME does never work correctly remotely, it is possible that I won't be able to work on this bug.
Hi Felipe, Yes you can enter all japanese words if you "type->convert" for each part seperatly. But normally users type long composed words using Kanjis or parts that might have several converted formats. So they type first the whole long word or sentence before start converting each part using inline editing. I just set up the same machine as last time with IME up and running. But the problem is that the bug is not reproducible remotely ;). It could be vnc getting in between the event from IME and eclipse by transmitting each buffered part separately or something. I am trying to set up a way where you can reproduce it remotely. I will send you access details by email when done.
Karim, if I give you some code would you be able to try it for me ? 1. first get SWT from the CVS, see http://www.eclipse.org/swt/cvs.php 2. Open the time IME.java, located the method "boolean isInlineEnabled ()" 3. change it to: boolean isInlineEnabled () { return OS.IsLinux && hooks (SWT.ImeComposition); } 4. Self host eclipse (select org.eclipse.swt, run as Eclipse Application) 5. try the input method This should change the IME from in-line to over-the-spot mode. What is better for you ?
Felipe, I tried what you suggested but the input still behaves in the same way as before.
SWT no longer provides Solaris builds.