Keyboard shortcut (cmd + ,) does not create subscript as it does in other browsers
Categories
(Firefox :: Keyboard Navigation, defect, P2)
Tracking
()
People
(Reporter: sarahrbrazier3, Assigned: jdai)
References
(Regression)
Details
(Keywords: regression)
Attachments
(1 file)
(deleted),
text/x-phabricator-request
|
Details |
User Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.14; rv:72.0) Gecko/20100101 Firefox/72.0
Steps to reproduce:
Reproduction:
- Open Firefox
- Go to drive.google.com
- Open document in Google docs
- Highlight character in google docs (such as the "2" in H20)
- Press command + , (comma)
Actual results:
Command + , opens a new tab in firefox - about:preferences
Expected results:
Highlighted character should turn into a subscript
(this works in google docs in other browsers and is listed as the proper shortcut for a subscript; superscript, command + . works)
Comment 1•5 years ago
|
||
Hi Sarah,
Thank you for submitting this report. I was able to reproduce the issue on Mac 10.14 with Firefox versions Release 72.0.2, Beta 73.0b11 and Nightly 74.0a1 (2020-02-02).
The problem couldn't be reproduced using "Ctrl" + "," on Windows 10 x64 and Ubuntu 18.04.3 LTS with Firefox versions Release 72.0.2, Beta 73.0b11 and Nightly 74.0a1 (2020-02-02).
I am assigning a component, so our developers can take a look.
Comment 2•5 years ago
|
||
The priority flag is not set for this bug.
:dao, could you have a look please?
For more information, please visit auto_nag documentation.
Updated•5 years ago
|
Assignee | ||
Comment 3•5 years ago
|
||
It seems that we have a Preferences keyboard shortcut (command-comma) only for MacOS[1] and it set to reserved="true"
in bug 1381951 so that the event will no longer dispatch to content process. I notice Safari also has the same issue.
Assignee | ||
Comment 4•5 years ago
|
||
It seems it's safe to remove reserved="true"
for macOS's preferences keyboard shortcut and it still can open preferences in Gmail[1].
[1] See bug 1381951 comment 17
Assignee | ||
Comment 5•5 years ago
|
||
Updated•5 years ago
|
Assignee | ||
Updated•5 years ago
|
Updated•5 years ago
|
To remind about a comment from bug 1381951 (aside from the regression itself), allowing JavaScript to bind this shortcut introduces a phishing opportunity for sites to spoof Firefox’s “it’s made of HTML” about:preferences, since Mac users are trained to expected that shortcut to open application preferences.
Updated•5 years ago
|
Updated•5 years ago
|
Comment 7•5 years ago
|
||
Marking as wontfix for 74 as we are nearing the end of the beta cycle.
Comment 9•5 years ago
|
||
Err, I just noticed this. I don't usually work on Firefox, but the patch looks fine to me and so I gave it an r+. That said, it's really outside my area of expertise, so you may want to have an additional eye take a quick glance at it.
Updated•5 years ago
|
Comment 10•5 years ago
|
||
Comment 11•5 years ago
|
||
I would add that I know this is done for compatibility with a popular product and is in line with how Chrome works, but I still feel in my gut that GDocs is behaving poorly here.
I will add that Safari also does not do subscript, and cmd-, on Safari while Google Docs is open brings up Safari's preferences.
Comment 12•5 years ago
|
||
(In reply to April King [:April] from comment #11)
I would add that I know this is done for compatibility with a popular product and is in line with how Chrome works, but I still feel in my gut that GDocs is behaving poorly here.
I will add that Safari also does not do subscript, and cmd-, on Safari while Google Docs is open brings up Safari's preferences.
I agree that it'd be better for gdocs not to conflict here, and the browser discrepancies (and thus somewhat of a minefield for web authors to work out which shortcuts they can/cannot use/override) are not great.
Anne, is shortcut-un-overrideable-ness-for-websites something we could try to standardize as part of the DOM spec? Is there prior art / conversation on that subject?
Comment 13•5 years ago
|
||
bugherder |
Updated•5 years ago
|
Comment 14•5 years ago
|
||
https://github.com/w3c/uievents/issues/261 seems related (and that would also be the repository to use for any enhancements to keyboard events). HTML has an accesskey
attribute that in principle browsers could expose in a variety of ways, including those not overlapping with builtins, but it does require sites to use it (and browsers to support it accurately), neither of which is really a thing I believe. Hope that helps a bit.
Comment 15•5 years ago
|
||
The patch landed in nightly and beta is affected.
:jdai, is this bug important enough to require an uplift?
If not please set status_beta
to wontfix
.
For more information, please visit auto_nag documentation.
Updated•5 years ago
|
Comment 16•5 years ago
|
||
(In reply to Release mgmt bot [:sylvestre / :calixte / :marco for bugbug] from comment #15)
The patch landed in nightly and beta is affected.
:jdai, is this bug important enough to require an uplift?
If not please setstatus_beta
towontfix
.For more information, please visit auto_nag documentation.
Talked with John, and also as what Julien marked, wontfix for 75.
Updated•5 years ago
|
Updated•5 years ago
|
Comment 17•5 years ago
|
||
Reproduced the issue using Firefox 74.0a1 (20200129213721) on macOS 10.12.
The issue is verified fixed using Firefox 76.0b5 (20200415234430) on macOS 10.12. CMD + ,
turns the highlighted character into a subscript.
Description
•