Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 311862 - Synchronize view has duplicate mnemonic
Summary: Synchronize view has duplicate mnemonic
Status: VERIFIED FIXED
Alias: None
Product: Platform
Classification: Eclipse Project
Component: Team (show other bugs)
Version: 3.6   Edit
Hardware: All All
: P4 normal (vote)
Target Milestone: 3.7 M2   Edit
Assignee: Tomasz Zarna CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-05-06 08:27 EDT by Benjamin Muskalla CLA
Modified: 2010-09-15 10:49 EDT (History)
1 user (show)

See Also:
Szymon.Brandys: review-
pawel.pogorzelski1: review+


Attachments
Fix v01 (2.33 KB, patch)
2010-05-17 06:42 EDT, Tomasz Zarna CLA
no flags Details | Diff
mylyn/context/zip (4.76 KB, application/octet-stream)
2010-05-17 06:42 EDT, Tomasz Zarna CLA
no flags Details
Fix v02 (3.53 KB, patch)
2010-09-01 06:24 EDT, Tomasz Zarna CLA
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Benjamin Muskalla CLA 2010-05-06 08:27:13 EDT
I20100504-0800

The context menu for files in the synchronize view has a mnemonic clash. "Rename" and "Mark as merged" both have "m" as their mnemonic.
Comment 1 Tomasz Zarna CLA 2010-05-12 09:21:50 EDT
Good catch!
Comment 2 Tomasz Zarna CLA 2010-05-17 06:26:42 EDT
The same thing with with "Open" and "Open In Compare Editor", they both have "o" as mnemonic.
Comment 3 Tomasz Zarna CLA 2010-05-17 06:42:38 EDT
Created attachment 168708 [details]
Fix v01

Sets "k" for "Mark as merged", and "e" for "Open In Compare Editor". I haven't noticed any conflicts for the new mnemonics.
Comment 4 Tomasz Zarna CLA 2010-05-17 06:42:40 EDT
Created attachment 168709 [details]
mylyn/context/zip
Comment 5 Szymon Brandys CLA 2010-05-17 11:19:01 EDT
Other duplicated mnemonics in the context menu are:
C - 'Copy' & 'Commit'
V - 'Move' & 'Override and Update'
D - 'Delete' & 'Add to cvsignore'
P - 'Paste Patch' & 'Create Patch'

After a discussion with Tomasz, we came to the following conclusions.

1) These are mostly old mnemonic. Only 'Paste patch' is a new action.
2) It is not said that we have to get rid of duplicated mnemonics at all costs. We can leave those that makes sense and the user has to just iterate trough them.
3) We should not change the old mnemonics at this point of 3.6, since users could get used to some of them already and it would be potentially disruptive for them.
4) I think mnemonics for common actions like 'Move' should be consistent with Project Explorer. Right now, the mnemonic for 'Move' in the Sync View context menu is 'v' and in Project Explorer is 'm'. We should consider fixing this.

Thus I think we should move the issue to 3.7.
Comment 6 Benjamin Muskalla CLA 2010-05-17 16:53:42 EDT
Szymon, I'm with you regarding the "do not break customers that late the in cycle" but at least the original request (Rename and Mark as merged) was broken late in the cycle. I'm using Mark as merged daily and it was not a conflict in earlier versions. I really hope to get at least this fixed in the 3.6 timeframe as merging is an essential task in the synchronize view.
Comment 7 Tomasz Zarna CLA 2010-05-18 05:15:57 EDT
The conflict existed in 3.5, in 3.4 the "Rena&me" action was available in "Edi&t" submenu[1] and that's why it didn't surfaced then. What you probably consider as a breakage introduced late in the cycle, is caused by the fact that "Rena&me" does not show up for all objects in the Sync view (in model sync it's available for "pure" resource objects only). I'm pretty sure, we haven't changed the mnemonic for "Mark as merged" recently.

[1] the action is also hidden in the submenu for non-model syncs
Comment 8 Tomasz Zarna CLA 2010-08-04 06:22:17 EDT
The sooner the better... I hope I'll find some time to fix this in 3.7M2.
Comment 9 Tomasz Zarna CLA 2010-09-01 06:24:27 EDT
Created attachment 177927 [details]
Fix v02

The patch changes mnemonics for Team/CVS actions as follows:
* Override and Update - i, no conflict found for the new mnemonic
* Add to .cvsignore - g, no conflict found for the new mnemonic
* Create Patch - t, no conflict found for the new mnemonic
* Mark as Merged - k, no conflict found for the new mnemonic
* Open in Compare Editor - e, no conflict found for the new mnemonic
* Commit - I haven't changed the current c which is conflicting with Copy. This action is used very often, so I decided to leave the mnemonic as it is to not confuse users.
* Paste Patch - left p as this is actually a replacement for the Paste action

I haven't seen any mnemonics for common actions to be consistent with Project Explorer (bullet 4 in comment 5).
Comment 10 Tomasz Zarna CLA 2010-09-01 06:43:50 EDT
Fixed in HEAD, available in builds >N20100831-2000. Benny could you please verify it?
Comment 11 Malgorzata Janczarska CLA 2010-09-15 10:49:53 EDT
Verified on  I20100912-2000.