Comment 29 for bug 873470

Revision history for this message
In , Bugzilla-x (bugzilla-x) wrote :

(In reply to comment #5)
> (In reply to comment #4)
> > What other mime-types have that problem?
>
> None, just like the .odp mime has no problem either.

It very obviously does otherwise we wouldn't have this bug report.

> > I can't see any, so it's not that bad a solution.
>
> The solution is bad because the zip inheritance is perfectly fine from a
> shared-mime-info point of view (it represents mime types, after all).

Even if it's technically correct, we currently have 2 uses for sub-class-of, either it's a functional sub-class (video/mp4 is a sub-class of video/quicktime, so an app that handles quicktime should handle mp4), or it's a detection sub-class (like in the case of XML and ZIP file based file types).

> If the problem is not letting a specific user-level file archiver application
> see openoffice documents as zip, then let's find an application-level solution
> for this (and any other potentially similar case in which you want to handle a
> mimetype but not some mimes inheriting from it, for any reason you want).
> I personally don't think there's nothing wrong in having some file archiver
> opening any kind of zip files, if the user wants to.

I don't think it's wrong either, and you can still do that by renaming the file to .zip and opening it.