Closed Bug 954324 Opened 11 years ago Closed 10 years ago

Add-ons window doesn't close on Cmd+W

Categories

(Instantbird Graveyard :: Other, defect)

x86
macOS
defect
Not set
trivial

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: bugzilla, Assigned: gfxindia)

Details

Attachments

(1 file, 2 obsolete files)

*** Original post on bio 891 by gies.nate AT gmail.com at 2011-07-02 23:07:00 UTC ***

Add-Ons window will not close when active and CMD (Apple) + W is pressed, unlike the other windows in the app.
*** Original post on bio 891 at 2011-07-02 23:14:45 UTC ***

Right. Thanks for reporting the issue!

I wonder if we should make the Escape key close the window too (like we have done for the account manager).
Status: UNCONFIRMED → NEW
Ever confirmed: true
Attachment #8384569 - Flags: review?(aleth)
Comment on attachment 8384569 [details] [diff] [review]
Closes the Add-ons Window on Cmd+D

Review of attachment 8384569 [details] [diff] [review]:
-----------------------------------------------------------------

This patch works well, but I have some trivial comments.

># HG changeset patch
># Parent 2d6797f5e844ce17944f368bcbd45adf62f13c9b
># User Shrihari Sankaran <iamshrihari@gmail.com>
>Fixed: Add-ons Window doesn't close on Cmd+D

I think you wanted "Cmd+W" here. Also please format this as "Bug xxxxx - bug description, r=blabla."

::: im/content/extensions.xul
@@ +23,5 @@
>  #ifdef XP_MACOSX
>  #include menus.xul.inc
>  #endif
>  
> +  <commandset id="logsCommands">

I think you want to name this a bit better? ;)

@@ +27,5 @@
> +  <commandset id="logsCommands">
> +    <command id="cmd_close" oncommand="window.close();"/>
> +  </commandset>
> +
> +  <keyset id="logsKeys">

Here too.

@@ +31,5 @@
> +  <keyset id="logsKeys">
> +    <key id="key_close" key="w" modifiers="accel" command="cmd_close"/>
> +    <key id="key_close2" keycode="VK_ESCAPE" command="cmd_close"/>
> +  </keyset>
> +  

Nit: Remove this whitespace.
Attachment #8384569 - Flags: review?(aleth) → review-
Summary: Add-Ons Window Doesn't Close CMD+W → Add-ons window doesn't close on Cmd+W
Attachment #8384569 - Attachment is obsolete: true
Attached patch Add-ons Windows closes on Cmd+W (obsolete) — Splinter Review
Attachment #8384587 - Flags: review?(nhnt11)
Comment on attachment 8384587 [details] [diff] [review]
Add-ons Windows closes on Cmd+W

r=me, but please remove the colon from my name in the commit message. :)

Thanks for the patch!
Attachment #8384587 - Flags: review?(nhnt11) → review+
Assignee: nobody → gfxindia
Status: NEW → ASSIGNED
Attachment #8384587 - Attachment is obsolete: true
Attachment #8384667 - Flags: review?(nhnt11)
Attachment #8384667 - Flags: review?(nhnt11) → review+
r+ carried forward as per comment 5 by nhnt11.
Keywords: checkin-needed
Note: while nhnt11 isn't officially an Instantbird peer (yet!), it's fine that he's the reviewer in this case, as aleth asked him to take other the review from him. Anyway, if you need another additional flag to feel comfortable, rs=me.
https://hg.mozilla.org/comm-central/rev/269709e19df2
Status: ASSIGNED → RESOLVED
Closed: 10 years ago
Keywords: checkin-needed
Resolution: --- → FIXED
Target Milestone: --- → 1.6
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: