[Bug 159979] New: Problem with incoming run parameters in kmail

Nicolas Lécureuil neoclust at mandriva.org
Thu Mar 27 21:45:16 GMT 2008


------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
         
http://bugs.kde.org/show_bug.cgi?id=159979         
           Summary: Problem with incoming run parameters in kmail
           Product: kmail
           Version: unspecified
          Platform: Mandriva RPMs
        OS/Version: Linux
            Status: UNCONFIRMED
          Severity: normal
          Priority: NOR
         Component: general
        AssignedTo: kdepim-bugs kde org
        ReportedBy: neoclust mandriva org


Version:            (using KDE 3.5.9)
Installed from:    Mandriva RPMs

Mandriva bugreport : https://qa.mandriva.com/show_bug.cgi?id=35118

Description of problem:
Hello. I use KDE and kmail. I saw 3 days later that e-mail messages file after
click don't open (view) in kmail from konqueror and Kerry Beagle. I try add
associate with kmail this email files in $HOME/.Mail folder by hand. I saw
programs like kmail and for example kwrite don't accept input parameters with
'-' and '--' character when I try associate file with program. Kmail require
--view parameter to view message from file. Kmail don't recognize this
parameter and attach file instead of view (default action without -/--
parameters). When I try open the same command in konsole - it's work properly.
Example in kde: kmail --view %f. Example in konsole: kmail --view
/media/NOVELL/11111-message. I checked kwrite and firefox. Kwrite don't
recognize --line option form KDE but recognize from konsole. Example kwrite
--line 10 /media/NOVELL/11111-message.
I checked also firefox. When I open file 11111-message in firefox with
-jsconsole. This parameter work properly (java console appear) from konsole and
KDE: firefox -jsconsole /media/NOVELL/11111-message. I think problem is in kde
programs. In order to prove this thesis I wrote short script in bash:
#!/bin/bash
echo Parameters: $@ >> $HOME/parameters.txt
# Writed Output: --view /media/NOVELL/11111-wiadomosc
kmail --view $@ # Kmail work properly from this command
---------
This script show that all input parameters are gived to program to all ran
programs but kde programs don't recognize parameters with '-' and '--'. Most
important to notice is that script after get input parameter can run all kde
programs properly.

Version-Release number of selected component (if applicable):
kwrite 4.5.7 - kde 3.5.7
kmail 1.9.7 - kde 3.5.7
I have installed all updates to Mandriva 2008 x86_64 from MainUpdetes,
Main32Updates, ContribUpdates, NonFreeUpdates and Main, Contrib today.

How reproducible:
After open email file from $HOME/.Mail I don't see preview but i see new
message with attachment.


Steps to Reproduce:
1. Change directory $HOME/.Mail and find file with e-mail message.
2. Try open file. When it ask for program try print kmail --view %f
3. You should see body of opened message, but you see new massage with attached
file - file what you want see
4. the end.



More information about the Kdepim-bugs mailing list