[Bug 25166] Multiple mime type handling registered for different file extensions

wine-bugs at winehq.org wine-bugs at winehq.org
Wed Nov 17 03:29:06 CST 2010


Damjan Jovanovic <damjan.jov at gmail.com> changed:

           What    |Removed                     |Added
           Keywords|                            |integration
             Status|UNCONFIRMED                 |NEW
                 CC|                            |damjan.jov at gmail.com
          Component|-unknown                    |programs
     Ever Confirmed|0                           |1
           Severity|normal                      |enhancement

--- Comment #3 from Damjan Jovanovic <damjan.jov at gmail.com> 2010-11-17 03:29:04 CST ---
Windows uses MIME types very little. Applications register with extensions, and
MIME types for those extensions are optional. On the freedesktop.org side of
things, applications register with MIME types. What Wine must do is scan the
list of file types, discover/invent a MIME type, then register applications
with the MIME types. Complicating matters is that a file can have multiple MIME
types, and an application can open multiple MIME types too. So a right-click
menu can easily list the same application multiple times, each time for a
different MIME type. It would maybe be a good idea to change the "Open with"
entries to "Microsoft Office PowerPoint (like a .ppt file)", "Microsoft Office
PowerPoint (like a .txt file)", etc. so it's clearer what happens. There is no
way to de-duplicate these, because we can't predict what different MIME types
an arbitrary file will have.

Messing with prefixes is unlikely to duplicate MIME handler entries since they
all go to ~/.local/share/applications where they'd overwrite each other instead
of duplicating. If you disagree attach your ~/.local/share/applications.

Adding icons to the "Open with" menu is a good idea. I'll investigate when I
have time.

Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email
Do not reply to this email, post in Bugzilla using the
above URL to reply.
------- You are receiving this mail because: -------
You are watching all bug changes.

More information about the wine-bugs mailing list