Closed Bug 668903 Opened 13 years ago Closed 10 years ago

Pressing escape should close the password manager

Categories

(Toolkit :: Password Manager, defect)

defect
Not set
normal

Tracking

()

RESOLVED FIXED
mozilla31

People

(Reporter: Natch, Assigned: Natch)

References

Details

(Keywords: ux-consistency)

Attachments

(1 file, 2 obsolete files)

The password manager doesn't close when hitting escape, as does nearly every other dialog/pop-up (e.g. Downloads, Cookies, etc.)
Attached patch Add ESC key handling (obsolete) — Splinter Review
Assignee: nobody → highmind63
Status: NEW → ASSIGNED
Attachment #8402862 - Flags: review?(gavin.sharp)
Comment on attachment 8402862 [details] [diff] [review]
Add ESC key handling

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

Hello, thanks for the patch.

I can't get this to work on OS X 10.9 or Windows 7. Were you able to get this to work somewhere?

Also, please make sure that the dialog doesn't close when Escape is pressed in the search field (as that clears the field).
Attachment #8402862 - Flags: review?(gavin.sharp) → review-
(In reply to Matthew N. [:MattN] from comment #2)
> I can't get this to work on OS X 10.9 or Windows 7. Were you able to get
> this to work somewhere?

Yeah, it's supposed to be "keycode=VK_ESCAPE", I'll correct that and actually test this time.

> Also, please make sure that the dialog doesn't close when Escape is pressed
> in the search field (as that clears the field).

I'll test this as well.
Attached patch Updated to keycode (obsolete) — Splinter Review
This fixes both comments :)
Attachment #8402862 - Attachment is obsolete: true
Attachment #8403488 - Flags: review?(MattN+bmo)
Comment on attachment 8403488 [details] [diff] [review]
Updated to keycode

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

Normally I would ask for a test but since this is straightforward enough and I see this behavior tested in other dialogs so I'll let it go ;)

I like this for the consistency with other dialogs as this bothers me too. I do wonder if this will now interfere with user's muscle memory if they're trained they can hit ESC repeatedly to clear the filter without closing it. This patch would make it work like the Applications preferences tab, extension installation whitelist dialog, and the cookie dialog so I think people can get used to that.
Attachment #8403488 - Flags: review?(MattN+bmo) → review+
Note to pusher: the bug # and reviewer are not in the commit message
OS: Windows Vista → All
Hardware: x86 → All
(In reply to Matthew N. [:MattN] from comment #6)
> Note to pusher: the bug # and reviewer are not in the commit message

Fixed. Thanks!
Attachment #8403488 - Attachment is obsolete: true
Attachment #8403502 - Flags: review+
Thank you
https://hg.mozilla.org/integration/fx-team/rev/0df48cf38d63
Keywords: checkin-needed
Summary: Pressing esc should close the password manager → Pressing escape should close the password manager
https://hg.mozilla.org/mozilla-central/rev/0df48cf38d63
Status: ASSIGNED → RESOLVED
Closed: 10 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla31
QA Whiteboard: [good first verify]
I don't understand why this was reported. It doesn't happen for stable (31) or beta (32).

Mozilla/5.0 (Windows NT 6.1; WOW64; rv:31.0) Gecko/20100101 Firefox/31.0
It was fixed in 31, so you would have to compare to 30 where it was not.
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: