| Summary: | konqueror attempts to open mailto: links with uninstalled application | ||
|---|---|---|---|
| Product: | [Applications] konqueror | Reporter: | Anders Lund <anderslund> |
| Component: | general | Assignee: | Konqueror Bugs <konqueror-bugs-null> |
| Status: | RESOLVED WORKSFORME | ||
| Severity: | normal | CC: | adawit, dirk.heinrichs |
| Priority: | NOR | ||
| Version First Reported In: | 4.9.1 | ||
| Target Milestone: | --- | ||
| Platform: | unspecified | ||
| OS: | Linux | ||
| Latest Commit: | Version Fixed/Implemented In: | ||
| Sentry Crash Report: | |||
|
Description
Anders Lund
2012-09-21 12:11:09 UTC
I did a grep -ri thunderbird ~/.kde4/share/config and similar with ~/.kde4/share/apps, without finding anything that looks relevant, except maybe these: Binær fil /home/anders/.kde4/share/apps/nepomuk/repository/main/data/virtuosobackend/soprano-virtuoso.trx stemmer Binær fil /home/anders/.kde4/share/apps/nepomuk/repository/main/data/virtuosobackend/soprano-virtuoso.db stemmer Same here. Konqueror wants to open thunderbird although I have configured kmail as the standard email component. This is not a Konqueror issue. Rather you either have a .desktop file lying around somewhere that claims there is a specific mail application when it actually is not there or your system configuration db is out of whack for some other reason. So my suggestion is for you to check whether there is a lingering thunderbird.desktop file on your system still. If not, check to see if running 'kbuildsycoca4 --noincremental' manually from the command line fixes the issue. This problem appeared as a consequence of the following actions: 1) using kde systemsettings to set thunderbird as the mail application 2) using kde systemsettings to unset that again So somehow, kde was not able to do that. The problem was not a thunderbird.desktop file, but a file specifying what to do with mailto: protocol links, and it was somewhere in ~/.local, but I can't for god remember where. It took MANY attempts to find it, and unfortunately I forgot this report when I did. Sorry. So, maybe bot a konqueror issue, but definately a KDE one, although it may be cleaning up after someone else. But when KDE claims that I can set kmail as the default mail application, it should be able to provide ;) A quick "grep -i mailto **/*(.)" (zsh) in ~/.local revealed share/applications/mimeapps.list. So I deleted this and ran the kbuildsycoca4 command from above, which fixed the problem. However, I still agree with Anders that setting kmail as default mail app in KDE should result in konqueror (and all other KDE apps) to use it for mailto: links. Cannot reproduce this. If I install thunderbird and set it as the default client and then remove it, I get the following error when I click on a test "mailto:" link from the browser:
konqueror(9137) KonqMainWindow::openUrl: Creating new konqrun for KUrl("mailto://?to=joe@xyz.com") req.typedUrl= ""
konqueror(9137)/kfile (kdelibs) KRecentDocument::add: KRecentDocument::add for "mailto://?to=joe@xyz.com"
Could not find 'thunderbird' executable.
WARNING: Please setup an KMessageHandler with KMessage::setMessageHandler to display message propertly.
(Could not launch Mail Client)ERROR: Could not launch the mail client:
KDEInit could not launch 'thunderbird':
Could not find 'thunderbird' executable.
If I then switch the default email application back to kmail, which is not installed on my system, I see the following error message in my .xsession-errors file:
konqueror(9137) KonqMainWindow::openUrl: Creating new konqrun for KUrl("mailto://?to=joe@xyz.com") req.typedUrl= ""
konqueror(9137)/kfile (kdelibs) KRecentDocument::add: KRecentDocument::add for "mailto://?to=joe@xyz.com"
Could not find 'kmail' executable.
WARNING: Please setup an KMessageHandler with KMessage::setMessageHandler to display message propertly.
(Could not launch Mail Client)ERROR: Could not launch the mail client:
KDEInit could not launch 'kmail':
Could not find 'kmail' executable.
Dear Bug Submitter, This bug has been stagnant for a long time. Could you help us out and re-test if the bug is valid in the latest version? I am setting the status to NEEDSINFO pending your response, please change the Status back to REPORTED when you respond. Thank you for helping us make KDE software even better for everyone! I think this has become obsolete. |