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

Bug 316753

Summary: Keyboard shortcuts do not work
Product: [Technology] Subversive Reporter: Oded Arbel <oded>
Component: UIAssignee: Igor Burilo <igor.burilo>
Status: RESOLVED DUPLICATE QA Contact:
Severity: normal    
Priority: P3    
Version: 0.7   
Target Milestone: ---   
Hardware: PC   
OS: Linux   
Whiteboard:

Description Oded Arbel CLA 2010-06-14 09:10:05 EDT
Shortcuts assigned to subversive do not work - they are listed in the preferences dialog and in the menu, when using multi-keystroke shortcuts then they are listed in the "multiple actions" menu, but they never work - not when just hitting the keys and not when selecting the appropriate action from a "multiple actions" shortcut menu.

Use case:
1. Go into Windows->Preferences->General->Keys. 
2. Find "show history | SVN", select it and assign to it the shortcut "ESC, CTRL+H". Apply and close.
3. Open a resource that is under SVN and put the cursot in the editor
4. Press ESC and wait for the "multiple shortcuts" menu to appear
5. Select "Show History" from the menu,

Expected result: Subersive history view should appear.

Actual result: nothing happens.

Use case:
1. Go into Windows->Preferences->General->Keys. 
2. Find "show history | SVN", select it and assign to it the shortcut "CTRL+ALT+B". Apply and close.
3. Open a resource that is under SVN and put the cursor in the editor.
4. Press CTRL+ALT+H

Expected result: Subersive history view should appear.

Actual result: nothing happens.

The subversive shortcuts by default are configured to be used "In Windows", and setting them to other appropriate things (such as Java editor when I try to make the shortcuts work in the Java editor) does not improve the behavior.

I've observed this behavior in several installations of Eclipse on Linux GTK+ on multiple operating systems.

Other shortcuts work fine - its just the Subversive shortcus that seem to be broken.
Comment 1 Oded Arbel CLA 2010-06-14 09:17:58 EDT
I'm using Subversive 0.7.9-20100512 .

Also, I found out that if you customize the perspective and enable the SVN command group (which is disabled by default) then the keyboard shortcuts start to work - but only for the perspective where you enabled the command group.

I don't think that this should be a requirement for the shortcuts working, as shortcuts for other command groups that are not enabled work just fine (for example, I tried to add a shortcut to the "show java breadcrumb" from the "Java editor presentation" command group that is disabled by default, and it works fine).
Comment 2 Igor Burilo CLA 2010-06-18 11:16:15 EDT
Duplicate

*** This bug has been marked as a duplicate of bug 309074 ***