atom-keymap icon indicating copy to clipboard operation
atom-keymap copied to clipboard

Cmd+` does not work when a file is open

Open bpaquet opened this issue 11 years ago • 10 comments

The shortcut works well when no file is open

bpaquet avatar Mar 21 '14 13:03 bpaquet

I'm having trouble reproducing your case. Can you disable all third party packages and also your local bindings and be sure it's still broken?

nathansobo avatar Mar 21 '14 17:03 nathansobo

To reproduce it

  • open a file in atom. Ensure your focus is in the file
  • open a console.
  • type atom ., wait (lot of times :()
  • type cmd+` => ok, atom display the first window
  • type cmd+=> nok, atom add a in the opened file

bpaquet avatar Mar 21 '14 18:03 bpaquet

@bpaquet Sorry for the delay in getting back to you. I'm having trouble reproducing this issue using the instructions you provided - Atom always switches between windows when I press cmd-`.

Can you still reproduce the issue in Atom 0.100.0? If so, can you please try starting Atom from the terminal with $ atom --safe so that we can rule out possible problems caused by other packages?

izuzak avatar Jun 01 '14 19:06 izuzak

Hi,

It does not work with the 0.100.0. I have no others packages installed. I have a french keyboard, may be it's related.

Bertrand

On Sun, Jun 1, 2014 at 9:49 PM, Ivan Žužak [email protected] wrote:

@bpaquet https://github.com/bpaquet Sorry for the delay in getting back to you. I'm having trouble reproducing this issue using the instructions you provided - Atom always switches between windows when I press cmd-`.

Can you still reproduce the issue in Atom 0.100.0? If so, can you please try starting Atom from the terminal with $ atom --safe so that we can rule out possible problems caused by other packages?

— Reply to this email directly or view it on GitHub https://github.com/atom/atom-keymap/issues/3#issuecomment-44787249.

bpaquet avatar Jun 02 '14 08:06 bpaquet

Thanks! Could you please open the keybinding resolver (cmd-.), then hit the cmd-` keystroke, and take a screenshot of what the keybinding resolver reports? If you could post the screenshot here, that might help us investigate.

izuzak avatar Jun 02 '14 08:06 izuzak

You can find a screencast here

https://dl.dropboxusercontent.com/u/1435127/atom_bug.mov

On Mon, Jun 2, 2014 at 10:37 AM, Ivan Žužak [email protected] wrote:

Thanks! Could you please open the keybinding resolver (cmd-.), then hit the cmd-` keystroke, and take a screenshot of what the keybinding resolver reports? If you could post the screenshot here, that might help us investigate.

— Reply to this email directly or view it on GitHub https://github.com/atom/atom-keymap/issues/3#issuecomment-44813447.

bpaquet avatar Jun 02 '14 08:06 bpaquet

That's interesting -- the keybinding resolver doesn't see your keystroke as cmd-` but as cmd-å:

screen shot 2014-06-02 at 10 54 05 am

Can you post a screenshot of what the keybinding resolver sees when you hit that keystroke but when there is no file open (but close other windows before doing that)?

Thanks for your help!

izuzak avatar Jun 02 '14 08:06 izuzak

cmd-unidentified :)

On Mon, Jun 2, 2014 at 10:59 AM, Ivan Žužak [email protected] wrote:

That's interesting -- the keybinding resolver doesn't see your keystroke as cmd-` but as cmd-å:

[image: screen shot 2014-06-02 at 10 54 05 am] https://cloud.githubusercontent.com/assets/38924/3145219/7ef57be4-ea33-11e3-96a6-bb3b56763dbe.png

Can you post a screenshot of what the keybinding resolver sees when you hit that keystroke but when there is no file open (but close other windows before doing that)?

Thanks for your help!

— Reply to this email directly or view it on GitHub https://github.com/atom/atom-keymap/issues/3#issuecomment-44815222.

bpaquet avatar Jun 02 '14 09:06 bpaquet

Thanks for the help @bpaquet! I just tried switching to the french keyboard in OSX and observed the same behavior/issue.

Unsure if this is a problem in atom-keymap or somewhere else (it's interesting that the keystroke is recognized as either cmd-unidentified or cmd-å, and that the same keystroke works just fine to switch windows in other application -- I tried Chrome). Wondering if @nathansobo has any ideas? :thought_balloon:

izuzak avatar Jun 04 '14 09:06 izuzak

I think this falls into the same bucket as alt-e, alt-n does on the US keyboard layout, there is no way to distinguish from the keyboard event fired that they are happening, they all show up as alt-å.

There was discussion on this in https://github.com/atom/atom/pull/1291 about making this a setting.

kevinsawicki avatar Jun 04 '14 15:06 kevinsawicki