Bug 341055

Summary: MimeType entry incorrectly added to konqbrowser.desktop instead of kfmclient_html.desktop
Product: [Applications] konqueror Reporter: Orion Poplawski <orion>
Component: generalAssignee: Konqueror Developers <konq-bugs>
Status: RESOLVED DOWNSTREAM    
Severity: normal CC: rdieter
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: Fedora RPMs   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

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.