I have a .pdf file of my CV and since I don't have any programs that are made for reading/editing PDFs, I set it so that .pdf files open with Chrome by default. Now, when I go to the Properties section of such a .pdf file, it says
Type of file: Chrome HTML Document (.pdf)
Opens with: Google Chrome.
And, as expected, the file opens in Chrome's PDF viewer.
However, when I went to upload my .pdf of my CV to a website, my application would not be completed. The field to which I uploaded the .pdf reads
Allowed file types: .pdf, .doc, .docx.
I then installed the program TeXworks, a TeX frontend, and chose that .pdf files open with it instead by default. Now, the Properties section of the file read
Type of file: PDF File (.pdf)
Opens with: TeXworks.
After trying again, my application was submitted.
My question is: why did changing what program opened the .pdf file change the "type of file"? Shouldn't the "file type" be the same regardless of the program, since the filename extension is always ".pdf"? It appears that simply choosing to open PDFs using Chrome's PDF viewer by default has changed the file in a way, since I couldn't upload it to that website, even though the filename extension was still .pdf. I guess my question could be summed up as: what exactly is the "type of file"? Since it doesn't appear to be the same as the filename extension.