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.
Works fine here with openSuse, which uses kmail --view %u. Running KMail from command line for viewing a message also works fine.