Bug 341055 - MimeType entry incorrectly added to konqbrowser.desktop instead of kfmclient_html.desktop
Summary: MimeType entry incorrectly added to konqbrowser.desktop instead of kfmclient_...
Status: RESOLVED DOWNSTREAM
Alias: None
Product: konqueror
Classification: Applications
Component: general (show other bugs)
Version: unspecified
Platform: Fedora RPMs Linux
: NOR normal
Target Milestone: ---
Assignee: Konqueror Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-11-17 18:05 UTC by Orion Poplawski
Modified: 2014-11-17 18:16 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Orion Poplawski 2014-11-17 18:05:52 UTC
# grep ^MimeType /usr/share/applications/kde4/kfmclient_html.desktop /usr/share/applications/kde4/konqbrowser.desktop
/usr/share/applications/kde4/kfmclient_html.desktop:MimeType=text/html;application/xhtml+xml;application/xml;
/usr/share/applications/kde4/konqbrowser.desktop:MimeType=x-scheme-handler/http;

# grep ^Exec /usr/share/applications/kde4/kfmclient_html.desktop /usr/share/applications/kde4/konqbrowser.desktop
/usr/share/applications/kde4/kfmclient_html.desktop:Exec=kfmclient openURL %u text/html
/usr/share/applications/kde4/konqbrowser.desktop:Exec=kfmclient openProfile webbrowsing

This causes applications (such as Thunderbird 31) using the the x-scheme-handler/http mime type to select konqbrowser.desktop to open URLs.  However, that file does not use %u in Exec to allow it to open the desired URL so the user gets the home page.  I believe that the MimeType entry needs to be moved to the kfmclient_html.desktop file.   You may also want to add x-scheme-handler/https as well (and maybe others?).
Comment 1 Orion Poplawski 2014-11-17 18:06:20 UTC
Bug 297491 might be related
Comment 2 Orion Poplawski 2014-11-17 18:11:49 UTC
This is an issue in Fedora RPMs.