After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 339374 - PDF's labeled as text/plain not detected correctly
PDF's labeled as text/plain not detected correctly
Status: RESOLVED NOTGNOME
Product: gnome-vfs
Classification: Deprecated
Component: MIME data
unspecified
Other other
: Normal normal
: ---
Assigned To: gnome-vfs maintainers
gnome-vfs maintainers
: 340693 342818 342853 342919 (view as bug list)
Depends on:
Blocks:
 
 
Reported: 2006-04-22 04:32 UTC by bbfk
Modified: 2006-11-01 01:40 UTC
See Also:
GNOME target: ---
GNOME version: 2.13/2.14



Description bbfk 2006-04-22 04:32:40 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.

Comment 1 Sergej Kotliar 2006-04-23 11:51:17 UTC
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...
Comment 2 Sebastien Bacher 2006-04-23 12:25:44 UTC
That's a shared-mime-info issue: https://bugs.freedesktop.org/show_bug.cgi?id=6577
Comment 3 bbfk 2006-04-23 16:01:34 UTC
(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.
Comment 4 Allison Karlitskaya (desrt) 2006-05-09 23:50:58 UTC
*** Bug 340693 has been marked as a duplicate of this bug. ***
Comment 5 Sebastien Bacher 2006-05-25 08:58:45 UTC
*** Bug 342818 has been marked as a duplicate of this bug. ***
Comment 6 Sergej Kotliar 2006-05-25 10:00:37 UTC
*** Bug 342853 has been marked as a duplicate of this bug. ***
Comment 7 Sam Morris 2006-05-25 13:49:35 UTC
*** Bug 342919 has been marked as a duplicate of this bug. ***