Bug 39018 - [DBCS] Characters lost when enter is pressed in logic example
Summary: [DBCS] Characters lost when enter is pressed in logic example
Status: RESOLVED DUPLICATE of bug 39074
Alias: None
Product: GEF
Classification: Tools
Component: GEF-Legacy GEF (MVC) (show other bugs)
Version: 2.1   Edit
Hardware: PC Linux-GTK
: P2 normal (vote)
Target Milestone: ---   Edit
Assignee: Randy Hudson CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-06-17 10:34 EDT by Jon Corchis CLA
Modified: 2003-06-18 11:39 EDT (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Jon Corchis CLA 2003-06-17 10:34:18 EDT
locale: ja_JP
Red Hat 8 Linux GTK 
Eclipse 2.1 Build Id: 200303272130
GEF 2.1 (20030327)
kinput2 -canna
logic example

To re-create:
1. Create a new logic diagram
2. Add a label
3. Edit the label
4. Press Shift+Space
5. Enter "nihongo" - notice that the characters are translated correctly
6. Press Enter to complete the edit and notice the changes are lost.

This does not seem to be a SWT problem because the same use-case works using 
the SWT example on the same platform.
Comment 1 Randy Hudson CLA 2003-06-17 11:47:30 EDT
Can you try editing the label's text from the property sheet as well?
I believe there is a "text" or "label" property. Let me know if that works in 
Japanese mode.

GTK is not officially supported by the GEF team. It is "early access" only.
Comment 2 Randy Hudson CLA 2003-06-17 11:53:47 EDT
Oops, I was wrong, there is no label property in the property sheet.
Comment 3 Randy Hudson CLA 2003-06-17 13:36:16 EDT
Actually, GTK is supported, but there are several known issues, such as 
problems when painting.  But, this is obviously not related.  However, we are 
just using a native Text control, so this will require investigation to find 
out what we are doing different.

Is there any place where you can edit text in the property sheet, where ENTER 
key commits the change, and this is functioning correctly?
Comment 4 Randy Hudson CLA 2003-06-17 13:52:53 EDT
You must be using version 2.2.x of GTK. Which version are you running?
Comment 5 Jon Corchis CLA 2003-06-17 14:33:35 EDT
rpm -q gtk2 -> gtk2-2.0.6-8

BTW: IBM J2RE 1.3.1

Comment 6 Randy Hudson CLA 2003-06-17 14:41:00 EDT
unsupported version of GTK.
Comment 7 Randy Hudson CLA 2003-06-18 11:38:56 EDT
My japanese colleague has verified that this problem exists on GTK 2.2.0 as 
well.
Comment 8 Randy Hudson CLA 2003-06-18 11:39:25 EDT
I have opened another bug with steps to reproduce without using GEF.

*** This bug has been marked as a duplicate of 39074 ***