[Bug 169702] Switching between multiple identities does not update signature when using "Output of Command"

Samat Jain bugs at samat.org
Mon Aug 25 00:04:11 BST 2008


http://bugs.kde.org/show_bug.cgi?id=169702





--- Comment #3 from Samat Jain <bugs samat org>  2008-08-25 01:04:09 ---
Just some background: I have KMail call a script that calls a web service to
generate a signature with a random quote. The script is called with different
arguments to generate a different signature depending on the identity. It works
great in KMail 1.9; it doesn't in KMail 1.10.

This is described differently than the original bug, but I believe it's related
to the problem I'm experiencing. Let me know if I should file another bug?

The output from a command used to generate a signature does not appear to be
consistently included when an identity is changed. It may be related to how
long it takes for the command to run?

Steps to reproduce:
1. Create a script to generate a random signature. E.g. In a terminal:
cd ~
cat << EOF > random-signature
#!/bin/bash
dd if=/dev/random count=1 2> /dev/null | md5sum
EOF
chmod +x random-signature
2. Create an identity to run this script to generate a signature, set as
default
3. Create another identity to also run this script to generate a signature
4. Compose a new message. Random signature should appear.
5. Select the identity from (2) again. Another random signature should appear
as in KMail 1.9, but in KMail 1.10 the original signature remains.
6. Select the identity from (3). The signature should change, but the original
signature remains.

Tested on multiple distributions this time: Kubuntu 8.10 Alpha 4, and the KDE
4.1 LiveCD.


-- 
Configure bugmail: http://bugs.kde.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.



More information about the Kdepim-bugs mailing list