Full screen shortcut no longer displayed in menubar "View" menu nor hamburger menu (says "null" instead in that menu!)
Categories
(Core :: DOM: Events, defect)
Tracking
()
Tracking | Status | |
---|---|---|
firefox-esr102 | --- | unaffected |
firefox113 | --- | unaffected |
firefox114 | --- | unaffected |
firefox115 | --- | fixed |
People
(Reporter: Gijs, Assigned: masayuki)
References
(Regression)
Details
(Keywords: regression)
Attachments
(1 file)
Per Shane (aminomancer)'s comment on matrix, I think there are leftover references to key_fullScreen
after the patch from bug 1821886 that will need updating, cf. https://searchfox.org/mozilla-central/search?q=key_fullScreen
I'm very sorry for not catching this in review.
Masayuki, are you able to take a look at this?
I suspect it will be a bit tedious to fix as I suspect the references cannot stay static now that the shortcut has been split into enter/exit ones. For the menubar macOS ifdef'd ones this is not so bad because there are already 2 menuitems, so they can just each point to the corresponding key element. But this doesn't solve the non-macOS case in the menubar, or the two references in nodeToShortcutMap
which is used by the user-configurable toolbar button and the hamburger menu entry.
But perhaps it doesn't matter if the only use for key
is the cosmetic fetching of the string used, and that is the same for both key
elements?
Updated•2 years ago
|
Assignee | ||
Updated•2 years ago
|
Assignee | ||
Comment 2•2 years ago
|
||
As far as I've tested, the menu is not visible in the fullscreen mode. But yeah, I guess that setting key
to key_fullScreen
should work.
Assignee | ||
Comment 3•2 years ago
|
||
Just forgetting to map them to new key_enterFullScreen
. Note that both
key_enterFullScreen
and key_exitFullScreen
have same shortcut keys.
Therefore, mapping only to key_enterFullScreen
must be fine for the
toggle UIs.
This patch does not contain the tests for checking the tooltip label on
the toolbar buttons because the shortcut key information does not appear
in the DOM tree.
Comment 5•2 years ago
|
||
bugherder |
Description
•