Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 356901 - TVT/DVT3.7:TCT102: DAN: Truncation of "Case Insensitive"
Summary: TVT/DVT3.7:TCT102: DAN: Truncation of "Case Insensitive"
Status: RESOLVED FIXED
Alias: None
Product: CDT
Classification: Tools
Component: cdt-debug (show other bugs)
Version: 8.0   Edit
Hardware: PC Windows 7
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Chris Recoskie CLA
QA Contact: Ken Ryall CLA
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-09-07 05:23 EDT by CDE Administration CLA
Modified: 2014-01-29 22:56 EST (History)
13 users (show)

See Also:


Attachments
06.000.520_DA.jpg (39.30 KB, image/jpeg)
2011-09-07 05:23 EDT, CDE Administration CLA
no flags Details
06.000.520_-_#102.jpg (27.61 KB, image/jpeg)
2011-09-07 06:23 EDT, CDE Administration CLA
no flags Details
06.000.520_pt_BR.jpg (32.76 KB, image/jpeg)
2011-09-08 14:03 EDT, CDE Administration CLA
no flags Details
cdt_8_0 patch to FindReplaceDialog (1.95 KB, patch)
2011-09-14 17:24 EDT, John Liu CLA
cdtdoug: iplog+
Details | Diff
project_import (1.55 KB, application/x-zip-compressed)
2011-09-14 23:34 EDT, Keith Chuang CLA
no flags Details
z01.png (101.62 KB, image/png)
2011-09-20 02:04 EDT, CDE Administration CLA
no flags Details
06.000.520_-_#102-2.jpg (28.48 KB, image/jpeg)
2011-09-20 07:24 EDT, CDE Administration CLA
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description CDE Administration CLA 2011-09-07 05:23:43 EDT
<response_by> Henriette Hagemann at 2011.09.07.03.18.51 </response_by>
IES37 build: 20110825
Language: Danish

Steps to recreate:
1. Select project_import from Project Explorer.
2. Right click and select Debug as > Debug Configurations.
3. Now double click C/C++ Application.
4. Select the Debugger tab.
5. Click Debug.
6. In the Confirm Perspective Switch dialog, click Yes.
7. In the Debug perspective, go to Window -> Show View -> Disassembly.
8. If it?s not in the list, click on Other. Then Select Disassembly under Debug.
9. Go to Window -> Show View -> Trace Control.
10. If it?s not in the list, click on Other.  Select Trace Control under Debug.
11. In the Debug perspective, go to Window -> Show View -> Other.
12. Select Memory and Memory Browser under Debug.
13. Hit F6 until line 17 of the code is highlighted.
14. Switch to the Memory view and click on the Add Memory Monitor button.
15. Enter the following address: 0x401460
16. Click OK.
17. You should see something similar to the following:

Note: If your are not able to see the figure after step16,  right click on the 0x401460 panel and select Reset to Base Address to recreate step17

18. Select the ?New Renderings? tab.
19. Select Traditional and click Add Renderings.
20. From the drop down menu on the view?s toolbar.  Select Find/Replace.

The Danish translation of the string "Case Insensitive" is truncated. Please see attached.

<response_by> William Fu at 2011.09.07.04.10.30 </response_by>
This article was reassigned from Category:''TVT/Testing,WSW37(IES),Inbox''.
Comment 1 CDE Administration CLA 2011-09-07 05:23:47 EDT
Created attachment 202869 [details]
06.000.520_DA.jpg
Comment 2 CDE Administration CLA 2011-09-07 05:23:50 EDT
<cde:tctdetail>
Testcase: 06.000.520
Project: 
Component: Xfer - CDT/cdt-debug
Priority: 2
Subject: DAN: Truncation of  "Case Insensitive"
Article ID: 102
Originator: hagemann@dk.ibm.com
Stop Ship: N
</cde:tctdetail>
Comment 3 CDE Administration CLA 2011-09-07 06:23:14 EDT
<response_by> maria cristina caroletti at 2011.09.07.05.16.00 </response_by>
Same for IT

Regards
Alessandro
Comment 4 CDE Administration CLA 2011-09-07 06:23:15 EDT
Created attachment 202884 [details]
06.000.520_-_#102.jpg
Comment 5 Vivian Kong CLA 2011-09-07 16:24:37 EDT
Ken, do you know who can take a look at this?
Comment 6 CDE Administration CLA 2011-09-08 09:11:49 EDT
<cde:tctdetail>
Testcase: 06.000.520
Project: WSW37B
Component: Xfer - CDT/cdt-debug
Priority: 2
Subject: DAN: Truncation of  "Case Insensitive"
Article ID: 102
Originator: hagemann@dk.ibm.com
Stop Ship: N
</cde:tctdetail>
Comment 7 CDE Administration CLA 2011-09-08 11:23:50 EDT
<response_by> William Fu at 2011.09.08.10.19.38 </response_by>
Adding a comment for Spanish:

Spanish also has the truncation problem. However, the tester decided to shorten the translation. Which should probably fix truncation for Spanish.

But I'm still loggin this here so that the developers are aware.
Comment 8 CDE Administration CLA 2011-09-08 11:23:53 EDT
<cde:tctdetail>
Testcase: 06.000.520
Project: 
Component: Xfer - CDT/cdt-debug
Priority: 2
Subject: DAN: Truncation of  "Case Insensitive"
Article ID: 102
Originator: hagemann@dk.ibm.com
Stop Ship: N
</cde:tctdetail>
Comment 9 CDE Administration CLA 2011-09-08 14:03:41 EDT
<response_by> Carlos Marques at 2011.09.08.12.41.43 </response_by>
Same for Brazil, thanks.
Comment 10 CDE Administration CLA 2011-09-08 14:03:42 EDT
Created attachment 203016 [details]
06.000.520_pt_BR.jpg
Comment 11 CDE Administration CLA 2011-09-14 10:44:15 EDT
<response_by> Kathy Li at 2011.09.14.09.31.19 </response_by>
for this release, since the fix turn around time is so short, we have asked those countries to shorten translation in order to fix the truncation issue, ES, DA, IT, pt_BR issues are fixed by shorten translation.

For dev team, please continue to investigate and we'd like to get code fix instead of shorten translation in the future releases.

Thank you
Comment 12 CDE Administration CLA 2011-09-14 10:44:18 EDT
<cde:tctdetail>
Testcase: 06.000.520
Project: WSW37B
Component: Xfer - CDT/cdt-debug
Priority: 2
Subject: DAN: Truncation of  "Case Insensitive"
Article ID: 102
Originator: hagemann@dk.ibm.com
Stop Ship: N
</cde:tctdetail>
Comment 13 John Liu CLA 2011-09-14 15:00:13 EDT
(In reply to comment #0)
> <response_by> Henriette Hagemann at 2011.09.07.03.18.51 </response_by>
> IES37 build: 20110825
> Language: Danish
> Steps to recreate:
> 1. Select project_import from Project Explorer.
> 2. Right click and select Debug as > Debug Configurations.
> 3. Now double click C/C++ Application.
> 4. Select the Debugger tab.
> 5. Click Debug.
> 6. In the Confirm Perspective Switch dialog, click Yes.
> 7. In the Debug perspective, go to Window -> Show View -> Disassembly.
> 8. If it?s not in the list, click on Other. Then Select Disassembly under
> Debug.
> 9. Go to Window -> Show View -> Trace Control.
> 10. If it?s not in the list, click on Other.  Select Trace Control under Debug.
> 11. In the Debug perspective, go to Window -> Show View -> Other.
> 12. Select Memory and Memory Browser under Debug.
> 13. Hit F6 until line 17 of the code is highlighted.
> 14. Switch to the Memory view and click on the Add Memory Monitor button.
> 15. Enter the following address: 0x401460
> 16. Click OK.
> 17. You should see something similar to the following:
> Note: If your are not able to see the figure after step16,  right click on the
> 0x401460 panel and select Reset to Base Address to recreate step17
> 18. Select the ?New Renderings? tab.
> 19. Select Traditional and click Add Renderings.
> 20. From the drop down menu on the view?s toolbar.  Select Find/Replace.
> The Danish translation of the string "Case Insensitive" is truncated. Please
> see attached.
> <response_by> William Fu at 2011.09.07.04.10.30 </response_by>
> This article was reassigned from Category:''TVT/Testing,WSW37(IES),Inbox''.

I would like to reproduce the bug, could you please attach the tested project (project_import)? Thanks.
Comment 14 John Liu CLA 2011-09-14 17:24:28 EDT
Created attachment 203370 [details]
cdt_8_0 patch to FindReplaceDialog

I update the code by increasing the size of the dialog. Can someone review the patch? Thanks.
Comment 15 Keith Chuang CLA 2011-09-14 23:34:46 EDT
Created attachment 203377 [details]
project_import

Hi John,

For project_import, here are the instructions of prereq
1.  From the main menu, go to File -> New -> C++ Project.
2.  Enter “project_import” as project name
3.  Select Makefile project -> Empty Project as project type
4.  Select to use the MinGW toolchain.
5.  Click Finish
6. Once the new projects have been created, copy the source files from the zip file to each corresponding project in your workspace.
7. Right click on each project in the C/C++ Projects view and select Refresh to load the files.
8. Right click on each project in the C/C++ Projects view and select Clean Project to compile and build project each project.
9. Then, from the main menu, make sure Build Automatically under Project is not checked.

Thanks for the efforts.
Comment 16 Chris Recoskie CLA 2011-09-15 11:09:55 EDT
The patch seems pretty simple to me.  Can one of the debug experts take a quick look and sign off on it?  All it does is make a couple of text boxes wider.

Longer term... I'm not really sure why this is using FormLayout.  I would think a GridLayout would yield better behaviour.  Right now if you resize the dialog, the controls don't fill the extra space.
Comment 17 CDE Administration CLA 2011-09-19 03:43:59 EDT
<response_by> William Fu at 2011.09.19.02.30.32 </response_by>
Verified on the languages listed and confirmed that the shortening of the translation temporarily fixed the problems.
Comment 18 CDE Administration CLA 2011-09-19 03:44:03 EDT
<cde:tctdetail>
Testcase: 06.000.520
Project: 
Component: Xfer - CDT/cdt-debug
Priority: 2
Subject: DAN: Truncation of  "Case Insensitive"
Article ID: 102
Originator: hagemann@dk.ibm.com
Stop Ship: N
</cde:tctdetail>
Comment 19 CDE Administration CLA 2011-09-19 04:03:57 EDT
<response_by> William Fu at 2011.09.19.02.46.22 </response_by>
note that Spanish's translation is still not short enough
Comment 20 CDE Administration CLA 2011-09-19 09:43:45 EDT
<response_by> Henriette Hagemann at 2011.09.19.08.33.16 </response_by>
Fixed for Danish, waiting for the other languages before closing.
Comment 21 John Liu CLA 2011-09-19 11:39:49 EDT
(In reply to comment #14)
> Created attachment 203370 [details]
> cdt_8_0 patch to FindReplaceDialog
> I update the code by increasing the size of the dialog. Can someone review the
> patch? Thanks.

Can one of the debug component owners try my fix patch and check it into repository? It may fix the problem without updating the message's translation.
Comment 22 CDE Administration CLA 2011-09-19 11:50:50 EDT
<cde:tctdetail>
Testcase: 06.000.520
Project: WSW37B
Component: Xfer - CDT/cdt-debug
Priority: 2
Subject: DAN: Truncation of  "Case Insensitive"
Article ID: 102
Originator: hagemann@dk.ibm.com
Stop Ship: N
</cde:tctdetail>
Comment 23 CDE Administration CLA 2011-09-20 02:04:08 EDT
<response_by> Keith Chuang at 2011.09.20.00.52.24 </response_by>
Please note that the truncation issue for Spanish is caused by the windows theme. In other words, the issue doesn't not exist if Windows 7 theme is not used.

Please see the attachment for reference.

Regards,
Keith
Comment 24 CDE Administration CLA 2011-09-20 02:04:10 EDT
Created attachment 203641 [details]
z01.png
Comment 25 CDE Administration CLA 2011-09-20 02:04:13 EDT
<cde:tctdetail>
Testcase: 06.000.520
Project: 
Component: Xfer - CDT/cdt-debug
Priority: 2
Subject: DAN: Truncation of  "Case Insensitive"
Article ID: 102
Originator: hagemann@dk.ibm.com
Stop Ship: N
</cde:tctdetail>
Comment 26 CDE Administration CLA 2011-09-20 07:24:13 EDT
<response_by> maria cristina caroletti at 2011.09.20.06.06.45 </response_by>
Italy tried to shorten translation but the issue is still not resolved.

Regards
Alessandro
Comment 27 CDE Administration CLA 2011-09-20 07:24:14 EDT
Created attachment 203668 [details]
06.000.520_-_#102-2.jpg
Comment 28 CDE Administration CLA 2011-09-20 07:44:31 EDT
<response_by> Keith Chuang at 2011.09.20.06.27.03 </response_by>
Hello, as we talked on ST, this is caused by theme issue which is already under the investigation. Please accept the one I switched to another theme for you. Thanks for your understanding....

Regards,
Keith
Comment 29 CDE Administration CLA 2011-09-20 08:02:28 EDT
<response_by> maria cristina caroletti at 2011.09.20.06.56.06 </response_by>
I confirm the issue is no longer reproducible after switched to a different Windows theme.

Regards
Alessandro
Comment 30 CDE Administration CLA 2011-09-20 08:02:32 EDT
<cde:tctdetail>
Testcase: 06.000.520
Project: WSW37B
Component: Xfer - CDT/cdt-debug
Priority: 2
Subject: DAN: Truncation of  "Case Insensitive"
Article ID: 102
Originator: hagemann@dk.ibm.com
Stop Ship: N
</cde:tctdetail>
Comment 31 Chris Recoskie CLA 2011-09-20 13:32:35 EDT
Since I heard no objections, I committed the patch to cdt_8_0 and master.
Comment 32 CDT Genie CLA 2011-09-20 14:23:04 EDT
*** cdt git genie on behalf of John Liu ***

    Bug 356901 - TVT/DVT3.7:TCT102: DAN: Truncation of &quot;Case Insensitive&quot;

[*] http://git.eclipse.org/c/cdt/org.eclipse.cdt.git/commit/?id=7e53088c4412e0f50229e97fb05101712e8e0482
Comment 33 CDT Genie CLA 2011-09-20 14:23:06 EDT
*** cdt git genie on behalf of Chris Recoskie ***

    Bug 356901 - TVT/DVT3.7:TCT102: DAN: Truncation of &quot;Case Insensitive&quot;

[*] http://git.eclipse.org/c/cdt/org.eclipse.cdt.git/commit/?id=4f80345f71babbca8f2486519ff025400e15a0f9