Opening Dialog Box for PDF

Users and developers helping users with technical Pale Moon issues (Windows and other non-Linux O.S.). Please direct questions about the Linux version to the appropriate Linux board.

Moderators: trava90, satrow

Forum rules
This board is for technical/usage questions and troubleshooting for the Pale Moon browser only. The main focus here is on Pale Moon on Windows. Please direct your questions for Linux, Android and Mac to the dedicated boards.
Technical issues and questions not related to the Pale Moon browser should be posted in "technical chat"
Please keep off-topic and general discussion out of this board, thank you!
Condoman
Hobby Astronomer
Hobby Astronomer
Posts: 24
Joined: Wed, 14 Aug 2013, 20:11
Location: CT

Opening Dialog Box for PDF

Unread postby Condoman » Wed, 19 Dec 2018, 16:22

I am curious with an issue I have had for some time.

When a PDF file is being viewed in a web site and that site shows the PDF in a viewer it provides an option to download the file. The Opening dialog box appears and you can choose to open the PDF with your local application or to save the file. Note that I do not have the PDF add-on installed. If I choose to open with the Adobe DC reader it works fine and I can save or discard from Adobe app. If I choose to save the file it gets saved in my downloads folder without the PDF extension.

If PM knew it was a PDF and gave me the option to open in an app or save it the name must be correct on the site. Why is the extension being dropped?

vannilla
Lunatic
Lunatic
Posts: 346
Joined: Sat, 05 May 2018, 13:29

Re: Opening Dialog Box for PDF

Unread postby vannilla » Wed, 19 Dec 2018, 17:57

There might be a problem with the extension itself.
If you mean you have a plugin installed, there's also the chance the website doesn't provide the informations the plugin is looking for.

User avatar
loxodont
Lunatic
Lunatic
Posts: 466
Joined: Sat, 26 Jul 2014, 23:03
Location: Mare Serenitatis

Re: Opening Dialog Box for PDF

Unread postby loxodont » Wed, 19 Dec 2018, 18:32

My guess is there's something wrong with the *.pdf file itself or it's link is modificated somehow, (edit*perhaps by the viewer embedded on that site*), so Pale Moon does not see it's a PDF file. Around 99% PDF files I save/dl do save with the proper *.pdf extender. If you (can) hover the mouse over the file download link, before starting the download, the link shown in the Status Bar should display the full filename in most cases.
If you check "Open with" in Pale Moon's dialog box and select a clear target app like Adobe Reader, it will most likely open that file even without extender. PDFXchange does that, no matter if Pale Moon does not see the file type.
Last edited by loxodont on Wed, 19 Dec 2018, 18:38, edited 1 time in total.

Condoman
Hobby Astronomer
Hobby Astronomer
Posts: 24
Joined: Wed, 14 Aug 2013, 20:11
Location: CT

Re: Opening Dialog Box for PDF

Unread postby Condoman » Wed, 19 Dec 2018, 19:38

This is a PDF I created.

I should have added that the file is on a website that is under Wix. I was trying to keep the question somewhat generic but now know I cannot.

What I did not realize is that Adobe reader will try to open the file even if it does not have an extension if presented with the file. I just tried that by creating a .bat file with the launch of the Adobe reader followed by a PDF with no file extension and it opened fine.

I guess my question is that PM has no control over this and that is OK. Thanks

illiad
Fanatic
Fanatic
Posts: 139
Joined: Sun, 15 May 2016, 13:04

Re: Opening Dialog Box for PDF

Unread postby illiad » Thu, 27 Dec 2018, 09:55

Just a simple question (do tell me if you have good knowledge of windows! :) )

right click that PDF, and select 'properties' to check what it says...
VM 150Mbs in london england :coffee: on Intel Core I7 3GHz on Gigabyte X58a.
PM 28.4.0(64bit) on win7(64bit) sp1, modded to run and update despite no access to 'program file' folder on active directory domain:ugeek:
Update! changed up to Samsung GS8 (wow! :thumbup: , software buttons, etc) MANY MANY tanks to Tesco for being fantastically helpful and understanding! :clap: :angel:

Condoman
Hobby Astronomer
Hobby Astronomer
Posts: 24
Joined: Wed, 14 Aug 2013, 20:11
Location: CT

Re: Opening Dialog Box for PDF

Unread postby Condoman » Thu, 27 Dec 2018, 14:14

Only fair, I have been programming and supporting programmers since 1980.

If you take a PDF & remove the extension Windows knows its a file, that is about all. You can open it with Adobe however.

The Wix web site knows it is a PDF & you can see the extension. When it is downloaded the extension is missing. I needed to be sure PM was not doing anything with the file name before I complained to Wix.

User avatar
therube
Keeps coming back
Keeps coming back
Posts: 867
Joined: Fri, 08 Jun 2018, 17:02

Re: Opening Dialog Box for PDF

Unread postby therube » Fri, 28 Dec 2018, 00:12

Are you sure it's not a MIME Types issue?

Can you provide a link to the page/file in question?

Condoman
Hobby Astronomer
Hobby Astronomer
Posts: 24
Joined: Wed, 14 Aug 2013, 20:11
Location: CT

Re: Opening Dialog Box for PDF

Unread postby Condoman » Mon, 31 Dec 2018, 19:06

Here is a link to the page in question: https://firstselectman.wixsite.com/website-8/latest-twib.

On the toolbar 3rd icon from right is download. Try it and see if you get a file without an extension as I do. In the "Opening" dialog box it is shown to be a PDF but gets no extension when downloaded.

Let me know what you get.

Frasier
Fanatic
Fanatic
Posts: 186
Joined: Wed, 07 May 2014, 02:44
Location: Indiana

Re: Opening Dialog Box for PDF

Unread postby Frasier » Tue, 01 Jan 2019, 09:48

Following those directions, the file that downloads for me is named: TWIB-12-18.pdf

Condoman
Hobby Astronomer
Hobby Astronomer
Posts: 24
Joined: Wed, 14 Aug 2013, 20:11
Location: CT

Re: Opening Dialog Box for PDF

Unread postby Condoman » Wed, 02 Jan 2019, 16:49

Great. I don't mind the problem if it is only me.

Any idea what could cause the difference on my machine?

User avatar
gepus
Fanatic
Fanatic
Posts: 248
Joined: Thu, 14 Dec 2017, 12:59

Re: Opening Dialog Box for PDF

Unread postby gepus » Wed, 02 Jan 2019, 17:26

Frasier wrote:Following those directions, the file that downloads for me is named: TWIB-12-18.pdf

Confirmed. The downloaded file has the .pdf extension.

User avatar
gepus
Fanatic
Fanatic
Posts: 248
Joined: Thu, 14 Dec 2017, 12:59

Re: Opening Dialog Box for PDF

Unread postby gepus » Wed, 02 Jan 2019, 17:31

Condoman wrote:If you take a PDF & remove the extension Windows knows its a file, that is about all. You can open it with Adobe however.

I have no Adobe installed (never had) but your above statement is somehow strange.
Since the OS doesn't know the file type it also can't forward the file to the right program. To get opened by Adobe the latter would have to scan permanently your HD for every file and check the header of all files, something I doubt that it does.

Frasier
Fanatic
Fanatic
Posts: 186
Joined: Wed, 07 May 2014, 02:44
Location: Indiana

Re: Opening Dialog Box for PDF

Unread postby Frasier » Wed, 02 Jan 2019, 18:47

Have you tried this yet?
illiad wrote:right click that PDF, and select 'properties' to check what it says...
Should see something like this:
TWIB_Prop.jpg

User avatar
gepus
Fanatic
Fanatic
Posts: 248
Joined: Thu, 14 Dec 2017, 12:59

Re: Opening Dialog Box for PDF

Unread postby gepus » Wed, 02 Jan 2019, 19:11

@ Frasier

Is your above post addressed to me?

Frasier
Fanatic
Fanatic
Posts: 186
Joined: Wed, 07 May 2014, 02:44
Location: Indiana

Re: Opening Dialog Box for PDF

Unread postby Frasier » Wed, 02 Jan 2019, 19:16

No, sorry. It was for Condoman.

Condoman
Hobby Astronomer
Hobby Astronomer
Posts: 24
Joined: Wed, 14 Aug 2013, 20:11
Location: CT

Re: Opening Dialog Box for PDF

Unread postby Condoman » Wed, 02 Jan 2019, 20:21

I used the URL from above to access the PDF. The Opening dialog box looks like this:
Capture1.JPG


After I downloaded the file the proprieties look like this:
Capture2.JPG


The other option in the Opening dialog box is to open with Adobe. I did not know Adobe would open a file without the PDF extension but it can based on this command test: "C:\Program Files (x86)\Adobe\Acrobat Reader DC\Reader\AcroRd32.exe" "E:\DownloadedFiles\TWIB 12-21-18". While this is interesting to me I still have no clue why the extension does not show up for me.

Frasier
Fanatic
Fanatic
Posts: 186
Joined: Wed, 07 May 2014, 02:44
Location: Indiana

Re: Opening Dialog Box for PDF

Unread postby Frasier » Wed, 02 Jan 2019, 20:34

When you click 'OK' to save the file do you get a save dialogue window?
Save_TWIB_diag.png

User avatar
gepus
Fanatic
Fanatic
Posts: 248
Joined: Thu, 14 Dec 2017, 12:59

Re: Opening Dialog Box for PDF

Unread postby gepus » Wed, 02 Jan 2019, 20:49

- The file on the server has the correct extension.
- Your browser is reading the extension and is asking you what to do with the file (to open it with the dedicated program or to save it).
- Once you choose to save the file, for whatever reason, the extension gets lost. Something at your end (sorry, no idea what) is messing things up.
Attachments
pdf.png

Condoman
Hobby Astronomer
Hobby Astronomer
Posts: 24
Joined: Wed, 14 Aug 2013, 20:11
Location: CT

Re: Opening Dialog Box for PDF

Unread postby Condoman » Wed, 02 Jan 2019, 21:27

Frasier: I do not see another save dialog. The file is just saved without an extension. Same result in FireFox.

coffeebreak
Board Warrior
Board Warrior
Posts: 1587
Joined: Sat, 26 Sep 2015, 04:51
Location: U.S.

Re: Opening Dialog Box for PDF

Unread postby coffeebreak » Wed, 02 Jan 2019, 22:16

Condoman wrote:I do not see another save dialog. The file is just saved without an extension. Same result in FireFox.

I see different behavior with different downloads settings.
(both downloads initiated with direct left click.)

When downloads are set to "Always ask me where to save files", there is the 2nd, "save-as" window and the file is saved with .pdf extension.

But if downloads are set to go to a predetermined folder ("Save files to"; browser.download.useDownloadDir = true), the file downloads instantaneously and with no extension.
Last edited by coffeebreak on Wed, 02 Jan 2019, 22:33, edited 1 time in total.


Return to “General support”

Who is online

Users browsing this forum: AhrefsBot [Crawler] and 5 guests