Closed Bug 230799 Opened 21 years ago Closed 21 years ago

clicking the OK button multiple times in the "What should Mozilla Firebird do with this file?" dialog opens multiple broken file choosers

Categories

(Toolkit :: Downloads API, defect)

x86
Linux
defect
Not set
minor

Tracking

()

RESOLVED FIXED

People

(Reporter: hagbard, Assigned: bugs)

Details

User-Agent:       Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.5) Gecko/20040106 Firebird/0.7
Build Identifier: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.5) Gecko/20040106 Firebird/0.7

Having left-clicked a link, double-clicking on OK in the "What should Mozilla
Firebird do..." dialog causes TWO "Enter the name of file to save to..." dialogs
to be opened simultaneously. 

Neither of them works - clicking OK after selecting a filename causes that
window to dissappear with no download taking place. Repeating this with the
remaining window does the same thing.  Which dialog you use first has no effect
on this behaviour. 

The button does not seem to be disabled after the first click - tripple-clicking
results in 3 dialogs etc..


Reproducible: Always

Steps to Reproduce:
1. browse to a page with links to files not handled by FB, e.g. tar.gz
2. left click such a link
3. when the 'What should Mozilla Firebird do..." dialog opens, make sure 'Save
to disk' is selected, then double-click OK.


Actual Results:  
Two file chooser dialogs open.

Expected Results:  
Opened a single file chooser dialog - the second click should be ignored or the
button disabled after recieving one click. Also, the second dialog opening seems
to break the first; neither can now be used to save the file and the whole
process must be started again.

Workaround:
avoid double-clicking the OK button in that dialog! ;-)
I can confirm.

Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.5) Gecko/20040112 Firebird/0.7
Reporter : can you try please with firefox 0.8 ?

Thanks a lot :)
(In reply to comment #2)
> Reporter : can you try please with firefox 0.8 ?
> 
> Thanks a lot :)

Hi there, just tried this in firefox 0.8, Linux and Windows. Now works great -
dialog closes immediately after 1st click, with no opportunity to click again.
Fixed!
Status: UNCONFIRMED → RESOLVED
Closed: 21 years ago
Resolution: --- → FIXED
Product: Firefox → Toolkit
You need to log in before you can comment on or make changes to this bug.