[Bug 203576] Message composer mixes up signatures of different profiles

Andreas Pietzowski andreas at pietzowski.de
Sun Nov 1 01:02:06 GMT 2009


https://bugs.kde.org/show_bug.cgi?id=203576





--- Comment #3 from Andreas Pietzowski <andreas pietzowski de>  2009-11-01 02:02:03 ---
No, my signature comes out of a shell script which always chooses a different
text out of shell script. I also strongly guess this is the problem. You are
maybe comparing the previous text and erase it at the end.

Can you reproduce it with some profiles with text defined below and one with a
shell script like

echo $RANDOM

Open composer and switch through profiles. Signatures get duplicated on and on.

Maybe a solution would be to check for the signature separator ("-- ") which
should be the beginning of every signature and cut off from the separator
downwards before inserting the new signature at the end. For the case the
signature has no such separator, use the implementation as before. Maybe you
have an even better solution?

-- 
Configure bugmail: https://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