Closed Bug 120018 Opened 24 years ago Closed 24 years ago

Pressing ESC in Delete Profile dialog gives unexpected results

Categories

(SeaMonkey :: Startup & Profiles, defect)

defect
Not set
normal

Tracking

(Not tracked)

VERIFIED FIXED
mozilla0.9.8

People

(Reporter: mozilla, Assigned: ccarlen)

Details

(Keywords: dataloss)

Attachments

(1 file)

If I open up the Profile Management window, select a user profile, and click the "Delete Profile" button, a dialog pops up with some text describing what's about to happen along with three options for the question of whether I want to delete the profile's data files: o Cancel o Delete Files o Don't Delete Files <-- the default if I press RETURN However, if I press the ESC key on the keyboard, the "Delete Files" option is chosen instead of cancelling the operation (which is what I'd expect). This has caused data loss for me wherein a profile's contents are deleted when I didn't expect them to be!
Keywords: dataloss
OS: MacOS X → All
Hardware: Macintosh → All
It's a standard nsIPromptService dialog (same as Save/Don't Save/Cancel) but the buttons are in the wrong order. I'll take it.
Assignee: racham → ccarlen
Status: NEW → ASSIGNED
Target Milestone: --- → mozilla0.9.9
Yep. Cancel was in the wrong slot so the escape key triggered the wrong button (ouch!) Reviews please - I'd like to get this into 0.9.8 since it's such deadly dataloss.
updating summary
Summary: Pressing Cancel in Profile Management window gives unexpected results → Pressing ESC in Delete Profile dialog gives unexpected results
Comment on attachment 65310 [details] [diff] [review] Patch which makes "Cancel" be button triggered by Esc r=rjc
Attachment #65310 - Flags: review+
CC'ing Alec for sr.
Comment on attachment 65310 [details] [diff] [review] Patch which makes "Cancel" be button triggered by Esc sr=alecf
Attachment #65310 - Flags: superreview+
-> 0.9.8, asking drivers
Target Milestone: mozilla0.9.9 → mozilla0.9.8
Oy. a=blizzard on behalf of drivers for 0.9.8.
Keywords: mozilla0.9.8+
Checked in.
Status: ASSIGNED → RESOLVED
Closed: 24 years ago
Resolution: --- → FIXED
Verified code fix. I was going to try to reproduce this but I want to keep my profile's contents. Please reopen if this problem reoccurs.
Status: RESOLVED → VERIFIED
Product: Browser → Seamonkey
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: