Closed Bug 286326 Opened 20 years ago Closed 15 years ago

Close window on Ctrl-W key binding should confirm if text has been entered

Categories

(Firefox :: Keyboard Navigation, defect)

x86
All
defect
Not set
normal

Tracking

()

RESOLVED DUPLICATE of bug 48333

People

(Reporter: johnnycobol, Unassigned)

References

Details

(Keywords: dataloss)

User-Agent:       Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.5) Gecko/20041107 Firefox/1.0
Build Identifier: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.5) Gecko/20041107 Firefox/1.0

Almost everyone uses webmail these days including me.  I've been burned twice
recently by Firefox when I accidentally hit Ctrl-W while typing a lengthy email.
 The window vanished just as it was programmed to and I lost my entire email
both times.  Rethinking emails is just as frustrating as rethinking code. :(

What I propose is that Firefox confirms before allowing the window to close if:
- more than 100 characters has been input on the page

This would be a very worthwhile and smart enhancement.

Reproducible: Always

Steps to Reproduce:
1. Login to webmail
2. Type an email
3. Press Ctrl-W

Actual Results:  
Window closes and you lose your email

Expected Results:  
Firefox should confirm that you want to lose your text and close the window.
*** Bug 292233 has been marked as a duplicate of this bug. ***
User-agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9a1)
Gecko/20050816 Firefox/1.0+

Confirmed here, I too have lost 20+ tabs of firefox after leaving nano/pico, and
ctrl-w'ing to find on page.
This sounds like a good idea for an extension.  However, the behavior can be
verified to exist (although I think the main source is a PEBKAC error), so I
will CONFIRM this enhancement request.
Status: UNCONFIRMED → NEW
Ever confirmed: true
OS: Linux → All
This is not an "enhancement".

THIS IS A DATA LOSS BUG.

Any bug which can permanently and irrevocably destroy user data, and does so regularly according to a broad range of users, is "critical" by definition.

This should be marked as critical.  It is also a duplicate of many other bugs.

Come on, guys.  This should have been fixed years ago.  It's easy, simple, and worth fixing.
Asking every time the program thinks you typed something would be very annoying. Ideally, Session Store would be able to save the typed text and make it available in a user-visible way if you Undo close tab. (C.f. bug 345135.)
Severity: enhancement → normal
Keywords: dataloss
QA Contact: jruderman → keyboard.navigation
Mass un-assigning bugs assigned to Aaron.
Assignee: aaronleventhal → nobody
Status: NEW → RESOLVED
Closed: 15 years ago
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.