User-Agent: Mozilla/5.0 (X11; U; NetBSD i386; en-US; rv:184.108.40.206) Gecko/20060416 Firefox/220.127.116.11
Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:18.104.22.168) Gecko/20080404 Firefox/22.214.171.124
After selecting a link to download the text of a PDB (.pdb) file from the PDB website and saving the file to disk (without choosing to make this the default behavior), Firefox changes its behavior for handling locally-opened PDB files such that it now gives the "how would you like to handle this kind of file" dialog rather than invoking the MDL Chime plug-in as it used to.
Steps to Reproduce:
Step 1: install the popular MDL Chime plug-in that the biochemistry community uses like all the time...
After attempting to download a PDB file from the PDB website (http://pdb.org/), the MDL Chime plug-in which was previously associated with viewing .pdb files is
no longer invoked to display local .pdb files. An example of such a download URL:
On selecting this URL as a link the user is prompted to (defaulted option) "open with Internet Explorer (default)", or (not selected) "save to disk". After saving to disk, further Firefox handling of this kind of file changes, even though the "automatically perform" checkbox was not selected. (The file was successfully saved to disk, if it matters.)
Accessing a .pdb _URL_ still results in invocation of the plug-in and successful display. Good.
Accessing a local file is now different, however. Either invoking Firefox and the MDL Chime plug-in via Windows Explorer association or opening the file via the Firefox File->Open File option results in a dialog asking how to handle the file. This dialog now has "open with Internet Explorer (default)" not selected, and "save to disk" as the default. But disk is where I got the file, and opening with IE, I think, really means use Windows's file association, which for .pdb files is Firefox, so that up pops another Firefox tab and yet another one of these dialogs. Thus broken.
File handling for PDB (.pdb) files changed.
Not change handling.
E3Joking aside, I imagine there's a substantial userbase out there with MDL Chime and I'd love for them all to be able to use Firefox. I'm surprised I couldn'
t find a report for this bug. It's been around for If it's too much hassle to download the plug-in for testing (which I'm not sure is necessary to fix this bug
), email me please.
Here's what the server was sending for the download link:
HTTP/1.1 200 OK
Set-Cookie: JSESSIONID=C01444B92F4A543E012F5A3DE5411E53; Path=/pdb
Content-Disposition: attachment; filename=1A0Z.pdb
Date: Mon, 12 May 2008 23:00:41 GMT
And here are my Windows associations for this file and type, if it's relevant at all:
pdbFile="C:\Program Files\Internet Explorer\Iexplore.exe" %1
I don't know why it says Iexplore.exe here, as executing a .pdb from command shell or Explorer still invokes Firefox.
My text is a wee mangled because I had to recover it from a core, sorry.
I didn't complete saying this: The bug has been around since at least May of last year. I'm surprised I didn't find a report.
I suspect chime does not register to handle this mime type. The server needs to deliver a mime type chime understands. You can see the types chime handles in about:plugins
It is my understanding that the server is using a type to enable the browser to _save the file locally_. The aforementioned URL is used when a user is interested in "Download Files - PDB text". Here is the referrring page, to give some context for the aforementioned URL:
I imagine the Chime plug-in should not actually attempt to handle this type since the objective is to save the file locally. Perhaps pdb.org should be using a different type -- is there a canonical "browser should save this to disk" type for file downloads?
After the user receives the download and opts to save it, local handling of .pdb files breaks.
More info, if it matters: This bug was known to users in mid-2006:
I think I started personally experiencing it on Jan. 28, 2007. Maybe with my installation of 1.5.
The page has one link that delivers it as application/download and one that delivers as text/plain. Both are not something chime understands. See
I am not being clear enough. Please allow me to state the issue more simply:
breaks LOCAL viewing.
OK. You might try a FF3 build to see if the problem has been fixed since 2.0:
3.0rc1 appears not to have the bug.
Wait... rc1? Is 3 really that close? Sweet.
This bug was reported using Firefox 3.0 or older, which is no longer supported. The bug has also not been changed in over 500 days and is still in UNCO.
Reporter, please retest this bug in Firefox 3.6.10 or later using a fresh profile, http://support.mozilla.com/en-US/kb/managing+profiles. If you still see this problem, please update the bug. If you no longer see the bug, please set the resolution to RESOLVED, WORKSFORME.
This is a mass search of unconfirmed bugs that have no activity on them, so if you feel a bug was marked in error, just remove the CLOSEME comment in the whiteboard within the next month.
No reply, INCOMPLETE. Please retest with Firefox 3.6.12 or later and a new profile (http://support.mozilla.com/kb/Managing+profiles). If you continue to see this issue with the newest firefox and a new profile, then please comment on this bug.