Closed Bug 143266 Opened 23 years ago Closed 22 years ago

[RFE] warn user when closing window/tab with unsubmited form data

Categories

(Core :: Layout: Form Controls, enhancement, P2)

enhancement

Tracking

()

RESOLVED DUPLICATE of bug 48333
Future

People

(Reporter: m_mozilla, Assigned: alexsavulov)

References

()

Details

(Keywords: dataloss)

If the form is in any state other than the default values (ie: user changed a menu, checked a box, typed some text in an input or textarea, selected file for upload, etc) ...then note that the form is "dirty" When user closes a tab/window, if any form is marked dirty, advise the user that they have unsubmited form data, and ask them to confirm or cancel the close command. When the user quits the browser, each window/tab is inspected in the manner above before it gets closed. If any window's prompt results in a 'cancel', then the quit is canceled. typically, users would see no different behavior than normal. Occasionally, users would see dataloss prevented. I know I've had Too Many Tabs open on occassion, and come back from lunch or whatever forgetting that I had info in some other tab still, and then exiting and loosing it. In fact, I once failed to report a mozilla bug for that reason! Hadn't finished filling things out out, got a phone call which had me opening other tabs, forgot my bug, and later exited without having submitted it. Spotted this feature request in the wild at: http://use.perl.org/~Matts/journal/4784 (last paragraph of journal entry) follow-ups to journal entry point out that other software is better for inputing blog entries because of this common browser limitation. It would be nice if Mozilla were not limited like all the others :) ...could also be a nice feature for embedded mozilla apps... No, I'm not that Matt. I'm a different matt :) -matt
reassigning
Assignee: morse → rods
Component: Form Manager → HTML Form Controls
alex, this is probably a browser front-end bug
Assignee: rods → alexsavulov
setting target
Priority: -- → P2
Target Milestone: --- → Future
Keywords: dataloss
possibly this is (related to|a duplicate of) bug 48333 ?
*** This bug has been marked as a duplicate of 48333 ***
Status: NEW → RESOLVED
Closed: 22 years ago
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.