Bug 553852 - content-type detection broken in GNOME 2.24
content-type detection broken in GNOME 2.24
Status: RESOLVED NOTABUG
Product: glib
Classification: Platform
Component: gio
2.18.x
Other Linux
: Normal normal
: ---
Assigned To: gtkdev
gtkdev
:
Depends on:
Blocks:
  Show dependency tree
 
Reported: 2008-09-25 22:16 UTC by Sebastien Bacher
Modified: 2008-09-26 09:17 UTC (History)
1 user (show)

See Also:
GNOME target: ---
GNOME version: 2.23/2.24


Attachments

Description Sebastien Bacher 2008-09-25 22:16:41 UTC
using glib 2.18.1 the content type detection is broken

* take an image and rename it image.txt, gvfs-info will list a text content-type
* take a text file and rename it as image.jpg similar issue
* etc

nautilus doesn't list the right mimetype for those either
Comment 1 Matthias Clasen 2008-09-26 04:31:49 UTC
We only sniff if the name-based results are ambiguous. 
This is nothing new, and is by design.
Comment 2 Sebastien Bacher 2008-09-26 06:22:08 UTC
that's new in gvfs and breaks the nautilus warnings about the real mimetype not corresponding to file for example, nautilus uses to adjust the icon when selecting something which it doesn't do now
Comment 3 Sebastien Bacher 2008-09-26 09:17:31 UTC
ok, I discussed it with alex too, closing since that's not a bug

Note You need to log in before you can comment on or make changes to this bug.