-
Notifications
You must be signed in to change notification settings - Fork 1.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
'?' zooms instead of opening the keyboard shortcuts screen on Swedish keyboard #4079
Comments
@magol, can you test this fix in http://preview.ideditor.com/master ? |
@bhousel Unfortunately it still does not work. |
@magol Sorry, I'll reopen and hopefully someone with a keyboard like that can debug! |
Just tried the preview with a german keyboard, '?' does not open keyboard shortcuts. On a german keyboard '?' is shift-'ß' just right of '0'. |
@bhousel
The problem is that you give this keys on a differently way on a Swedish keyboard then on a US keyboard
Perhaps we should make it possible to localize the keyboard shortcuts? Several of the keyboard shortcuts become unnecessary complicated when it require multiple keystrokes on a Swedish keyboard (and probably other keyboards as well). |
ok few things:
(also - which browser/os are you testing with?) |
@manfredbrandl said:
We could probably fix this for German by keybinding shift+ß as we don't use ß for anything. Swedish I'm less certain specifically because it shares the ? key with +. |
@magol, @manfredbrandl : Can you test these issues again with the latest http://preview.ideditor.com/master ? When you test, let me know what browser and os you are using too, because that might matter. I just merged #3572 (thanks @tyrasd!) which gives us a more reliable way to know which key was pressed in modern browsers. |
I tested on a Windows 7 with Chrome 58.0, and it WORKS!!!! :-D All shortcuts are working now except for {, [, ], } and \. But for them it is a replacement so it does not matter. |
I tested '?' successfully with German Keyboards on Windows 64bit with Chrome 58, Firefox 53 and IE 11 and on Debian Linux 64bit with Firefox ESR 45 and Chromium 57. Midori shows a minimap in the upper left corner of the map, but that's not so important. Also in Servo iD did not work at all (no map), but that's also not so important. |
The common for the shortcuts that still do not work is that everyone uses Alt Gr on a Swedish keyboard. So it seems like that Alt Gr is not handled properly. |
I'm missing shortcut for Delete. When I press that key a feature is removed, but it is not in the list of valid shortcuts. |
Great thanks! That is good news. We don't support it but I'll install Midori on my Windows machine just for fun. I'm not surprised that iD doesn't work at all in Servo - I don't think it has SVG support yet.
Hmm that is interesting.. It's not one of the modifiers we check for, but I would expect the shortcuts to work anyway if we are using
Yes, I didn't have space on the screen to include it without wrapping to another line, but I can try to make the modal a little bit wider. |
I'm a little worried that users will miss that it is two separate views to choose from (Browse and Editing). I recommend that you make it graphically clearer that there are two tabs. |
By the way, why is there no way to get this window in any other way than with the ? key? The only place where I have found information about this is far down in an help text. I did not know anything this before, and the risk is high that most users do not know about it. I think there should be a visible button under the help to view this window. |
I think the real reason that the columns are sized that way is because the text for Alt is too long. I could fix the widths though, so that if anything is going to wrap it will be the description side.
I think it's ok.
Sure I'll add a button or link to the first page of the help screen. This feature was just added last week, and iD has existed for many years without it, so I'm not too worried about the risk of users not finding it. |
Hey @magol I added an item on the help pane mentioning the keyboard shortcuts, and I increased the width of the popup a bit to accommodate larger texts. Can you verify these items in http://preview.ideditor.com/master/ |
Great I can't find any translation of "Shot the keyboard shortcuts screen." in Transifex. But it may just be because it has not yet been synchronized there. The only thing I react to is that the help panel is still displayed in the background when the view of keyboard shortcuts is displayed. When I then choose to change tabs in the view (between |
from #3791 (comment)
It zooms because on the Swedish (and maybe others) keyboard, ? is ⇧+
The text was updated successfully, but these errors were encountered: