[SERVER-23004] key input block on german keyboards Created: 08/Mar/16 Updated: 01/Apr/16 Resolved: 01/Apr/16 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | Shell |
| Affects Version/s: | 3.2.3 |
| Fix Version/s: | None |
| Type: | Bug | Priority: | Minor - P4 |
| Reporter: | LordMuhkuh [X] | Assignee: | Mark Benvenuto |
| Resolution: | Cannot Reproduce | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Environment: |
only tried it on windows 7, might not be on other operating systems. |
||
| Operating System: | Windows |
| Steps To Reproduce: |
|
| Sprint: | Platforms 12 (04/01/16) |
| Participants: |
| Description |
|
Very basic problem |
| Comments |
| Comment by Ramon Fernandez Marina [ 01/Apr/16 ] |
|
LordMuhkuh, unfortunately we haven't been able to reproduce the behavior you described on our end, and since you have a workaround I'm going to close this ticket. If you can provide any further information that can help track this issue down to a bug in the shell please post it here, and we'll be happy to reopen the ticket and investigate further. Thanks, |
| Comment by LordMuhkuh [X] [ 30/Mar/16 ] |
|
Yes thats the layout my keyboard has. |
| Comment by Mark Benvenuto [ 29/Mar/16 ] |
|
I also experimented with En-US Windows 7 in Hyper-V, and I can only use Alt Gr with the Right-Alt and not Left-Alt when I use Notepad. My keyboard on Windows 7 is specifically the keyboard layout labeled "German", not "German (IBM)". The layout appears to match this German layout I found on Wikipedia. I cannot use Left-Alt as Alt Gr on the Windows machines I have tried. Are you remapping the keys on your keyboard in anyway (for instance, I remap Caps Lock to Esc as an example)? |
| Comment by LordMuhkuh [X] [ 29/Mar/16 ] |
|
I can confirm Left-Alt works as Alt Gr in Windows Notepad and it |
| Comment by Mark Benvenuto [ 29/Mar/16 ] |
|
In my experiments with the German keyboard layout, I can access {, [, ], } via Right-Alt or via Ctrl+Left-Alt in Notepad. Left-Alt does not work for me in Notepad. Can you confirm that Left-Alt is working as Alt Gr (Alternate Graphic) in Windows Notepad, but not the mongo shell? |
| Comment by LordMuhkuh [X] [ 29/Mar/16 ] |
|
Ah how funny! I was so used to the left-alt key, that I completly forgot the right-alt key. Right-alt key works totally fine, which kinda solves the problem. But only kinda, because usage of left-alt is pretty standart around here. So it still would be nice if the left-alt key would be usable for us. |
| Comment by Mark Benvenuto [ 28/Mar/16 ] |
|
On Windows 10, I started mongo, and I changed the input method to German (Deutschland) for the mongo program, and by using the Right-Alt key, I was able to input the special characters {,[,],} via 7,8,9,0, I found the mappings to use based on German keyboard layout “T1” according to DIN 2137-1:2012-06 from https://en.wikipedia.org/wiki/German_keyboard_layout. I am using a standard Microsoft Windows keyboard on native hardware (i.e., no RDP or virtual machines). Which ALT key are you using? I admit I am not familiar with the German keyboard. |
| Comment by LordMuhkuh [X] [ 25/Mar/16 ] |
|
Notepad works totally fine for me, except the alt + 9 key combo which isnt bound to a character anyway. Also I had a program to program my keyboard active, once I disabled it the problem still occured so it shouldnt be a reason for interference. |
| Comment by Ramon Fernandez Marina [ 20/Mar/16 ] |
|
LordMuhkuh, while I can reproduce the behavior you describe when using RDP from a Mac, I've found that I can't type characters requiring the Alt/AltGr keys like {, [, etc. in the mongo shell – but I wasn't able to type them in notepad either, which would indicate a configuration/driver problem that's not related to the mongo shell. Are you able to type these characters in other applications like notepad? |
| Comment by LordMuhkuh [X] [ 08/Mar/16 ] |
|
Iam using 3.2.3, on my local machine, using git bash. Had the same problem also though with windows cmd. |
| Comment by Andre Spiegel [ 08/Mar/16 ] |
|
I can change this for you. What version is it you are actually using? Also, are you running the mongo shell locally on your Windows machine, in the Windows terminal application, or are you connecting to a remote computer via PuTTY or similar and running the shell there? |
| Comment by LordMuhkuh [X] [ 08/Mar/16 ] |
|
I posted the wrong mongodb version for this issue, sadly I cant see where to modify this issue. If I even can. Is there a way to change it or should I open a new issue? |
| Comment by Andre Spiegel [ 08/Mar/16 ] |
|
Herzliche Grüße aus New York! I am actually using the mongo shell on my German keyboard all the time, including version 3.3.2, and I can unfortunately not reproduce the problem. I am using a Mac keyboard however, so that might explain the difference. Could you clarify if you have a German keyboard, and which precise Alt- sequence you are trying to type that does not result in the appropriate character? For example, to get a curly brace "{", what actual key sequence are you typing? Is it AltGr-7? Or are you using the Alt-Octal Sequence on the numeric keypad to get the character? I'll try to reproduce this on a Windows keyboard. Mit freundlichen Grüßen, André Spiegel |