Bug 226636 - DBCS3.4 Japanese inline input not working correctly in Solaris
Summary: DBCS3.4 Japanese inline input not working correctly in Solaris
Status: CLOSED WONTFIX
Alias: None
Product: Platform
Classification: Eclipse Project
Component: SWT (show other bugs)
Version: 3.4   Edit
Hardware: Sun Solaris-GTK
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Felipe Heidrich CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-04-11 04:02 EDT by Karim Hamzaoui CLA
Modified: 2017-12-06 01:34 EST (History)
6 users (show)

See Also:


Attachments
screenshot for each step (19.59 KB, image/gif)
2008-04-11 04:23 EDT, Karim Hamzaoui CLA
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Karim Hamzaoui CLA 2008-04-11 04:02:27 EDT
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
Comment 1 Karim Hamzaoui CLA 2008-04-11 04:23:23 EDT
Created attachment 95644 [details]
screenshot for each step

Refer to this screenshot for results of each step
Comment 2 Dani Megert CLA 2008-04-11 06:14:22 EDT
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.
Comment 3 Felipe Heidrich CLA 2008-06-02 17:31:40 EDT
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.
Comment 4 Felipe Heidrich CLA 2008-06-02 17:48:50 EDT
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.
Comment 5 Karim Hamzaoui CLA 2008-06-03 03:42:01 EDT
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. 
Comment 6 Felipe Heidrich CLA 2008-06-03 14:22:05 EDT
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 ?
Comment 7 Karim Hamzaoui CLA 2008-06-04 10:29:43 EDT
Felipe, 
I tried what you suggested but the input still behaves in the same way as before.
Comment 8 Alexander Kurtakov CLA 2017-12-06 01:34:54 EST
SWT no longer provides Solaris builds.