Christopher Yeleighton changed bug 1076907
What Removed Added
Flags needinfo?(giecrilj@stegny.2a.pl)  

Comment # 3 on bug 1076907 from
(In reply to Wolfgang Rosenauer from comment #2)
> Not sure what your expectation is but firefox.desktop contains:
> MimeType=text/html;text/xml;application/xhtml+xml;application/vnd.mozilla.
> xul+xml;text/mml;application/x-xpinstall;x-scheme-handler/http;x-scheme-
> handler/https;x-scheme-handler/ftp;
> 
> So I guess that is fine?

No, it does not contain image/jpeg, and the types do not register in the
package manager.

> 
> So can you please explain what real issue you are refering to?

Use case: I get a message (in Evolution) containing an image attachment. 
Evolution cannot open the attachment (it is a stripped down system).  I know
Firefox can open the image but Evolution does not know it.

So I asked: { zypper se --provides 'mimehandler(image/jpeg)'; } and it did
*not* return Firefox.  Quite disconcerting, given I have Firefox installed and
I would be happy to use it for opening images.  Note that Microsoft Windows
knew that Microsoft Internet Explorer could display images since the beginning
of time.  So I check the registrations that you did provide and none worked,
not even text/html.

So I added image/jpeg the firefox desktop file and saved it in .local. 
Evolution still cannot open the attachment.  It started working only after {
update-desktop-database .local/share/applications/; }

As a side note, the fact that update-desktop-database does not automatically
switch to .local when run as without escalated privileges is a bug in
desktop-file-utils.


You are receiving this mail because: