Bug 226897 - [Palette] Thai3.4: No word wrap in Palette's tooltip text
Summary: [Palette] Thai3.4: No word wrap in Palette's tooltip text
Status: NEW
Alias: None
Product: GEF
Classification: Tools
Component: GEF-Legacy GEF (MVC) (show other bugs)
Version: 3.4   Edit
Hardware: PC Windows XP
: P3 major (vote)
Target Milestone: ---   Edit
Assignee: gef-inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-04-14 07:10 EDT by Suwit Srivilairith CLA
Modified: 2010-11-04 17:34 EDT (History)
5 users (show)

See Also:


Attachments
screen capture (35.68 KB, image/gif)
2008-04-14 07:10 EDT, Suwit Srivilairith CLA
no flags Details
Sample Thai text file (UTF-8) (477 bytes, text/plain)
2008-04-14 07:12 EDT, Suwit Srivilairith CLA
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Suwit Srivilairith CLA 2008-04-14 07:10:49 EDT
Created attachment 95896 [details]
screen capture

Build ID: I20080330-1350

Steps To Reproduce:
1) Run Eclipse 3.4 platform
2) Select File->New->Example from menu
3) Select Logic Diagram under GEF(Graphical Editing Framework) and click Next > button
4) Select the parent folder
4) Enter ThaiModel.logic as File name and select Empty Model for Logic Model Samples
5) Click Finish button
6) Right-click anywhere on the palette and select "Customize..." from the pop-up menu.
7) In the dialog that pops up, enter Thai long text without space in the Description's field (Please find the sample Thai text in the attached sampleThaitext.txt file).
8) Click OK
9) Place mouse pointer over the icon we added Thai text in its description.
10) Tooltip text will show up


Test environment:
Eclipse 3.4 M6
GEF 3.4 M6
GEF Example 3.4 M6
Operating System: Windows XP SP2 (Regional Setting is Thai)


Problem description: 
There are no line wrap in tooltip text. All Thai characters are displayed within one line. Please find screen capture in attachment.

It seems that there are no Thai work break implementation there.

Please use Java or ICU 's Iterator class to identify word break or line break position for Thai locale.

Regards, Suwit
Comment 1 Suwit Srivilairith CLA 2008-04-14 07:12:18 EDT
Created attachment 95897 [details]
Sample Thai text file (UTF-8)