[Bug 1076907] New: package MozillaFirefox does not provide mimehandler(text/html)
http://bugzilla.opensuse.org/show_bug.cgi?id=1076907 Bug ID: 1076907 Summary: package MozillaFirefox does not provide mimehandler(text/html) Classification: openSUSE Product: openSUSE Distribution Version: Leap 42.3 Hardware: x86-64 OS: openSUSE 42.3 Status: NEW Severity: Minor Priority: P5 - None Component: Firefox Assignee: bnc-team-mozilla@forge.provo.novell.com Reporter: giecrilj@stegny.2a.pl QA Contact: qa-bugs@suse.de Found By: --- Blocker: --- { let i=0 for package in konqueror MozillaFirefox do echo "$package provides:" zypper info --provides "$package" | grep -F 'mimehandler' || let 'i^=1' echo done let i && echo 'Test failed: only one package provides a media handler!' && false } -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1076907 http://bugzilla.opensuse.org/show_bug.cgi?id=1076907#c1 Christopher Yeleighton <giecrilj@stegny.2a.pl> changed: What |Removed |Added ---------------------------------------------------------------------------- Found By|--- |Community User --- Comment #1 from Christopher Yeleighton <giecrilj@stegny.2a.pl> --- { grep '^MimeType=' /usr/share/applications/firefox.desktop; } -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1076907 http://bugzilla.opensuse.org/show_bug.cgi?id=1076907#c2 Wolfgang Rosenauer <wolfgang@rosenauer.org> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |giecrilj@stegny.2a.pl, | |wolfgang@rosenauer.org Flags| |needinfo?(giecrilj@stegny.2 | |a.pl) --- Comment #2 from Wolfgang Rosenauer <wolfgang@rosenauer.org> --- 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? So can you please explain what real issue you are refering to? -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1076907 http://bugzilla.opensuse.org/show_bug.cgi?id=1076907#c3 Christopher Yeleighton <giecrilj@stegny.2a.pl> changed: What |Removed |Added ---------------------------------------------------------------------------- Flags|needinfo?(giecrilj@stegny.2 | |a.pl) | --- Comment #3 from Christopher Yeleighton <giecrilj@stegny.2a.pl> --- (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: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1076907 http://bugzilla.opensuse.org/show_bug.cgi?id=1076907#c4 --- Comment #4 from Christopher Yeleighton <giecrilj@stegny.2a.pl> ---
So can you please explain what real issue you are refering to?
MozillaFirefox.spec does *not* contain: Provides: mimehandler(text/html) etc. -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1076907 http://bugzilla.opensuse.org/show_bug.cgi?id=1076907#c5 --- Comment #5 from Wolfgang Rosenauer <wolfgang@rosenauer.org> --- I don't think that it is very useful to set Firefox as a mimehandler for image/jpeg. Even a stripped down system I would expect to have an image viewer which is more more lightweight than Firefox. Still what you are seeing why Firefox is not set as mimehandler for text/html. I cannot tell why or if zypper should pick up those provides from the desktop file but I'll investigate. So far mime-types are read from the desktop file and exactly should be registered via the desktop file utils. For that Firefox has the following in %post: %post # update mime and desktop database %mime_database_post %desktop_database_post %icon_theme_cache_post exit 0 As said I'll investigate what the expectation is about RPM provides but to my understanding Firefox provides everything and also calls out to update the databases. Why it's not working in your case might be an effect of something else? Looking at my /usr/share/applications/mimeinfo.cache everything looks fine. -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1076907 http://bugzilla.opensuse.org/show_bug.cgi?id=1076907#c6 Wolfgang Rosenauer <wolfgang@rosenauer.org> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |mls@suse.com Flags| |needinfo?(mls@suse.com) --- Comment #6 from Wolfgang Rosenauer <wolfgang@rosenauer.org> --- Firefox built on or for openSUSE Tumbleweed has the right provides: wolfgang@ox:~> rpm -q --provides MozillaFirefox | grep mimehandler mimehandler(application/vnd.mozilla.xul+xml) mimehandler(application/x-xpinstall) mimehandler(application/xhtml+xml) mimehandler(text/html) mimehandler(text/mml) mimehandler(text/xml) mimehandler(x-scheme-handler/ftp) mimehandler(x-scheme-handler/http) mimehandler(x-scheme-handler/https) Exactly the same package built for 42.3 does not. So I can only guess that is a bug in the 42.3 RPM ecosystem? -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1076907 http://bugzilla.opensuse.org/show_bug.cgi?id=1076907#c7 --- Comment #7 from Christopher Yeleighton <giecrilj@stegny.2a.pl> --- (In reply to Wolfgang Rosenauer from comment #5)
I don't think that it is very useful to set Firefox as a mimehandler for image/jpeg. Even a stripped down system I would expect to have an image viewer which is more more lightweight than Firefox.
Well, your expectation has turned out to be wrong. Besides, when the user’s main tool is Firefox, it is a useless distraction to open an image in another application. Of course, I never suggested it should be the default image viewer, except for the situation where no other viewer is available. -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1076907 http://bugzilla.opensuse.org/show_bug.cgi?id=1076907#c8 --- Comment #8 from Christopher Yeleighton <giecrilj@stegny.2a.pl> --- (In reply to Wolfgang Rosenauer from comment #6)
Exactly the same package built for 42.3 does not. So I can only guess that is a bug in the 42.3 RPM ecosystem?
I am afraid I am not the right person to be asked this question :-( -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1076907 Christopher Yeleighton <giecrilj@stegny.2a.pl> changed: What |Removed |Added ---------------------------------------------------------------------------- Blocks| |1084013 -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1076907 http://bugzilla.opensuse.org/show_bug.cgi?id=1076907#c23 Andreas Stieger <astieger@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |REOPENED CC| |astieger@suse.com Resolution|FIXED |--- --- Comment #23 from Andreas Stieger <astieger@suse.com> --- Small problem with the dependency generator change. The new build pulls in mozldap-libs: $ rpm -q --requires MozillaThunderbird [...] libldap60.so()(64bit) libldif60.so()(64bit) libprldap60.so()(64bit) $ rpm -q --provides mozldap-libs [...] libldap60.so()(64bit) libldif60.so()(64bit) libprldap60.so()(64bit) But in actuality the package contains these libraries itself: $ rpm -ql MozillaThunderbird | grep -e '.*lib.*ld' /usr/lib64/thunderbird/libldap60.so /usr/lib64/thunderbird/libldif60.so /usr/lib64/thunderbird/libprldap60.so -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1076907 http://bugzilla.opensuse.org/show_bug.cgi?id=1076907#c24 Andreas Stieger <astieger@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|REOPENED |RESOLVED Resolution|--- |FIXED --- Comment #24 from Andreas Stieger <astieger@suse.com> --- (In reply to Andreas Stieger from comment #23)
Small problem with the dependency generator change. The new build pulls in mozldap-libs
https://build.opensuse.org/request/show/620658 -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1076907 http://bugzilla.opensuse.org/show_bug.cgi?id=1076907#c41 --- Comment #41 from OBSbugzilla Bot <bwiedemann+obsbugzillabot@suse.com> --- This is an autogenerated message for OBS integration: This bug (1076907) was mentioned in https://build.opensuse.org/request/show/904702 15.3 / seamonkey -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1076907 http://bugzilla.opensuse.org/show_bug.cgi?id=1076907#c42 --- Comment #42 from OBSbugzilla Bot <bwiedemann+obsbugzillabot@suse.com> --- This is an autogenerated message for OBS integration: This bug (1076907) was mentioned in https://build.opensuse.org/request/show/907731 15.3 / seamonkey -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1076907 http://bugzilla.opensuse.org/show_bug.cgi?id=1076907#c43 --- Comment #43 from OBSbugzilla Bot <bwiedemann+obsbugzillabot@suse.com> --- This is an autogenerated message for OBS integration: This bug (1076907) was mentioned in https://build.opensuse.org/request/show/914429 15.3 / seamonkey -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1076907 http://bugzilla.opensuse.org/show_bug.cgi?id=1076907#c44 --- Comment #44 from OBSbugzilla Bot <bwiedemann+obsbugzillabot@suse.com> --- This is an autogenerated message for OBS integration: This bug (1076907) was mentioned in https://build.opensuse.org/request/show/922046 15.3 / seamonkey -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1076907 http://bugzilla.opensuse.org/show_bug.cgi?id=1076907#c45 --- Comment #45 from OBSbugzilla Bot <bwiedemann+obsbugzillabot@suse.com> --- This is an autogenerated message for OBS integration: This bug (1076907) was mentioned in https://build.opensuse.org/request/show/931737 15.3 / seamonkey -- You are receiving this mail because: You are on the CC list for the bug.
participants (2)
-
bugzilla_noreply@novell.com
-
bugzilla_noreply@suse.com