Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 311604 - TVT36:TCT107: CHS: Buttons Truncated
Summary: TVT36:TCT107: CHS: Buttons Truncated
Status: CLOSED FIXED
Alias: None
Product: Data Tools
Classification: Tools
Component: SQLDevTools (show other bugs)
Version: unspecified   Edit
Hardware: PC Windows 7
: P3 normal (vote)
Target Milestone: 1.8   Edit
Assignee: Brian Payton CLA
QA Contact:
URL: 107
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-05-04 14:52 EDT by CDE Administration CLA
Modified: 2010-05-31 07:21 EDT (History)
5 users (show)

See Also:


Attachments
107_08.000.490_truncation.gif (15.01 KB, image/gif)
2010-05-04 14:52 EDT, CDE Administration CLA
no flags Details
TCT#107_08.000.490.png (16.20 KB, image/png)
2010-05-04 14:52 EDT, CDE Administration CLA
no flags Details
WSW36_2.png (52.98 KB, image/png)
2010-05-04 14:52 EDT, CDE Administration CLA
no flags Details
TCT#107_08.000.490_truncation.gif (40.23 KB, image/gif)
2010-05-04 14:52 EDT, CDE Administration CLA
no flags Details
08.000.490.gif (22.54 KB, image/gif)
2010-05-04 14:52 EDT, CDE Administration CLA
no flags Details
08.000.490_TruncatedButtons_FR.gif (203.91 KB, image/gif)
2010-05-04 14:52 EDT, CDE Administration CLA
no flags Details
107_DE_08.000.490_trunc_btn.gif (18.61 KB, image/gif)
2010-05-04 14:52 EDT, CDE Administration CLA
no flags Details
08.000.490.png (68.37 KB, image/png)
2010-05-04 14:52 EDT, CDE Administration CLA
no flags Details
08.000.490.es.gif (43.98 KB, image/gif)
2010-05-04 14:52 EDT, CDE Administration CLA
no flags Details
08.000.490_PTB.jpg (31.38 KB, image/jpeg)
2010-05-04 14:52 EDT, CDE Administration CLA
no flags Details
Patch for o.e.d.sqltools.result.ui (6.04 KB, patch)
2010-05-11 03:51 EDT, Brian Payton CLA
no flags Details | Diff
Patch for o.e.d.sqltools.schemaobjecteditor.ui (6.36 KB, patch)
2010-05-11 03:51 EDT, Brian Payton CLA
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description CDE Administration CLA 2010-05-04 14:52:01 EDT
<response_by> Ma Xiao Long at 2010.05.02.23.41.56 </response_by>
NLS Build Label: 20100426-1300-nl1
Language: S.Chinese

- Steps To Recreate Problem:
1)  Start Eclipse and change the Perspective to Database Development Perspective from Window->Open Perspective->Other?
2)  When the Database Development Perspective opens, verify the Data Source Explorer (DSE) opens.  It should contain the Databases folder
3)  Open the Project Explorer View by selecting Window -> Show View -> Other... expand the General folder and select Project Explorer
4)  Create a project named test by selecting File -> New -> Project... expand the General folder and select Project.
5)  Open the Preference pages for SQL Development by selecting Window -> Preferences, expand Data Management -> SQL Development
6)  Expand SQL Results View Options and select History Options
7)  Verify the text in the window below

- Problem Description:
We found truncation, pls help to check, thanks!

<response_by> MiJung Cho at 2010.05.03.02.10.36 </response_by>
Hello,

The same for korean

Thanks
MJ

<response_by> Eikestam, Mats at 2010.05.03.03.42.24 </response_by>
The same for Swedish

Thanks,
Mats

<response_by> Mika Salminen at 2010.05.03.04.03.01 </response_by>
Same problem with Finnish.

<response_by> Lisa Chang at 2010.05.03.04.09.33 </response_by>
Same for CHT

<response_by> maria cristina caroletti at 2010.05.03.07.18.26 </response_by>
The same for ITA.
Kind Regards
Alessandro

<response_by> Albatros at 2010.05.03.07.27.08 </response_by>
Hi,

Same problem for Turkish.
Thanks,
Nilgun.

<response_by> Anna Routsi at 2010.05.03.10.09.42 </response_by>
Hello,

Same problem for Greek.

Thanks,
Anna

<response_by> martine marin at 2010.05.03.10.11.54 </response_by>
Same for France
See attached capture
Thanks,
Martine

<response_by> Holger Schicht at 2010.05.03.10.38.26 </response_by>
Hi,

Same problem also for German.

Thanks,
Holger

<response_by> Manuel Ferro at 2010.05.03.11.08.24 </response_by>
Same problem for PTG.

Regards,
Ricardo

<response_by> Emilio Cifuentes at 2010.05.03.11.17.39 </response_by>
Same problem for spanish

Thanks
Emilio

<response_by> Emilio Cifuentes at 2010.05.03.11.25.45 </response_by>
Attaching screen capture for spanish...

Thanks
Emilio

<response_by> Carolina Wada at 2010.05.03.13.53.34 </response_by>
Hi,

Same problem for pt_BR (Brazilian Portuguese)

Best regards,

Carolina Wada

<response_by> Kit Lo at 2010.05.03.22.46.37 </response_by>
This article was reassigned from Category:''TVT/Testing,Product/Functional Issues''.

<response_by> Katia Milekhina at 2010.05.04.02.33.31 </response_by>
Same problem for Russia.

Regards,
Katia

<response_by> Moravia IT at 2010.05.04.09.35.23 </response_by>
Same for PLK, 4 strings are truncated.

Kind Regards,
Maciek

<response_by> Kathy Li at 2010.05.04.13.05.08 </response_by>
Must-Fix: Yes

<response_by> nguyer at 2010.05.04.13.37.10 </response_by>
This article was reassigned from Category:''TVT/Testing,Inbox''.

<response_by> igultek at 2010.05.04.13.41.51 </response_by>
This article was reassigned from Category:''TVT/Testing,Xfer - Data Tools/SQL Editor Framework''.
Comment 1 CDE Administration CLA 2010-05-04 14:52:08 EDT
Created attachment 167016 [details]
107_08.000.490_truncation.gif
Comment 2 CDE Administration CLA 2010-05-04 14:52:11 EDT
Created attachment 167017 [details]
TCT#107_08.000.490.png
Comment 3 CDE Administration CLA 2010-05-04 14:52:15 EDT
Created attachment 167018 [details]
WSW36_2.png
Comment 4 CDE Administration CLA 2010-05-04 14:52:20 EDT
Created attachment 167019 [details]
TCT#107_08.000.490_truncation.gif
Comment 5 CDE Administration CLA 2010-05-04 14:52:21 EDT
Created attachment 167020 [details]
08.000.490.gif
Comment 6 CDE Administration CLA 2010-05-04 14:52:25 EDT
Created attachment 167021 [details]
08.000.490_TruncatedButtons_FR.gif
Comment 7 CDE Administration CLA 2010-05-04 14:52:28 EDT
Created attachment 167022 [details]
107_DE_08.000.490_trunc_btn.gif
Comment 8 CDE Administration CLA 2010-05-04 14:52:30 EDT
Created attachment 167023 [details]
08.000.490.png
Comment 9 CDE Administration CLA 2010-05-04 14:52:32 EDT
Created attachment 167024 [details]
08.000.490.es.gif
Comment 10 CDE Administration CLA 2010-05-04 14:52:34 EDT
Created attachment 167025 [details]
08.000.490_PTB.jpg
Comment 11 CDE Administration CLA 2010-05-04 14:52:49 EDT
<cde:tctdetail>
Testcase: 08.000.490 - DTP - HISTORY OPTIONS PAGE
Project: WSW36
Component: Xfer - CDT/cdt-build
Priority: 2
Subject: CHS: Buttons Truncated
Article ID: 107
Originator: maxl@szchkj.com.cn
</cde:tctdetail>
Comment 12 Elena Laskavaia CLA 2010-05-04 14:58:05 EDT
CDT does not have Database Development perspective please assign to the right product
Comment 13 CDE Administration CLA 2010-05-06 22:36:03 EDT
<response_by> Keiko Terada at 2010.05.06.21.30.11 </response_by>
same problem for Japanese
Comment 14 Brian Payton CLA 2010-05-11 03:51:23 EDT
Created attachment 167870 [details]
Patch for o.e.d.sqltools.result.ui
Comment 15 Brian Payton CLA 2010-05-11 03:51:57 EDT
Created attachment 167871 [details]
Patch for o.e.d.sqltools.schemaobjecteditor.ui
Comment 16 Brian Payton CLA 2010-05-11 03:57:59 EDT
The problem is in the AbstractShiftedListSection class of plugin org.eclipse.datatools.sqltools.result.ui.  The width of the button area containing the "shift" buttons is set to a hard-coded value (80 pixels) that isn't wide enough for many languages.  I've modified the code to compute the width of the longest shift button label when the area is being layed out, and use that as the width hint of each button in the button area.

I've made the same fix in the SchemaObjectEditorPreferencePage class in plugin org.eclipse.datatool.sqltools.schemaobjecteditor.ui.  The problem was not as apparent in this class because the default shift button width was hard-coded to 120 pixels, but dynamic sizing is better, so I did the same fix.
Comment 17 Brian Payton CLA 2010-05-11 04:03:21 EDT
Checked in fix, tagged to v201005111600
Comment 18 CDE Administration CLA 2010-05-13 03:17:59 EDT
<response_by> Keiko Terada at 2010.05.13.02.04.01 </response_by>
verified fix in 20100512-1300 for JA, thanks!
Comment 19 CDE Administration CLA 2010-05-14 00:06:08 EDT
<response_by> Ma Xiao Long at 2010.05.13.23.00.15 </response_by>
Fixed in build 20100512-1300-nl1, thanks!
Comment 20 CDE Administration CLA 2010-05-14 04:21:28 EDT
<response_by> Holger Schicht at 2010.05.14.03.08.49 </response_by>
Fixed in build 20100513-1500 for German.

Thanks,
Holger
Comment 21 CDE Administration CLA 2010-05-14 07:21:41 EDT
<response_by> MiJung Cho at 2010.05.14.06.07.15 </response_by>
Hello,

It is fixed for korean in 20100513 build

Thanks
MJ
Comment 22 CDE Administration CLA 2010-05-14 13:36:16 EDT
<response_by> martine marin at 2010.05.14.12.34.18 </response_by>
Fixed for France in build 20100513-1500
Thanks a lot,
Martine
Comment 23 CDE Administration CLA 2010-05-21 11:51:59 EDT
<response_by> Manuel Ferro at 2010.05.21.10.48.16 </response_by>
It's fine, for portuguese, in build 20100520-0200

Regards,
Ricardo
Comment 24 CDE Administration CLA 2010-05-27 00:21:51 EDT
<response_by> Lisa Chang at 2010.05.26.23.07.41 </response_by>
fixed in build 20100509-1500-nl1 for CHT
Comment 25 CDE Administration CLA 2010-05-27 02:36:02 EDT
<response_by> Eikestam, Mats at 2010.05.27.01.27.20 </response_by>
Verified fixed for Swedish

Thanks,
Mats
Comment 26 CDE Administration CLA 2010-05-28 17:21:02 EDT
<response_by> Carolina Wada at 2010.05.28.16.16.28 </response_by>
Hi,

Fixed for Brazilian Portuguese, too.

Best regards,

Carolina Wada
Comment 27 CDE Administration CLA 2010-05-31 06:07:02 EDT
<response_by> maria cristina caroletti at 2010.05.31.04.57.45 </response_by>
Hi,
Fixed for Italian.
Thanks
Alessandro
Comment 28 CDE Administration CLA 2010-05-31 07:21:52 EDT
<response_by> Emilio Cifuentes at 2010.05.31.06.13.39 </response_by>
Hi

Fixed for spanish

Thanks
Emilio