Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 66195 - gnome-vfs doesn't link .doc with application and icon
Summary: gnome-vfs doesn't link .doc with application and icon
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] GNOME (show other bugs)
Hardware: x86 Linux
: High minor (vote)
Assignee: Gentoo Linux Gnome Desktop Team
Depends on:
Blocks: 66864 72798 73748 76809
  Show dependency tree
Reported: 2004-10-03 03:28 UTC by Didier Link
Modified: 2005-02-19 11:42 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---

files/shared-mime-info-0.14--text-plain.patch (shared-mime-info-0.14--text-plain.patch,7.23 KB, patch)
2005-01-15 19:17 UTC, TGL
Details | Diff
0.14-r1_to_0.14-r2.patch (0.14-r1_to_0.14-r2.patch,757 bytes, patch)
2005-01-15 19:18 UTC, TGL
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Didier Link 2004-10-03 03:28:18 UTC
When I open a directory containing *.doc files, no icon is associated (rtf, sxw, pdf, etc works) but the good mimetype is displayed in properties (application/ according to shared-mime-info database. But, no application is associated for nautilus and ooo is installed. For the application it's not a real problem, just associate oowriter with .doc but the icon is missing .
Maybe a problem of gnome-theme for the icon ?
And a problem with mimetypes parse associated with ooo ?

I post this bug here because I can't determine the good package for report ...

Reproducible: Always
Steps to Reproduce:
Comment 1 Didier Link 2004-10-03 03:32:51 UTC
Sorry, I miss the context :
shared-mime-info 0.15
Comment 2 Didier Link 2004-10-10 10:27:44 UTC
Same with the gnome-2.8.0 update. No icons and no applications associated with the good mime-type !!
Comment 3 foser (RETIRED) gentoo-dev 2004-10-10 13:42:27 UTC
this is probably due to changes in shared-mime-info .. can you test .14 ?
Comment 4 Didier Link 2004-10-10 14:15:55 UTC
share-mime-info-0.14-r1 associate the .doc files with the good icon but with the "application/msword" mime type, it's a change in shared-mime-info beetween the two versions.

This change doesn't appear in the NEWS of yhe .15 but it's a merge of the two old types for msword ... maybe choose the wrong alias for the icon display ?

Anyway, it's not a gentoo bug !

Comment 5 foser (RETIRED) gentoo-dev 2004-10-10 14:19:54 UTC
no it isn't, it's gnome-vfs not dealing with aliases at this point.
Comment 6 Didier Link 2004-10-10 14:29:05 UTC
I see the patch of .15 and it's "application/msword" that is moved for an alias of "application/vnd-ms-word" and is the main class.

I think that gnome-vfs known only the first for the moment ?

I mark the bug resolved and pass UPSTREAM.
Comment 7 foser (RETIRED) gentoo-dev 2004-10-10 14:30:12 UTC
don't upstream as long as it isn't upstream
Comment 8 Didier Link 2004-10-10 14:44:50 UTC
It is reported now in

Bug #155048

Comment 9 foser (RETIRED) gentoo-dev 2004-10-12 08:43:02 UTC
lanius, because of this 'bug' I'd like to mask .15 as long as we haven't found a proper solution.

We maybe also have to fix .14 for this issue then : 
Comment 10 foser (RETIRED) gentoo-dev 2004-10-12 15:26:09 UTC
s-m-i-0.15 masked for now
Comment 11 Heinrich Wendel (RETIRED) gentoo-dev 2004-10-23 15:26:56 UTC
the problem is, 0.14 does not work correctly as well, take a look at bug #142496
Comment 12 Heinrich Wendel (RETIRED) gentoo-dev 2004-10-23 15:28:38 UTC
sorry, i meant #142496 on
Comment 13 foser (RETIRED) gentoo-dev 2004-10-23 15:36:28 UTC
hmm yeah that was the link i meant to add in comment #9 .. it doesn't make much sense like it is now does it. But yeah, i made this decision, because i think this will hit way more ppl & is more urgent than the other bug.
Comment 14 foser (RETIRED) gentoo-dev 2004-11-29 14:57:25 UTC
i think we should patch 0.14 with the nautilus script fix that went in 0.15, if someone could look that up for us it would be appreciated.

I really don't see this problem fixed in stable gnome-vfs, so it looks like we're going to be stuck with 0.14 for a while.
Comment 15 TGL 2005-01-15 19:17:06 UTC
Created attachment 48613 [details, diff]

Here is a fix for the Nautilus scripts issue. It is a backport from 0.15 which
adds some "text/plain" sub-class declarations where applicable (shell scripts,

Note that this patch also touchs some filetypes that can't really be Nautilus
scripts, but i thought it was more coherent to do this change everywhere it can
apply. If you want a shorter version only for shell/perl/python/ruby/etc., just
ask, i will filter the chunks.
Comment 16 TGL 2005-01-15 19:18:13 UTC
Created attachment 48616 [details, diff]

And this is a trivial ebuild patch to apply the above fix.
Comment 17 foser (RETIRED) gentoo-dev 2005-01-16 11:10:02 UTC
added the patch (thnx tgl for looking it up actually) to shared-mime-info-0.14-r2, please test if it solves the problems.
Comment 18 Heinrich Wendel (RETIRED) gentoo-dev 2005-02-19 11:42:58 UTC
people please test the patch