Bugzilla – Bug 572761
Link in writer document does not work when kmail is default
Last modified: 2010-10-08 09:01:54 UTC
User-Agent: Mozilla/5.0 (compatible; Konqueror/4.3; Linux) KHTML/4.3.4 (like Gecko) SUSE On Monday 18 January 2010 04:56:28 pm upscope wrote: > Trying to find document or how to that describes how to embed a link in > writer to Kmail, so a user can send an email to the address in the > document. The document will be sent as a PDF. I know it should be doable, > PDF documents I receive have this, and they work fine. > > I read the section in the documentation about hyperlinks and I think I have > it set up right, but it does not get to the email program. In the document > I have email: xxxxxxx@ifiber.tv and when I hold the mouse over it I see: > > mailto:xxxxxxx@ifiber.tv?subject=newsletter Input > > xxxxx is receivers email name. > > Doing ctrl click as described in doc. does nothing. > Default mail program is kmail. Additional information: kde integration is installed. The mailto: appears to work if I export the document as a PDF and then click the mailto: link. Also found (working with input from OpenOffice list) that making Thunderbird default mail client, the hyper link works and brings up the Thunderbird mail program correctly. Changing back to Kmail as default, still brings up Thunderbird when clicking link. (Even after reboot) Does anyone know where OpenOffice (Novell Version 3.1.1.5 from repo) stores the email program to call. I found a script in /use/lib64/ooo3/basic3.1/program/kde-open.url that appears to be whats called? Where does $1 come from? #!/bin/sh # special handling for mailto: uris if echo $1 | grep '^mailto:' > /dev/null; then kmailservice "$1" & else kfmclient openURL "$1" & fi exit 0 I found bug 537102 on bugzilla which is close except it was in the FireFox browser. apparently that was a duplicate of bug 170055. Again any help or pointers would be greatly appreciated. Reproducible: Always Steps to Reproduce: 1.create new document 2.put in mailto: hyperlink 3.Click on hyper link. Nothing happens 4. change default mail program from Kmail to Thunderbird. Reboot (may not be necessary). Click on ctlr click on hyper link, thunderbird mail program come up with correct addressee and subject. Actual Results: No mail program if Kmail default. Expected Results: Kontact to come up with mail screen with addressee and subject filled in.
KDE related, adding Roman and Lubos in Cc.
Assigning to Roman even. Feel free to assign back to the list if not really in your field.
This problem still exists with openSUSE 11.2, KDE 4.3.5 and openOffice 3.2.0.5.
Also exits in OOo-3.2.0.7 on 11.2 and 11.3 MS1. RedDwarf Wrote: </Quote> I had some more luck with Google: 'OpenOffice.org Forum :: [Solved] mailto: hyperlinks not working with KMail' (http://www.oooforum.org/forum/viewtopic.phtml?t=61775) My OpenOffice_org-libs-core package provides /usr/lib64/ooo3/basis3.2/program/open-url /usr/lib64/ooo3/basis3.2/program/kde-open-url If I execute the first with 'mailto:a@a.com' as parameter nothing happens, but with kde-open-url works. So the problem seems to be that the KDE specific script isn't used. Anyway IMHO those two scripts shouldn't exist at all. OpenOffice.org should use 'xdg-open' (http://portland.freedesktop.org/xdg-utils-1.0/xdg-open.html) It's a shame that someone found the problem in 2007 and he never informed the devs... so we are here today. I will report it if you don't, but say me if so. </Quote> I verified that both scripts are in /usr/lib64/ooo3/basis3.2/program The kde-open-url does not appear to be called. or the is incorrect. This bug was originally reported to KDE forum see above link from RedDwarf. I changed kde-open-url to call kmail instead of kmailservice. Did not work. <script> before change: #!/bin/sh # special handling for mailto: uris if echo $1 | grep '^mailto:' > /dev/null; then kmailservice "$1" & else kfmclient openURL "$1" & fi exit 0 </script> If you need additional information please let me know. I'm reporting it here since it is the openSUSE version of 0003.
The problem still exists in opensuse 11.3, KDE 4.5.1, Kmail Version2 beta 1 and openoffice 3.2.1
. *** This bug has been marked as a duplicate of bug 550554 ***