Open Bug 1922558 Opened 2 months ago Updated 27 days ago

Include checkmark for show / hide shortcuts menu items to indicate current behavior on windows

Categories

(Core :: Machine Learning, enhancement)

enhancement
Points:
3

Tracking

()

People

(Reporter: Mardak, Unassigned)

References

(Blocks 2 open bugs)

Details

(Keywords: access, Whiteboard: [genai])

Attachments

(1 file)

rares noted: The Show Shortcut when selecting text / Hide Shortcut when selecting text.. (from the Sidebar AI menu) we should have an indicator to know which one of them is selected.. maybe like a check mark ? or a color or something, I could add this as an Enhancement ?

this behavior already works on macos as we are setting [checked=true] from bug 1920102:
https://searchfox.org/mozilla-central/rev/f0b3dafb55f1e7904847f5dc889f131040789ba6/toolkit/themes/osx/global/menu.css#88,97,107

but windows requires [type=radio] or menuitem-iconic (to result in component with .menu-iconic-left):
https://searchfox.org/mozilla-central/rev/f0b3dafb55f1e7904847f5dc889f131040789ba6/toolkit/themes/windows/global/menu.css#130

i tried setting [type=radio] but given the current behavior of rebuilding but reusing the popup each time, it results in odd behavior of checkmark showing the first open but re-open loses checkmark. i believe part of this the menu opening logic to determine if there needs to be a gutter then optimized assuming items are unchanged

Points: --- → 3
Whiteboard: [genai]
See Also: → 1922382
Keywords: access
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: