Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 140861

Summary: [Workbench] TVT3.2:TCT319: TVT - zh: Shortcut key problems in the menu.
Product: [Eclipse Project] Platform Reporter: CDE Administration <cdeadmin>
Component: UIAssignee: Tod Creasey <Tod_Creasey>
Status: VERIFIED FIXED QA Contact:
Severity: major    
Priority: P3 CC: camle, Karice_McIntyre, kitlo, steven.wasleski, Tod_Creasey
Version: 3.2   
Target Milestone: 3.2.1   
Hardware: PC   
OS: Linux-GTK   
URL: 319
Whiteboard:
Bug Depends on: 106959    
Bug Blocks:    
Attachments:
Description Flags
319.jpg
none
318.jpg
none
22.001009.gif
none
319_29001420.jpg
none
SWT test example
none
updated swt example with TW strings
none
Patch none

Description CDE Administration CLA 2006-05-09 13:32:08 EDT
OS : RHEL 3.1
Must fix or not a must fix: YES
Build date: 0507
Blocking: NO
Language: zh
Bitmap Location: V:\defects\zh
Tester Name: Echo Zhou
Problem Description: The memonics are underscored first Chinese characters, which looks appear as redundant memonics.

Procedure:
1. Start Eclipse
2. Select Window > Open Perspective, in the submenu a lot of memonics are underscored first Chinese characters. Please help to investigate.

Thanks in advance for your help!

Echo Zhou

Same for T.Chinese.

Re-attaching screen capture to match TCT number...

Hello,

Same problem for Korean build. Please remove the extra mnemonic. If those menus are supposed to have mnemonic key, please update Enlgish source files by adding like '&', so that we recognize and properly translate them.

Thanks,
Junghan

This article was reassigned from Category:''TVT/Testing''.
Comment 1 CDE Administration CLA 2006-05-09 13:32:14 EDT
Created attachment 40778 [details]
319.jpg
Comment 2 CDE Administration CLA 2006-05-09 13:32:15 EDT
Created attachment 40779 [details]
318.jpg
Comment 3 CDE Administration CLA 2006-05-09 13:32:18 EDT
<cde:tctdetail>
Testcase:
Project: WSW32
Component:
Priority: 2
Subject: TVT - zh: Shortcut key problems in the menu.
Article ID: 319
Originator: zhouxu@cn.ibm.com
</cde:tctdetail>
Comment 4 Karice McIntyre CLA 2006-05-09 17:37:04 EDT
In the Show View shortcut menu, a mnemonic is added to the first character of the view's name programmatically.  This is obviously not appropriate for some languages.

Tod, what component of the UI would this bug belong to?
Comment 5 Karice McIntyre CLA 2006-05-09 18:01:50 EDT
FYI: This behavior was introduced in 3.2
Comment 6 Tod Creasey CLA 2006-05-10 14:22:28 EDT
Workbench I should think
Comment 7 CDE Administration CLA 2006-05-10 15:03:52 EDT
<cde:tctdetail>
Testcase:
Project: WSW32
Component: CDE - Platform/UI
Priority: 2
Subject: TVT - zh: Shortcut key problems in the menu.
Article ID: 319
Originator: zhouxu@cn.ibm.com
</cde:tctdetail>
Comment 8 CDE Administration CLA 2006-05-10 15:06:12 EDT
<cde:tctdetail>
Testcase: 
Project: WSW32
Component: CDE - Platform/UI
Priority: 2
Subject: TVT - zh: Shortcut key problems in the menu.
Article ID: 319
Originator: zhouxu@cn.ibm.com
</cde:tctdetail>
Comment 9 Karice McIntyre CLA 2006-05-12 17:39:06 EDT
FYI: bug 135404 requests the ability to add mnemonics to the shortcut menu items.
Comment 10 CDE Administration CLA 2006-05-15 10:18:14 EDT
HI,

Another extra underscore problem found on 22.001009. Please take a look at the attached screen shot. You can get it by running the steps below.

Steps to reproduce:
Click the File>New>Project..
Select Project under General
Click Next.
Enter "P" for Project name
Click Finish
Select project ?P? in ?Package Explorer?, right click and select New
Comment 11 CDE Administration CLA 2006-05-15 10:18:16 EDT
Created attachment 41449 [details]
22.001009.gif
Comment 12 Karice McIntyre CLA 2006-05-15 10:37:23 EDT
These are all the same problem.  No need to attach additional screen shots.
Comment 13 CDE Administration CLA 2006-05-15 10:46:40 EDT
Select project ?P? in ?Package Explorer?, right click and select New
Comment 14 CDE Administration CLA 2006-05-16 16:59:12 EDT
Select project ?P? in ?Package Explorer?, right click and select New



Target fix is service pack 3.2.1.
Comment 15 Karice McIntyre CLA 2006-05-19 12:32:48 EDT
Assigning, to change status from New
Comment 16 CDE Administration CLA 2006-05-19 12:49:48 EDT
Select project ?P? in ?Package Explorer?, right click and select New
Comment 17 Steven Wasleski CLA 2006-05-19 14:01:30 EDT
Cam and Kit, is there a functional problem here or does it just not look right?  If it is the latter, I think we can defer to 3.2.1.  If it is the former my opinion would depend on the seriousness of the functional problem.
Comment 18 CDE Administration CLA 2006-05-19 14:17:10 EDT
Select project ?P? in ?Package Explorer?, right click and select New
Comment 19 CDE Administration CLA 2006-05-30 14:00:34 EDT
Just make a note that the same problem also occurred on Jave Property Editor (testcase 29.001420). The reproduced steps are as below & pls refer to the attached screen capture.

Step:
Double click on the eclipse.exe icon
Click OK
Switch to the Java perspective (Window> Open Perspective> Java).
Go to File > New... > Project...
Expand the Java option
Select Java Project
Click Next
Type in  a name (for example, VEtest).
Click Finish.
A new Java project is created and accessible from the ?Package Explorer?.
Select File->New...->Other... In the New dialog that appears select and expand the Java option on the left. Then expand the AWT option.
Expand AWT option
Select the Frame Visual Class option
Click Next
This brings up the New Visual Class Wizard titled New Java Visual Class.
Name it MyFrame
Select Finish to open the Visual Editor.
From the Palette or toolbar, click on  to launch the choose bean dialog.
Clear the text and type JButton. When JButton shows up in the list below.
Select JButton
Click OK
Click on the West region of the frame
Click on the Properties tab at the bottom of the application.
Click on the Show Advanced Properties   button to toggle the Show Advanced Properties button on the property sheet to on..
Select the background property () and press the button at the right to bring up the Color editor.
Comment 20 CDE Administration CLA 2006-05-30 14:00:36 EDT
Created attachment 42997 [details]
319_29001420.jpg
Comment 21 Karice McIntyre CLA 2006-05-30 15:24:58 EDT
The bug referred to in comments 19 and 20 should be logged as a separate bug against VE as it is not a component of the Platform UI.
Comment 22 Tod Creasey CLA 2006-05-31 15:09:53 EDT
Created attachment 43147 [details]
SWT test example

An example to help us debug
Comment 23 Karice McIntyre CLA 2006-05-31 15:27:44 EDT
Created attachment 43156 [details]
updated swt example with TW strings
Comment 24 Karice McIntyre CLA 2006-05-31 17:44:56 EDT
The SWTExample was attached to the wrong bug.  Should have been attached to bug 141387
Comment 25 Steven Wasleski CLA 2006-06-01 09:17:06 EDT
Cam and Kit, I think we still need an answer to the question in comment 17.
Comment 26 Tod Creasey CLA 2006-06-06 14:59:27 EDT
This problem is in the following areas

Show In
New Menu
Open Perspective
Show View
Comment 27 Tod Creasey CLA 2006-06-06 15:16:19 EDT
Created attachment 43630 [details]
Patch

Here is a patch to roll back these changes
Comment 28 Tod Creasey CLA 2006-06-06 16:26:59 EDT
Patch released for 3.2.1 and 3.3 build >20060606.
Comment 29 CDE Administration CLA 2006-06-09 15:00:14 EDT
It's ok to defer this bug to 3.2.1 and 3.3. 
Comment 30 CDE Administration CLA 2006-06-09 15:03:39 EDT
Close the defect since it will be deferred, thank you.
Comment 31 Tod Creasey CLA 2006-06-09 15:53:24 EDT
Please do not close bug before we have had a chance to verify the fixes.
Comment 32 Tod Creasey CLA 2006-06-09 15:53:40 EDT
Re marking as FIXED
Comment 33 CDE Administration CLA 2006-06-09 16:28:42 EDT
[Added by CDE: Completed by the CDE Bridge]
Comment 34 CDE Administration CLA 2006-06-09 16:51:52 EDT
Reopening to put TCT article back in verify state per developer's request.

Article is in verify.
Comment 35 CDE Administration CLA 2006-06-09 16:56:45 EDT
Reopening bug to match TCT article (in verify state).
Comment 36 CDE Administration CLA 2006-06-09 16:57:22 EDT
Re marking as FIXED
Comment 37 CDE Administration CLA 2006-06-12 14:57:59 EDT
This bug should NOT be in verify state as it has been deferred by the developer to 3.2.1.
Comment 38 Tod Creasey CLA 2006-06-12 15:32:37 EDT
It is not. It is in the FIXED state and will be verified in the 3.2.1 stream. Please read the state of the bug before commenting on.
Comment 39 CDE Administration CLA 2006-06-15 09:50:26 EDT
Fixed, thank you!
Comment 40 Tod Creasey CLA 2006-06-15 09:57:40 EDT
As I said in comment 31 Please do not close our bugs until we have a chance to verify
Comment 41 Tod Creasey CLA 2006-06-15 09:58:02 EDT
Remarking FIXED AGAIN!!!!!
Comment 42 CDE Administration CLA 2006-06-15 10:29:43 EDT
[Added by CDE: Completed by the CDE Bridge]
Comment 43 Steven Wasleski CLA 2006-06-15 10:43:16 EDT
Kit, this is getting silly.  Please find out which TVT tester is doing this and have a talk with him or her and move the TCT out of sight of CDE.
Comment 44 Tod Creasey CLA 2006-06-15 10:48:28 EDT
Reopening for the 3rd time.
Comment 45 Tod Creasey CLA 2006-06-15 10:48:47 EDT
Marking FIXED for the 3rd time.
Comment 46 CDE Administration CLA 2006-06-15 11:40:35 EDT
[Added by CDE: Completed by the CDE Bridge]
Comment 47 Tod Creasey CLA 2006-06-15 11:47:09 EDT
Reopening for the 4th time.
Comment 48 Tod Creasey CLA 2006-06-15 11:47:24 EDT
Marking FIXED for the 4th time.
Comment 49 Tod Creasey CLA 2006-08-31 11:14:28 EDT
Verified in 20060830-0800