debugger: CmdOrCtrl shown in menu shortcuts instead of Ctrl
Categories
(DevTools :: Debugger, defect, P2)
Tracking
(firefox69 wontfix, firefox70 wontfix, firefox71 fixed)
People
(Reporter: david.balazic, Assigned: davidwalsh)
Details
Attachments
(2 files)
User Agent: Mozilla/5.0 (Windows NT 6.1; Win64; x64; rv:69.0) Gecko/20100101 Firefox/69.0
Steps to reproduce:
F12 / Debugger, open a JS file, right click a line (see screenshot)
Actual results:
The shortcut in the menu say CmdOrCtrl+B
Expected results:
The shortcut in the menu should say Ctrl+B on systems that have Ctrl keys and have no Cmd keys (and vice versa)
Like the hamburger menu does.
PS: Checked on nightly 71.0a1 (2019-09-19) (64-bit) - same as reported.
Reporter | ||
Comment 1•5 years ago
|
||
PPS: My Firefox is version 69.0.1 , even if the user agent string in the report says 69.0
Hi David,
Thanks for reporting this bug to us.
I was able to reproduce it on Firefox Release 69.0.1 (64-bit), Firefox Beta 70.0b9 (64-bit) and Nightly 71.0a1 (2019-09-24) (64-bit) using Windows 7 and Windows 10.
I'll add a product and component so the corresponding dev team can take a look at it, but feel free to change it for a more appropriate one.
Regards,
Comment 3•5 years ago
|
||
Thanks for the report!
I can reproduce this on my machine (reproducible on Win as well as MacOS)
Might be also problem with the basic Context menu API (not necessarily Debugger issue).
Honza
Assignee | ||
Comment 4•5 years ago
•
|
||
We're using formatKeyShortcut
to replace stuff like CommandOrControl
on Windows and Mac...but we're never passing CommandOrControl
into that function -- only the letter of the accelerator (i.e. "b"). The modifiers are being added elsewhere which is why the symbols aren't properly displaying.
Assignee | ||
Comment 5•5 years ago
|
||
Comment 7•5 years ago
|
||
bugherder |
Updated•5 years ago
|
Updated•5 years ago
|
Description
•