Bug 650364 - kmailservice foo?cc=foo prepends mailto: to CC: in kmail
Summary: kmailservice mailto:foo@bar.bz?cc=foo@bar.baz prepends mailto: to CC: in kmail
Keywords:
Status: CLOSED WONTFIX
Alias: None
Product: Fedora
Classification: Fedora
Component: kdelibs
Version: 14
Hardware: Unspecified
OS: Unspecified
low
low
Target Milestone: ---
Assignee: Than Ngo
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2010-11-05 22:52 UTC by Ville Skyttä
Modified: 2012-08-16 22:21 UTC (History)
9 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2012-08-16 22:20:59 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Ville Skyttä 2010-11-05 22:52:13 UTC
$ rpm -q kdelibs xdg-utils
kdelibs-4.5.2-8.fc13.x86_64
xdg-utils-1.0.2-20.20100709.fc13.noarch

$ xdg-email
/usr/bin/xdg-email: line 375: test: KDE Development Platform: 4.5.2 (KDE 4.5.2): integer expression expected
/usr/bin/xdg-email: line 376: test: KDE Development Platform: 4.5.2 (KDE 4.5.2): integer expression expected
/usr/bin/xdg-email: line 377: test: KDE Development Platform: 4.5.2 (KDE 4.5.2): integer expression expected

Comment 1 Rex Dieter 2010-11-18 22:02:58 UTC
Thanks, fix upstreamed.  Does this cause any non-cosmetic issues that is worthy doing an update here?

Comment 2 Ville Skyttä 2010-11-18 22:35:57 UTC
There is an issue with --cc and --bcc at least with kmail; the addresses given as arguments to those options get a "mailto:" prefix which causes them not to work, i.e. "xdg-email --cc joe ..." results in "joe" put in the Cc field and kmail doesn't like that.

I don't know if this was caused by recent updates or if the problem existed earlier as well.  I observed the above with kdelibs-4.5.3-1.fc13.x86_64, kdepim-4.4.7-1.fc13.1.x86_64

Comment 3 Rex Dieter 2011-03-31 15:46:49 UTC
Looks like this latter issue is a (imo) a bug in kmailservice, xdg-utils will translate:
xdg-utils --cc foo rdieter.edu into:

/usr/libexec/kde4/kmailservice rdieter.edu?cc=foo

which yields similar results as what you reported.


One alternative for xdg-email, would be to not use kmailservice, and use kmail commandline options (similar to how xdg-utils handles the thunderbird case)

Comment 4 Ville Skyttä 2011-03-31 19:34:23 UTC
(In reply to comment #3)
> One alternative for xdg-email, would be to not use kmailservice, and use kmail
> commandline options (similar to how xdg-utils handles the thunderbird case)

Just a thought, I don't have a KDE setup to test any of this right now, but that sounds like xdg-email would then no longer invoke the mail client the user has configured in KDE settings, but would use kmail unconditionally.  If that's correct, it sounds like a regression to me.

Comment 5 Rex Dieter 2011-03-31 19:37:48 UTC
Oh crap you're right, that case would have to be handled.

Comment 6 Fedora End Of Life 2012-08-16 22:21:02 UTC
This message is a notice that Fedora 14 is now at end of life. Fedora 
has stopped maintaining and issuing updates for Fedora 14. It is 
Fedora's policy to close all bug reports from releases that are no 
longer maintained.  At this time, all open bugs with a Fedora 'version'
of '14' have been closed as WONTFIX.

(Please note: Our normal process is to give advanced warning of this 
occurring, but we forgot to do that. A thousand apologies.)

Package Maintainer: If you wish for this bug to remain open because you
plan to fix it in a currently maintained version, feel free to reopen 
this bug and simply change the 'version' to a later Fedora version.

Bug Reporter: Thank you for reporting this issue and we are sorry that 
we were unable to fix it before Fedora 14 reached end of life. If you 
would still like to see this bug fixed and are able to reproduce it 
against a later version of Fedora, you are encouraged to click on 
"Clone This Bug" (top right of this page) and open it against that 
version of Fedora.

Although we aim to fix as many bugs as possible during every release's 
lifetime, sometimes those efforts are overtaken by events.  Often a 
more recent Fedora release includes newer upstream software that fixes 
bugs or makes them obsolete.

The process we are following is described here: 
http://fedoraproject.org/wiki/BugZappers/HouseKeeping


Note You need to log in before you can comment on or make changes to this bug.