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
docs.google.com - Norwegian characters do not trigger "edit mode" for spreadsheet cells #1879
Comments
The same issue seems to affect the ? key stroke - on Norwegian keyboards this is [Shift] - [+] - BTW the + key is just to the right of the number keys. |
Re-tested, still happens. |
Alright, sweet. We've got two issues for the price of one. The initial key code check and assignment to some variables is done in function bca(a, b) {
if (a.Pu) return !0;
if (!Gba) {
var c = b || ma("window.event");
b = new Zc(c, this);
var d = !0;
if (!(0 > c.keyCode || void 0 != c.returnValue)) {
a: {
var e = !1;
if (0 == c.keyCode) try {
c.keyCode = -1;
break a;
} catch (h) {
e = !0;
}
if (e || void 0 == c.returnValue) c.returnValue = !0;
}
c = [];
for (e = b.currentTarget; e; e = e.parentNode) c.push(e);
a = a.type;
for (e = c.length - 1; !b.O && 0 <= e; e--) {
b.currentTarget = c[e];
var g = eca(c[e], a, !0, b), d = d && g;
}
for (e = 0; !b.O && e < c.length; e++) b.currentTarget = c[e], g = eca(c[e], a, !1, b),
d = d && g;
}
return d;
}
return fca(a, new Zc(b, this));
} So, the first issue here is a Gecko issue. For some non-American keys, including ø and ä, we seem to be unable to generate key codes and The second issue, however, is the use of Sadly, that's not a drop-in replacement. Maybe we could suggest generating I guess it's best to wait for bug 1036008 and see what we end up with? |
Okay, judging by the reaction in that bug, I don't think we will get a Gecko fix. @karlcow @miketaylr I am moving this to needscontact although I am not able to make up a clean or easy solution for this. Basically, we dropped support for The new way is to use Googles code is heavily optimized and I am not sure what would be the best solution, so it's probably best to get in touch. Also, I see no chance of getting the behavior adjusted in Firefox. |
Google has been contacted through the usual mailing list. |
Thanks everyone! |
Since pathces in bug 1036008 landed yesterday, I am happy to confirm I have tested this in todays nightly and... it's fixed. MDN has some details about the changed behavior, if someone is interested: https://developer.mozilla.org/en-US/docs/Web/API/KeyboardEvent/keyCode#keyCode_of_punctuation_keys_on_some_keyboard_layout Closing this as fixed! 🎉 🔥 |
URL: https://docs.google.com
Browser / Version: Firefox 41.0
Operating System: Windows
Problem type: Something else - I'll add details below
Steps to Reproduce
Expected Behavior: Spreadsheets should switch to editing mode for the cell automatically and insert the character
Actual Behavior: Nothing happens.
Works in Chrome and IE.
The text was updated successfully, but these errors were encountered: