-
Notifications
You must be signed in to change notification settings - Fork 58
Some non-US keyboard layouts not working #37
Comments
Regarding that ChromeBug you told us about; It seems like it is only relevant on
|
The |
Ups, I did not mean to delete. Yes indeed keypress supplies the modifier key information but it does not get triggered unless there is a key to insert. For example Ctrl-Shift-7 will not insert anything because it does not press a key - Only Shift-7 does. But using keydown to map characters (the existing keybindings) to the user input is not really easy or straightforward I think. This guy explains it pretty good: http://www.javascripter.net/faq/onkeypress.htm
|
So do you see any way of dealing with this other than lobbying Chromium to fix the underlying issues? This stuff gets confusing quickly. On an international layout, what are the expectations for key bindings. For example, in the Greek layout they expect unmodified keystrokes to insert Greek characters, but they expect keystrokes with modifier keys to fall back to the ASCII equivalents. |
@nathansobo |
It's not implemented in Chromium yet, but the DOM Level 3 keyboard event spec should give us exactly what we need with the |
I saw that, yep. Let's hope they do it in the near future, but there hasn't been activity for almost a year. |
Ubuntu 14.04, German keyboard layout, Keybinding resolver "correctly" gave Ctrl+& when I tried to press Ctrl+Shift+7 to toggle comments. It does not work, I have to press Ctrl+# (corresponds to the US layout's '/'). Thanks to the issue it's easy to figure out which keys to use and to understand why "native!" keys work according to my keyboard layout while others don't. If this issue remains open for long (depending on Chromium), I wonder if it's possible to give feedback about the situation in the Settings window - e.g. configuring my native layout and displaying its keystroke in a column next to the current Keystrokes. |
How is this possible that they ignore there are keyboards out there that are not US keyboards? |
Regarding the german keyboard layout: maybe this is obvious for some people, but this is only one possible german keyboard layout. At least the german mac keyboard layout is different than the one on the image. I'm not sure if the e.g. US win/mac keyboards differ as well. |
@andersennl that's true. For example I am using the german Neo2 Layout. Most of the usual characters like |
I don't know if this is the same bug but I can't unbind the | key. Right now it folds any text tree but I need to use that key for haskell :( |
@jannickj Can you paste the expression you're using to unbind? |
@nathansobo thanks, and sorry I didn't update my comment, I found out the correct key to unbind using the atom keybind resolver. apparently unbinding ctrl-alt-[ did the trick to unbind altgr-| |
Hey, i've got the same problem with the german keyboard layout. Is there any solution for this problem? Thx |
@hellobasti currently there's just workarounds. Much of that discussion is over in #35, basically look for this package and install it: https://atom.io/packages/keyboard-localization it will probably fix the most pressing problems for a german keyboard. |
For me the localization package at #37 (comment) fixed the issue of not being able to type an opening bracket |
This should be fixed starting with Atom 1.12.0. |
Sorry for my ignorance, I tried to read all lines above. Can anyone explain what to do to solve the problem than when I type ctrl + / " (for comment a line), Atom receives ctrl + &? and don't comment anything. What to put and where Thanks |
|
I was about to give a try to Atom, but after seeing this issue, I'll wait for a couple more years. Good luck, and see you back in 2018. |
This issue has already been fixed in Atom 1.12.0 (if you decided to read the issue in its entirety, you would have realized that). |
Personally I am using a danish layout and I also have the issue of wrong mapping. Right now I am having the problem that I can't write the I have stated this problem in atom/atom#6091 as well. |
@Tokimon As I stated right above you, this issue will be fixed in the upcoming Atom 1.12.0 release. |
@50Wliu I'm sorry for the sarcasm, and i'm glad for you if you eventually have a new system released a few days ago that eventually get the keyboard handling right (I did read that). However, it's now going to be rather hard for me to believe it's gonna be OK. So, yes this issue did harm atom's reputation, because keyboard handling cannot be an afterthought for a text editor! It should have been a basic requirement for releasing anything from day one. |
@johan-boule I have called out the atom team on numerous occasions in many of the open issues. I've called them names, I was angry, I pointed fingers at them for "not caring". You know what? It took a while, it certainly took longer than i'd hoped it would, but now it's probably going to be alright. There were major blockers in the way of getting this one right. This is also information buried in the 1000000 comments. It's fine for the vast majority of cases. Yes, there might be bugs, but the earlier those get found, the earlier they will get squashed. As far as I can tell, beta releases are for 1.11 - so the beta channel does not yet have the mentioned changes. |
Sorry for the spam, but seeing the comments above, I just wanted to leave a huge THANK YOU to the atom team and contributors. You've made an incredible OSS editor and I know a lot of people like me that is grateful for that, even if we are quiet. ❤️ |
Sorry to "reopen" this issue, but... I'm on Atom 1.2.5, and the US International keyboard layout is not working for some keys. I'd already tried on a fresh Atom install, and on safe mode, without success. Even the keybinding-resolver is not showing the correct shortcut (i.e. the It was working very well on 1.2. I made a clean OS install and after reinstalled Atom, this issue just popped out. Is there anything I should enable? Thanks! |
@hildersantos Please open a new issue for this bug, thanks. |
Things are not working for me either. I'm on MB Pro with macOS Sierra 10.12.6 (16G29) When I press Weird enough, macOS' native Keyboard viewer shows expected keys when typed, just Atom and VSCode seems to interpret them wrongly. I've already spent about 2 hours trying to resolve the issue, but I'm starting to lose my mind... Any suggestions? |
I think your chances are better opening a new ticket. You can of course link here if anything in this lengthy discussion helps understanding or fixing your issue. |
Does it work on vi or emacs ? That may be an alternative. |
This problem is still present I think. |
@metemaddar Please open a new issue and fill out the entire issue template so we can take a look, thanks 🙇 |
Regarding: atom/atom#2600
@kevinsawicki
Compare US and (for example)
German keyboard layout
I think its easy to see why src/helpers.coffee is destined to fail horribly.
One example to demonstrate: I try to Toggle comments using
Ctrl-/
. For that I would have to pressCtrl-Shift-7
as you can see above. It registersCtrl-?
.I don't know how, but your script somehow catches my
Ctrl-Shift-7
(which would beshift+55
) and makes it an?
(191
) where it should make it an&
.Edit: What is that; If I press
#
on my keyboard it gets resolved to3
in the keybinding resolver, but inserted correctly into the text. Something is very very wrong here! 😱The text was updated successfully, but these errors were encountered: