Closed Bug 1441658 Opened 7 years ago Closed 7 years ago

Firefox's main menu should expose the exit shortcut on Windows, too

Categories

(Firefox :: Menus, enhancement, P5)

enhancement

Tracking

()

RESOLVED FIXED
Firefox 61
Tracking Status
firefox60 --- wontfix
firefox61 --- fixed

People

(Reporter: Gijs, Assigned: jake.zachariah.nixon, Mentored)

References

Details

(Keywords: good-first-bug)

Attachments

(1 file, 2 obsolete files)

We expose the shortcut for Exit on Windows (Ctrl-Shift-Q) in the hamburger menu, but not in the 'old' menu. This can be fixed by ensuring the old menu's menuitem has a 'key' attribute. To do this, we need to remove the `ifdef XP_UNIX` and `endif` bits in this block: https://dxr.mozilla.org/mozilla-central/rev/580d833df9c44acec686a9fb88b5f27e9d29f68d/browser/base/content/browser-menubar.inc#107-109 and just always include the `key` attribute.
I want to work on this bug. What I understand, I only have to remove "#ifdef XP_UNIX" and "#endif" from attachment file.Is there anything else?
(In reply to Souvik Mandal from comment #1) > I want to work on this bug. Great! > What I understand, I only have to remove "#ifdef > XP_UNIX" and "#endif" from attachment file.Is there anything else? Check that it works, and attach the patch or review request to this bug. That's all! :-)
Hey, can I work on this bug?
(In reply to Alex from comment #3) > Hey, can I work on this bug? Looks like Souvik is working on bug 1441892 instead, so I think that would be OK.
Testing now. Running build with changes and if everything works ill upload the patch for review. You can assign it to me for now. if not ill do some more testing.
Attached patch browser-menubar.inc (obsolete) — Splinter Review
commit to fix close option in legacy menu
Attachment #8957855 - Flags: review+
Comment on attachment 8957855 [details] [diff] [review] browser-menubar.inc This seems to just be a file, not a diff, and it has no commit message. Can you attach an exported commit (ie patch, with commit message) or push to mozreview? See e.g. https://mozilla-version-control-tools.readthedocs.io/en/latest/mozreview/commits.html and https://developer.mozilla.org/en-US/docs/Mozilla/Developer_guide/How_to_Submit_a_Patch#Creating_a_patch
Attachment #8957855 - Flags: review+ → review-
Is anyone still working on this bug? If not then I'd be interested in taking it on.
(In reply to Jake Nixon [:wightsnowolf] from comment #8) > Is anyone still working on this bug? It's been 3 weeks, so I don't think so... > If not then I'd be interested in taking it on. Feel free to upload a patch, let me know if you need more details than what is in the bug right now. :-)
Attachment #8964729 - Flags: review?(gijskruitbosch+bugs)
Comment on attachment 8964729 [details] [diff] [review] Bug 1441658 Change 'old' menu to show exit shortcut Review of attachment 8964729 [details] [diff] [review]: ----------------------------------------------------------------- This looks good, can you commit the change and then export it so it includes a commit message? Something like: Bug 1441658 - also show shortcut on the 'Exit' entry on Windows, r=gijs would work well as a commit message (it generally needs to include bug number, a description and the reviewer(s))
Attachment #8964729 - Flags: review?(gijskruitbosch+bugs) → review+
Assignee: nobody → jake.zachariah.nixon
Status: NEW → ASSIGNED
Comment on attachment 8964808 [details] [diff] [review] Patch to also show shortcut on the 'Exit' entry on Windows, r=gijs Review of attachment 8964808 [details] [diff] [review]: ----------------------------------------------------------------- Carrying over r+ :-)
Attachment #8964808 - Flags: review+
Attachment #8957855 - Attachment is obsolete: true
Keywords: checkin-needed
Pushed by shindli@mozilla.com: https://hg.mozilla.org/integration/mozilla-inbound/rev/bd1c3d575c53 also show shortcut on the 'Exit' entry on Windows, r=gijs
Keywords: checkin-needed
Status: ASSIGNED → RESOLVED
Closed: 7 years ago
Resolution: --- → FIXED
Target Milestone: --- → Firefox 61
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: