Open jasonsanjose opened 11 years ago
Reviewed -marking Low Priority.
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.
Setting "no priority". The OS is causing the 'bonk' and there is nothing we can do...
Setting to Needs Review. Seems like we should consider filing a Chromium bug on this.
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.
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.
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.
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.
This issue is unassigned, so marking "Needs Review".
Low pri to me to evaluate other editors to see if any of them use a different shortcut.
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
p.s. and my mac make the bonk noise as well... Anyone know about this keyboard settings?
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.
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:";
}
Electron apps have this issue too https://github.com/electron/electron/issues/2617
I reported this issue to Chromium on Dec 19, 2018 , and they confirmed it now. To vote up and follow it, Star this issue.
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!
@yagudaev's solution still works in Catalina 🥇
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.