GNOME Bugzilla – Bug 339374
PDF's labeled as text/plain not detected correctly
Last modified: 2006-11-01 01:40:33 UTC
From: Bernhard Kleine <bbfk@gmx.net> To: submit@bugs.gnome.org X-Mailer: bug-buddy 2.14.0 Subject: pdf file as text/plain Distribution: Debian testing/unstable Package: gnome-vfs Severity: Normal Version: GNOME2.14.0 unspecified Gnome-Distributor: Debian Synopsis: pdf file as text/plain Bugzilla-Product: gnome-vfs Bugzilla-Component: Default Bugzilla-Version: unspecified Description: Description of Problem: Some (not all) pdf-files on my system are declared text/plain. This is suspicious since the files in question are produced by pdflatex resp pdfetex, they have as their first line a %PDF-1.4, but are displayed by Nautilus as text/plain using the icons menu. I have mime-types application/pdf but I am lost to distinguish the differences between pdf-Files "mimed" as text/plain and those as application/pdf. Steps to reproduce the problem: 1. compile a tex file using pdfoutput 2. 3. Actual Results: the pdf-file is of mime-type text/plain Expected Results: it should be mime-type application/pdf How often does this happen? With some files always. Additional Information: -- Bernhard Kleine mail bbfk@gmx.net linux-user Nr. 411598 **************************************** PGP-Key PGP-Fingerprint: 0x6C1D9C2A 3161 A9E2 B661 A242 D9AF 61BF C842 4D18 6C1D 9C2A **************************************** ------- Bug created by bug-buddy at 2006-04-22 04:32 ------- Bugreport had an attachment. This cannot be imported to Bugzilla. Contact bugmaster@gnome.org if you are willing to write a patch for this.
Retitling and moving to the right component. Please make sure you file things at the right place next time! Also - this could very well be a bug with your PDF generating app... I'll let the gnome-vfs people answer that though...
That's a shared-mime-info issue: https://bugs.freedesktop.org/show_bug.cgi?id=6577
(In reply to comment #1) > Retitling and moving to the right component. Please make sure you file things > at the right place next time! > Also - this could very well be a bug with your PDF generating app... I'll let > the gnome-vfs people answer that though... > This bug has some serious consequences: I noticed that a pdf-file errorneous identified as text/plain in a returned mail made the desktop unusable since evolution tried to format more than 12 MB pdf as text, used any memory and swap(!). I tried to file a bug against evolution. Not the proper place, I then noticed the wrong mime-type. Therefore, I filed a bugreport against gnome-mime-data, was told that that package is not used any further and asked where to file the bug: the answer was gnome-vfs plus freedesktop.org. That's the reason for filing a bug-report here. And it is for sure not related to pdflatex. Now that I know that bug has already been reported I hope that the fix will find his way into unstable soon.
*** Bug 340693 has been marked as a duplicate of this bug. ***
*** Bug 342818 has been marked as a duplicate of this bug. ***
*** Bug 342853 has been marked as a duplicate of this bug. ***
*** Bug 342919 has been marked as a duplicate of this bug. ***