problems with gDocs #6
Comments
|
Which browser are you using? It works for me in Firefox.
I should indeed do that. For now, you can take a look at the commit history. It is still quite short and gives you an impression of the changes. |
|
I just tried Firefox, and its working there! Thanks :) I would still like to stick with Chrome though. I believe the difference lies in "option key + /" on Chrome and "ctrl + ' " on Firefox.... Already took a look at the commit history :) |
|
I can reproduce the problem in Chrome, but unfortunately I see no way to fix it. |
|
So I finally did some digging and was able to find the underlying problem: Could you point me to a key I could use for this? |
|
A similar issue arises with http://codemirror.net/ , which is used for input in Jupyter notebook. In this case typing Do you face the same issue? There is a test input field at http://codemirror.net/ , so you can give it a quick try. Would this be an issue that needs to be fixed in the respective Browsers, or do you have any other ideas how to fix this? |
For that reason I use Chrome for Jupyter notebooks. Unfortunately, I believe that there is no way to fix this on the level of the keyboard layout (except rearranging the layout). The comments on codemirror/codemirror5#4066 make me believe that is either a browser bug of erroneously triggering an Alt+F event (though this depends on the exact semantics when those events are supposed to be triggered) or a bug in CodeMirror. Though as pointed out, they may not be able to do much about it either as they cannot tell whether the Alt+F event is intended to produce a printable character with the current keyboard layout. |
|
I also noticed that typing / and ? in google docs opens menus instead. Unfortunately, there's no alternate binding for ?. ps: @jgosmann I just noticed it's you who did this Mac improvement for Neo2, nice! I started using Macs recently for work, it's good to have my favourite layout. |
|
@jgosmann First of all thank you for providing this improved layout! I recently switched from Linux to Mac and was wandering if there are any news regarding improved behavior in google docs. I also have problems typing '?' inside gmail to see a list of hotkeys, or to delete E-Mails with '#' which both require M3. I'd also be willing to spend some time improving the layout if you can point me to where I would have to start. |
|
The problem here isn't so much implementing modifications to the layout, but finding a solution to the problem. I might even argue that this Google's fault for putting using a hot key with a pure alt/option modifier which is a key that is commonly used (even in other keyboard layouts) to produce a number of special symbols with a third layer. So the Neo2 layout just defines Option+h to be
Note while this solution might solve the problem in Google Docs it might lead to other problems with this key in shortcuts. It will likely not be possible to use |
|
Thanks for the details! I see your point why the outlined implementation might not be optimal. I don't know any implementation details but is caps lock simply mapped to 'option'? I didn't realize that until you mentioned that |
|
Yes, caps lock is simply mapped to 'option'. To achieve the the third layer in a different way I see to potential options:
|
|
So you're saying that to activate different layers, you need to use a combination of modifier keys, i.e. |
|
This is a limitation of MacOS keyboard layouts. The layers are defined within the |
|
Oh I see, that's quite annoying. Personally, I have never used neo2 layers 5 and 6 so I would happily sacrifice them for a fully working layer 3. What about mapping |
My goal here is to provide a layout that is reasonably close to the “standard”, but you're welcome to make your own fork with personal adjustments. That's one of the advantages of open source after all. :) Unfortunately, |
|
Thanks! I'll give it a try and I understand that you want to keep this version as close to the standard as possible which is good. |
|
I looked a bit more into this and might have a viable solution. It keeps the question mark in the keyboard layout where it is, but adds an alternative way to type a question mark via a dead key (where the final key is without modifiers and thus does not trigger shortcuts such as To test this out:
It would be nice to get some feedback whether anyone experiences unexpected side effects. Also, are there any other problematic keys that could use a similar fix? |
|
Hi, thanks for looking into this! I was trying to test your new layout but failed with the complex rule file. I think the problem might be that it is an |
|
Sorry, I linked the wrong file. This is the correct one which gets generated from the |
|
I think you mean this file and this indeed works well, thank a lot! It fixes the problem both in Google docs as well as in the commit changes window of WebStorm (and probably any jetbrains IDE). Other problematic keys I've encountered:
|
|
Finally had some more time to work on this. I updated the keyboard layout file on the |
|
I don't have GMail, so if you could let me know whether the issues there are fixed that would be great. |
|
Well done, thank you very much! I can confirm that the problems with WebStorm, the chrome console and google docs have gone away which is awesome! Unfortunately, |
|
Interestingly, the fixes introduce a new problem for me in Webstorm: it will insert an additional � character in front of all the layer three characters. 😐 |
|
The problem in Webstorm (and other Jetbrains IDEs) is a bug reported upstream and has a workaround: |
|
This has been fixed on master now. |
|
I have trouble using those modifications on MacOS Catalina. I enable the rule(s) from here: https://pqrs.org/osx/karabiner/complex_modifications/json/neo2.json |
|
It works fine for me on Catalina ... |
|
Hello jgosmann, thank you for your work! Is this fix dependent on the order of the modifications? |
I tried to change the order and also only enable subsets of the options, but so far, I have not been able to find any working configuration. |
|
I still have no idea what the problem might be as it is still working for me. Maybe some additional information would be helpful:
|
|
Also, for reference, this is the exact order of complex modifications that I have enabled:
|
|
@jgosmann Thanks for trying to solve this! If I use the exact same order of complex modifications, the Prevent all layer 3 keys from being treated as option key shortcut rule still leads to e.g. s being printed instead of ? in all programs. I tested this with the following input devices:
Here the output from the Karabiner Elements Viewer without the rule enabled: With the rule enabled: |
|
Hm, that is exactly the same output that I get. 😕 |
|
Ok. That was a very stupid mistake. My keyboard layout file was from 2017. I updated the file and everything works properly now. Thanks a lot! :) |
|
Yep, that fixed it for me as well … |
|
Awesome. :) |

Hi,
I'm having trouble using docs.google.com, as for some reason it is impossible to type slash / or questionmark ?. Doing so by pressing [CAPS-LOCK] and [S] or [H] results in opening the help-menu search window. Im using Karabiner-Elements with the provided neo config file without any further modifications.
BTW: Thanks for providing your layout file in the first place :)
P.S.: Would you mind adding a little bit of documentation on where your layout differs from the "neo-layout.org" file in the readme?
The text was updated successfully, but these errors were encountered: