Attaching a file makes you loose your edits

Bug #1484671 reported by teo1978
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Launchpad itself
New
Undecided
Unassigned

Bug Description

Steps to reproduce:

- pick a bug report (for example one you reported)
- Start editing it. Make sure to spend quite a lot of time and effort to edit it in order to improve it
- Now you want to attach a file, so, before you save your edits, click on "Add attachment or patch" at the bottom of the page

EXPECTED RESULT
Any of the following:
A) The "add attachment or patch" link shouldn't be available in the first place
B) When clicking on "Add attachment or patch", a pop up should show up warning you that you will loose your current edits unless you save them first, and allow you to choose whether to cancel the action and keep editing or continue and loose your edits (and even better, a third option to save changes and continue)
C) the current edited version should be saved as draft, and after uploading the attachment you should be returned to the editing interface with the text as it was when you left it before clicking on "Add attachment or patch"

OBSERVED RESULT
Without any warning whatsoever, all your unsaved changes to the report text are GONE, and you get to the page for attaching a file.
That's absolutely unacceptable.

ADDITIONALLY, due to the way the editing interface is designed (ajax-based), the Back button of the browser won't allow you to recover the edited text, as it would happen (in any modern browser) if the previous page was a regular page with a textarea that hadn't been created via ajax.

This is DISRESPECTFUL to people who spend their time reporting bugs to help making Ubuntu better.
This kind of details that avoid having people WASTE THEIR TIME should be the top priority in maintaining Launchpad.
Sadly, "cool" design prevails over it (it is not at all incompatible, by the way)

I was used to always copying anything I entered into a web form and pasting it into a text editor prior to posting it, but in the LAST F***ING DECADE, decent browsers and decent web design have made this paranoid habit mostly unnecessary, so I kind of lost it. Launchpad is one of the few sites where you still have to take such precautions.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.