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

Bug 356647

Summary: Command-# (for commit) does not work on the Mac
Product: [Technology] EGit Reporter: Robin Rosenberg <robin.rosenberg>
Component: UIAssignee: Project Inbox <egit.ui-inbox>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: P3 CC: com4, eclipse, eclipse, egore, henrik.lindberg, markus.kell.r, matthias.sohn, narakasura, pwebster, remy.suen, sascha.scholz
Version: 1.1   
Target Milestone: 2.3   
Hardware: PC   
OS: Mac OS X   
Whiteboard:

Description Robin Rosenberg CLA 2011-09-02 17:26:35 EDT
Command-# (Command +3) brings up some dialog that list available categories.. nor sure what it does
Command-# (Command + shoft + Takes a snapshot (intercepted outside eclipse)

I have a swedish keyboard layout on Mac OSX Snow Leopard
Comment 1 Matthias Sohn CLA 2011-09-03 19:50:58 EDT
I tried Command-# on two different 3.7 Eclipse SDK installations on Mac OS X 10.6.8, it works on one of the installations but not on the other. I use German keyboard layout. No clue what's the difference.
Comment 2 Christoph Brill CLA 2011-09-05 17:00:54 EDT
I'm facing the same issue on Linux (Default Java-EE-Eclipse, amd64). Interesting fact: also German keyboard layout (nodeadkeys).
Comment 3 Remy Suen CLA 2011-09-07 07:47:28 EDT
(In reply to comment #0)
> Command-# (Command +3) brings up some dialog that list available categories..
> nor sure what it does

Robin, Ctrl+3 is 'Quick Access'. You can type names of...stuff...to do stuff. Type a view's name and a view will open. Type a wizard's name and it will open that wizard.
Comment 4 Remy Suen CLA 2011-09-20 19:10:29 EDT
I also get this problem on Windows 7.

A suggested fix has been pushed to Gerrit for review.
http://egit.eclipse.org/r/#change,4276
Comment 5 Remy Suen CLA 2011-10-05 17:16:14 EDT
(In reply to comment #0)
> Command-# (Command +3) brings up some dialog that list available categories..
> nor sure what it does

I'm guessing you meant Command-3 in your first line.

> Command-# (Command + shoft + Takes a snapshot (intercepted outside eclipse)

In here, I presume you mean Command + Shift + 3. Robin, so is your concern here that the OS takes the keybinding instead of letting Eclipse have it?
Comment 6 Remy Suen CLA 2011-11-15 08:21:29 EST
*** Bug 363648 has been marked as a duplicate of this bug. ***
Comment 7 jason CLA 2011-11-15 10:56:50 EST
From Bug 363648
===

Build Identifier: 20110916-0149

It is necessary for me to change the default key binding for the Commit in EGit
as command+(shift+3) is the os shortcut for taking a screen shot.

I picked command+k modeled after Pycharm. When I use the shortcut no dialog
comes up as I would expect it to when right clicking Team->commit.

There are no conflicts and command+k works in other applications (Iterm2 and
Clearing the console)

Here is a pretty screenshot of my key bindings: http://i.imgur.com/EzolB.png

Reproducible: Always

Steps to Reproduce:
1. push keyboard shortcut for Commit

Nothing happens.
Comment 8 Karthik CLA 2012-01-11 02:12:23 EST
"CTRL + SHIFT + 3" does not work in Windows 7 for me. Changing this binding to "CTRL + ALT + SHIFT + G" (and other combinations) also did not work. I've also tried changing the "when" option to "In Dialogs and Windows" to no avail.

It's a curious choice to denote a binding as "CTRL + #" rather than "CTRL + SHIFT + 3". This is compounded by the fact that when I try to use "CTRL + #" as the shortcut, it is registered as "CTRL + SHIFT + 3" :S
Comment 9 David Mansfield CLA 2012-06-12 14:05:17 EDT
i can confirm on linux, no matter what shortcut is assigned "in windows" it doesn't work.  I have never gotten a keyboard shortcut to work for commit in egit.

I also can confirm comment#8, when rebinding 'ctrl-#' it says 'ctrl-shift-3' (or something like this). 

seems possibly two problems, the fundamental one for me (and comment#8), no keybinding for commit works.
Comment 10 Henrik Lindberg CLA 2012-08-29 19:12:20 EDT
On OSx, all shortcuts that operate across all windows should be avoided. Command-Shift-3 (i.e. Command-#) is bound to "screen shot".

Check here: http://support.apple.com/kb/HT1343?viewlocale=en_US&locale=en_US
Comment 11 Markus Keller CLA 2012-10-23 14:47:36 EDT
This bug is about a bad shortcut on the Mac, see comment 0.

Fix: https://git.eclipse.org/r/8350
Comment 12 Markus Keller CLA 2012-10-23 15:05:04 EDT
See bug 363648 for non-working keybinding in the editor.


(In reply to comment #4)
> I also get this problem on Windows 7.
> 
> A suggested fix has been pushed to Gerrit for review.
> http://egit.eclipse.org/r/#change,4276

Remy, I have no idea which scenario that patch is supposed to fix. It's neither of those listed here nor in bug 363648.
Comment 13 Remy Suen CLA 2012-10-23 19:12:32 EDT
(In reply to comment #12)
> (In reply to comment #4)
> > I also get this problem on Windows 7.
> > 
> > A suggested fix has been pushed to Gerrit for review.
> > http://egit.eclipse.org/r/#change,4276
> 
> Remy, I have no idea which scenario that patch is supposed to fix. It's
> neither of those listed here nor in bug 363648.

Well, it was supposed to fix this problem (for the Windows users) but I see Kevin took care of that problem when he fixed bug 377416.
Comment 14 Markus Keller CLA 2013-02-20 12:07:32 EST
This has been fixed on the Mac, see https://git.eclipse.org/r/#/c/8350/
Comment 15 Markus Keller CLA 2013-02-22 07:07:58 EST
> This has been fixed on the Mac, see https://git.eclipse.org/r/#/c/8350/

But the fixed caused a regression on other platforms, see bug 363648 comment 4.