Download behavior in Camino 2.1.2

Talk about the native Mac OS X browser.

Moderator: Camino Developers

Post Reply
goody2
Posts: 5
Joined: April 13th, 2011, 6:11 pm

Download behavior in Camino 2.1.2

Post by goody2 »

Until version 2.1.2, when I was on a website and clicked on a link to a downloadable file, the file would be downloaded. In version 2.1.2, the link opens as the URL of a new tab and it will usually download if I then use a Save command. This is a PITA even when it works and sometimes it doesn't.

I switched back to 2.0.7 and the problem went away. I am running MacOS 10.4 on a PowerMacG5.

Is this how 2.1.2 is supposed to behave? If not, what is the solution? BTW, it happens with RP Mozely's optimized build for G5 as well as with the "official" build.

Herb Goodfriend
User avatar
RPMozley
Posts: 502
Joined: August 12th, 2006, 4:47 pm
Location: Gloucestershire, United Kingdom
Contact:

Re: Download behavior in Camino 2.1.2

Post by RPMozley »

Well, if you know the link is to a download before clicking on it, you can option-click the link to save the file. Obviously this doesn't really solve your issue but it might help in getting around it.
My build thread - Camino Builds - http://www.rpm-mozilla.org.uk
MacBook 13" 2.4GHz: OSX 10.6.8
iBook G3 Indigo 366MHz, PowerBook G3 333MHz: OSX 10.3.9
User avatar
cflawson
Posts: 4721
Joined: December 26th, 2004, 2:54 pm
Location: Flying over your house in a red, white, and blue jet
Contact:

Re: Download behavior in Camino 2.1.2

Post by cflawson »

Nothing changed in the download code between 2.1.1 and 2.1.2 (or between 2.0 and 2.1.2, for that matter) that would cause that behaviour. Can you give a specific example of a site where that's happening?

cl
goody2
Posts: 5
Joined: April 13th, 2011, 6:11 pm

Re: Download behavior in Camino 2.1.2

Post by goody2 »

One such page is the New Jersey Transit website from which I download train and bus schedules. Their homepage is <http://www.njtransit.com> and one page with links to downloadable schedules is <http://www.njtransit.com/sf/sf_servlet.srv?hdnPageAction=LightRailTo>.
User avatar
cflawson
Posts: 4721
Joined: December 26th, 2004, 2:54 pm
Location: Flying over your house in a red, white, and blue jet
Contact:

Re: Download behavior in Camino 2.1.2

Post by cflawson »

goody2 wrote:One such page is the New Jersey Transit website from which I download train and bus schedules. Their homepage is http://www.njtransit.com and one page with links to downloadable schedules is http://www.njtransit.com/sf/sf_servlet.srv?hdnPageAction=LightRailTo.


I'm assuming you meant the three links under "Current PDF Schedules" on the latter page. Most of the time I've seen "downloads" opening in a browser window, it was a misconfigured server that can't possibly be Camino's fault, but I definitely don't see anything odd in the HTTP headers for the PDFs on that site. All three are being served as application/pdf as they should be.

Do you by any chance have any PDF-handling plugin installed (i.e., SchubertIT's PDF Browser Plugin)? If you do, a PDF file *should* open in the browser unless the server is doing something weird.

If you have a different PDF plugin installed, or you have a version of the PDF Browser Plugin newer than 2.3.2, I'm not at all surprised you're having issues. If you don't want to view PDFs in the browser, you should uninstall any PDF plugins you might have and re-launch Camino.

If you have *no* PDF plugin installed, what, exactly, does the new tab that opens look like? Does it have content in it, or is it blank? If it's blank, does anything show up in your Downloads window in Camino? Does the problem happen with anything *other* than PDF links? (If so, please provide an example.)

cl
phiw13
Posts: 2777
Joined: November 7th, 2002, 1:00 am
Location: Japan
Contact:

Re: Download behavior in Camino 2.1.2

Post by phiw13 »

goody2 wrote:<http://www.njtransit.com/sf/sf_servlet.srv?hdnPageAction=LightRailTo>.

The PDF links on that page have 'target=_blank' appended, that means, in a default configuration of Camino they open in a new window or tab. The resulting page should be blank though, and the PDF file downloaded to your downloads folder, unless, as cl notes, you have installed a plugin that allows display of PDF files in the browser.
goody2
Posts: 5
Joined: April 13th, 2011, 6:11 pm

Re: Download behavior in Camino 2.1.2

Post by goody2 »

First, thanks for the feedback and suggestions.

I do not have any PDF-related plug-ins installed.

In regard to the page (New Jersey Transit light rail schedules) given as an example, phlw13 wrote:
"The PDF links on that page have 'target=_blank' appended, that means, in a default configuration of Camino they open in a new window or tab. The resulting page should be blank though, and the PDF file downloaded to your downloads folder, unless, as cl notes, you have installed a plugin that allows display of PDF files in the browser."

When I use Camino versions up to 2.0.7, the behavior described is exactly what happens. When using Camino 2.1.2, the new blank window (tab) opened showing the URL of the linked file, but the file did not download until I hit Command-S.
Post Reply