← Back to team overview

registry team mailing list archive

[Bug 285831] Re: icon for ms-word file *.doc is "?" instead of ooo-word

 

Launchpad has imported 4 comments from the remote bug at
http://bugs.freedesktop.org/show_bug.cgi?id=18072.

If you reply to an imported comment from within Launchpad, your comment
will be sent to the remote bug automatically. Read more about
Launchpad's inter-bugtracker facilities at
https://help.launchpad.net/InterBugTracking.

------------------------------------------------------------------------
On 2008-10-15T05:52:54+00:00 Stanislav Brabec wrote:

Bug 16495 introduced MIME type application/x-msi.

But in shared-mime-info-0.51, application/x-msi also includes generic
OLE magic, which is even longer that generic OLE match included to
application/x-ole-storage, but which is still not MSI specific and
matches for many Microsoft Word documents.

That is why I propose to remove this magic. See bug 16495 comment 9 for
patch.

Alternative solutions, which I cannot provide, because I have no
specifications:

- Create a real MSI specific match.

- Move this magic (or its longer substring) to application/x-ole-
storage.

Reply at: https://bugs.launchpad.net/shared-mime-
info/+bug/285831/comments/0

------------------------------------------------------------------------
On 2008-10-17T07:33:34+00:00 David Faure wrote:

Yes, this MSI magic is definitely wrong. I have a .dot file here (a
msword template), which matches this magic. So obviously it is not
specific to msi files.

Aren't msi files always called *.msi anyway? I don't think this magic is
really necessary - especially if it matches non-msi files.

Reply at: https://bugs.launchpad.net/shared-mime-
info/+bug/285831/comments/1

------------------------------------------------------------------------
On 2008-10-17T07:54:00+00:00 David Faure wrote:

The test suite in fdo shows the issue, btw:
test-template.dot, 'data' test: expected application/msword-template, got application/x-msi (expected failure)                                                                               
test-template.dot, 'file' test: expected application/msword-template, got application/x-msi

Reply at: https://bugs.launchpad.net/shared-mime-
info/+bug/285831/comments/2

------------------------------------------------------------------------
On 2009-01-05T10:02:32+00:00 David Faure wrote:

Fixed today. Fix will be in the next release (current release is still
0.51).

/cvs/mime/shared-mime-info/ChangeLog,v  <--  ChangeLog
new revision: 1.512; previous revision: 1.511
/cvs/mime/shared-mime-info/freedesktop.org.xml.in,v  <--  freedesktop.org.xml.in
new revision: 1.390; previous revision: 1.389
/cvs/mime/shared-mime-info/tests/list,v  <--  tests/list
new revision: 1.63; previous revision: 1.62

This makes ole-storage magic work again, which triggers bug 18109 in the
xdgmime code, but at least the spec is correct now for dot/doc/msi/ole-
storage.

Reply at: https://bugs.launchpad.net/shared-mime-
info/+bug/285831/comments/7


** Changed in: shared-mime-info
   Importance: Unknown => Medium

-- 
icon for ms-word file *.doc is "?" instead of ooo-word
https://bugs.launchpad.net/bugs/285831
You received this bug notification because you are a member of Registry
Administrators, which is the registrant for Fedora.