A tricky situation in malone bug 60995

Fergal Daly fergal at esatclear.ie
Sat Oct 20 23:20:31 UTC 2007


On 21/10/2007, Martin Olsson <mnemo at minimum.se> wrote:
>
>
> Nicolas Alvarez wrote:
> >
> > It's the wrong way to fix it. You can lose data by clicking enter
> > while a link is focused too, should we disable the enter key? The
> > right solution has been mentioned multiple times in multiple places:
> > prompt "Are you sure you want to change page and lose what you typed?"
> >
>
> Yes, exactly. Nobody is arguing *for* data loss, clearly data loss
> should be avoided (but using another, more intelligent method).
> I would also like to point you to the follow repro steps:
>
> 1. surf to cnn.com
> 2. surf to google.com
> 3. enter search query "hello"
> 4. press the BACK button in the browser
> 5. press the FORWARD button in the browser
>
> Voilá your search query is still there intact: no data loss! Maybe this
> was a big problem in previous versions of Firefox but right now, the
> data loss argument is running very short.

Now try the same thing with anything "web 2.0" where javascript
manipulates the input areas before the users gets to enter anything.
If you're lucky, the app's author already "solved" the problem and
pops up an alert if you try to navigate away from the page but if
every web app in the world has to independently reimplement this kind
of safety feature, then that's just further evidence that the feature
should be in the browser,

F


>
>
>                 Martin
>
> --
> Ubuntu-devel-discuss mailing list
> Ubuntu-devel-discuss at lists.ubuntu.com
> Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-devel-discuss
>




More information about the Ubuntu-devel-discuss mailing list