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

Bug 312837

Summary: TVT36:TCT105: CHS: Duplicate Mnemonic
Product: [Tools] Data Tools Reporter: CDE Administration <cdeadmin>
Component: SQL Editor FrameworkAssignee: Brian Payton <bpayton>
Status: CLOSED FIXED QA Contact:
Severity: minor    
Priority: P3 CC: bpayton, camle, kitlo
Version: 1.8   
Target Milestone: 1.8   
Hardware: PC   
OS: Windows 7   
Whiteboard:
Attachments:
Description Flags
105_08.000.370_duplicate_mnemonic.gif
none
TCT#105_08.000.370_dup_hotkey.gif
none
Patch for plugin o.e.d.sqltools.schemaobjecteditor.ui none

Description CDE Administration CLA 2010-05-13 15:50:49 EDT
<response_by> Ma Xiao Long at 2010.05.02.23.19.07 </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)  Click on Schema Object Editor Configuration
7)  Verify the text in the window below

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

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

<response_by> Ma Xiao Long at 2010.05.03.20.04.08 </response_by>
lower the priority as it is not a must fix issue.

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

<response_by> Kathy Li at 2010.05.13.14.46.28 </response_by>
This article was reassigned from Category:''TVT/Testing,Inbox''.
Comment 1 CDE Administration CLA 2010-05-13 15:50:55 EDT
Created attachment 168462 [details]
105_08.000.370_duplicate_mnemonic.gif
Comment 2 CDE Administration CLA 2010-05-13 15:50:57 EDT
Created attachment 168463 [details]
TCT#105_08.000.370_dup_hotkey.gif
Comment 3 CDE Administration CLA 2010-05-13 15:51:01 EDT
<cde:tctdetail>
Testcase: 08.000.370 - DTP - SCHEMA OBJECT EDITOR CONFIGURATION PAGE
Project: WSW36
Component: Xfer - Data Tools/SQL Editor Framework
Priority: 3
Subject: CHS: Duplicate Mnemonic
Article ID: 105
Originator: maxl@szchkj.com.cn
</cde:tctdetail>
Comment 4 Brian Payton CLA 2010-05-13 17:34:54 EDT
The problem reported in this bug was fixed in bug 311409.

However, I found there is still a problem with duplicate mnemonics in the "slosh bucket" buttons.  (The slosh bucket buttons are the "Remove >>", "<< Add" etc. buttons in the middle of the page.)  The problem only occurs when particular buttons get enabled, which depends on the current contents of the two slosh lists.  When enabled, the "&Add" button conflicts with the standard "&Apply" button at the bottom of the page, and the "Move &Down" button conflicts with the standard "Restore &Defaults" button.

Picking a mnemonic for the "Add" button is a problem, since all its letters "a" and "d" are already used by the "Apply" and "Restore Defaults" buttons.

However the Add button is actually defined as "<< Add".  So I can use the "<" character as the mnemonic ("&<< Add").

I can change "Move &Down" to "&Move Down", since "m" is not yet used.
Comment 5 Brian Payton CLA 2010-05-13 17:37:59 EDT
Created attachment 168478 [details]
Patch for plugin o.e.d.sqltools.schemaobjecteditor.ui
Comment 6 Brian Payton CLA 2010-05-13 17:42:52 EDT
Checked in change, tagged to v201005140545.
Comment 7 CDE Administration CLA 2010-05-21 20:51:00 EDT
<response_by> Ma Xiao Long at 2010.05.21.19.46.26 </response_by>
Fixed in build 20100520-0200-nl1 for CHS, thanks!

I also noticed that some new mnemonic keys are introduced, would you pls help to update English screenshot too?  Thanks!
Comment 8 CDE Administration CLA 2010-06-03 16:26:03 EDT
<response_by> rewagner at 2010.06.03.15.16.34 </response_by>
OK the test case has been updated.

Thanks,
Ross
Comment 9 CDE Administration CLA 2010-06-04 01:25:43 EDT
<response_by> Ma Xiao Long at 2010.06.04.00.21.53 </response_by>
closed...