adobe / brackets

An open source code editor for the web, written in JavaScript, HTML and CSS.
http://brackets.io
MIT License
33.25k stars 7.63k forks source link

Mac: Bonk/beep sound when pressing CMD-Ctrl-Down in an editor #2419

Open jasonsanjose opened 11 years ago

jasonsanjose commented 11 years ago

Use the keyboard shortcut for move line down: CMD-CTRL-Down.

Observed: Bonk sound on mac only. Move line down command completes without error.

Expected: No sound.

pthiess commented 11 years ago

Reviewed -marking Low Priority.

gruehle commented 11 years ago

I'm not sure there is anything we can do about this. The bonk sound happens when pressing Cmd-Ctrl-Down Arrow in any editable text field in Chrome or Safari.

gruehle commented 11 years ago

Setting "no priority". The OS is causing the 'bonk' and there is nothing we can do...

njx commented 10 years ago

Setting to Needs Review. Seems like we should consider filing a Chromium bug on this.

RaymondLim commented 10 years ago

I'm afraid it is not a Chromium issue. I can reproduce it in Safari url field, System Preferences search field and the text field in File Info. And also in this GitHub comment text field.

njx commented 10 years ago

Right, but maybe there's a workaround they could implement on the native side. Though it might not be a high priority for them.

Another option we could consider is changing the default shortcuts for Move Line Up/Down.

dangoor commented 10 years ago

It appears that this is a Mac text field issue. Firefox and Text Edit exhibit the same behavior. (Other editors may not do this because they don't use the native text widgets).

Moving back to low priority. As NJ points out, we might want to consider changing the shortcuts.

drwaky commented 10 years ago

And what about changing the default shortcuts, like njx said. For example in Aptana, they use Alt + Down to do this and Cmd + Alt + Down/Up to duplicate de actual line to a line after or to a line before. It's more easy than resulve the SO issue.

redmunds commented 10 years ago

This issue is unassigned, so marking "Needs Review".

njx commented 10 years ago

Low pri to me to evaluate other editors to see if any of them use a different shortcut.

KevinMcCoy commented 9 years ago

I was here looking for on how to disable mac shortcut setting that cause the beep. However looking in the keyboard setting, I wasn't able to find any thing that was set for Cmd-Ctrl-Down

KevinMcCoy commented 8 years ago

p.s. and my mac make the bonk noise as well... Anyone know about this keyboard settings?

kavehmz commented 8 years ago

I found a solution here: https://github.com/atom/atom/issues/1669

As a temporary workaround, create the following file at ~/Library/KeyBindings/DefaultKeyBinding.dict

and add these entries to the file:

{ "^@\UF701" = "noop:"; "^@\UF702" = "noop:"; "^@\UF703" = "noop:"; }

I tested it today and worked.

yagudaev commented 6 years ago

On MacOS High Sierra I had to create the directory KeyBindings and then create the file switching the ^ and @ symbol. Then I had to close Atom and open it again.

{
    "@^\UF701" = "noop:";
    "@^\UF702" = "noop:";
    "@^\UF703" = "noop:";
}
jcrben commented 6 years ago

Electron apps have this issue too https://github.com/electron/electron/issues/2617

hanguokai commented 5 years ago

I reported this issue to Chromium on Dec 19, 2018 , and they confirmed it now. To vote up and follow it, Star this issue.

PEZ commented 5 years ago

I think this should be fixed in MacOS rather. Please chime in on this Apple Community Forums post.

Thanks for the DefaultKeyBindings.dict fix by the way. Bliss!

handlebauer commented 4 years ago

@yagudaev's solution still works in Catalina 🥇