LWN.net Logo

upsets Users for a reason

upsets Users for a reason

Posted Mar 27, 2010 9:50 UTC (Sat) by k8to (subscriber, #15413)
In reply to: upsets Users for a reason by foom
Parent article: Ubuntu and window controls

> Any application that tosses your unsaved changes when you
> hit the close button, without so much as prompting you is
> simply broken...the close button should never actually be
> destructive.

What a pretty idea.

Unfortunately it runs into trouble when it encounters complex
multipurpose programs like a web browser. If the browser refused to
close because you had a textarea in it that you entered a character
into somewhere, you would not be happy. How about INPUT fields
entered by javascript, or pre-populated by javascript?


(Log in to post comments)

upsets Users for a reason

Posted Mar 27, 2010 15:08 UTC (Sat) by foom (subscriber, #14868) [Link]

My browser *does* do that, and I *am* happy. I haven't noticed it having any false positives.

It says:

Are you sure you want to close this window?

You have entered text on “Comment editor [LWN.net]”. If you close the window, your changes will
be lost. Do you want to close the window anyway?

[Cancel] [Close]

Copyright © 2013, Eklektix, Inc.
Comments and public postings are copyrighted by their creators.
Linux is a registered trademark of Linus Torvalds