User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; it; rv:188.8.131.52) Gecko/20070914 Firefox/184.108.40.206 Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.0; it; rv:220.127.116.11) Gecko/20070914 Firefox/18.104.22.168 It would be nice if it were an option to make Firefox close the opened tab/window when you start it from the shell on a file which is not handled directly, like Internet Explorer does. Reproducible: Always Steps to Reproduce: 1. suppose you don't have any particular plugin to handle .wav files in Firefox 2. suppose you have a file called Popeye.wav in che current directory 3. on a command prompt, type: <install-dir>\Firefox2\firefox Popeye.wav Actual Results: A new Firefox blank window is opened. Firefox asks to open or save the requested file. Whichever is your choice, the blank window stays open. Expected Results: If it were an option like "close blank window when opening Firefox on an external file from the shell", I could check it so that, in the described scenario, while opening the "Open/Save as" dialog, the blank useless Firefox window would be closed. Internet Explorer works in this way. The reported example could not be so meaningful, but there can be other more interesting scenarios. For instance, suppose you have a Sun JRE installed and you have properly configured Firefox to open .jnlp files with Java Web Start. Moreover, suppose Firefox is your system default browser. If you start Firefox on a .jnlp file, from the shell, a useless blank window stays open while Java Web Start starts the Java app: it would be nice if that window could be closed automatically. We have a web application with some client applications delivered using Java Web Start, and each one can launch URLs to other .jnlp files to open other client applications (we must pass through the server because of the need to get some configuration/authentication information from it): if Firefox is the system default browser, we have this annoying side effect of the blank windows remaining open.
I wonder why the fix for bug 241972 didn't take care of this case. Is it because your window is created from the command line? Note that trying to close the window wouldn't be the best thing in this case on Windows, because it would result in a dialog giving you a choice between "Don't quit" and "Cancel download". On Mac, it would be fine ;)
True, the "closing the window might prompt to cancel downloads" concern only applies if you don't have other Firefox windows open when you do this.
This bug was originally reported on Firefox 2.x or older, which is no longer supported and will not be receiving any more updates. I strongly suggest that you update to Firefox 3.6.8 or later, update your plugins (flash, adobe, etc.), and retest in a new profile. If you still see the issue with the updated Firefox, please post here. Otherwise, please close as RESOLVED > WORKSFORME http://www.mozilla.com http://support.mozilla.com/kb/Managing+profiles http://support.mozilla.com/kb/Safe+mode
Whiteboard: [CLOSEME 2010-09-15]
I can still reproduce with Firefox 3.6.8.
Whiteboard: [CLOSEME 2010-09-15]
Version: 2.0 Branch → 3.6 Branch
Shell integration just registers file handlers, etc. - it doesn't determine whether or not a particular file can be handled which is closer to the file handling code so moving over there
Component: Shell Integration → File Handling
QA Contact: shell.integration → file.handling
Mauro, do you still reproduce this issue?
I'm leaving for vacation tomorrow. I will be able to check if I can still reproduce when I'll be back (around August 19th). Please note I'm using Firefox ESR (17.0.7 right now), so I hope the test will be significant for you even if I'm not using the very latest Firefox version.
Here I am. I can still reproduce on Firefox 17.0.8.
I could replicate the issue in FF24. I'd agree that it would be nice if FF would automatically close the blank tab provided there were multiple tabs open.
Status: UNCONFIRMED → NEW
Ever confirmed: true
You need to log in before you can comment on or make changes to this bug.