Version: 1.7 (using KDE 3.3.0, compiled sources) Compiler: gcc version 3.4.2 [FreeBSD] 20040728 OS: FreeBSD (i386) release 5.2-CURRENT In addition to the mysterious binary symbols randomly inserted into a file created for the external message-editor (bug 79767 -- first reported for KDE-3.2.1 is still with us), the latest release of kmail offers a new bug for the users of external editors -- the tabs will be converted to spaces if the external editor is re-launched. If I'm unhappy with the composed message, and the external editor is launched again, all of the tabs I entered will be replaced by spaces -- one space per tab.
The bug is not limited to external editors. Even with the internal editor tabs are always replaced by white spaces as soon as you file the mail into the draft folder or send the mail. To reproduce: create a mail: <TAB><TAB>lalala send the mail to yourself and see in your sent folder: <SPACE><SPACE>lalala I consider this problem very critical. Its now impossible to send working patches inline (as requested by several mailing lists like LKML) without breaking the indentation. By the way, I do not need html edit functionality, I need properly working text messages. Tested on Debian unstable i386 kmail 1.7.
Hi, This issue should be solved in cvs' version of Qt. Which version of Qt are you using?
I am using qt 3.3.3 from debian unstable. I could trigger an bug to the debian qt maintainer to take this fix. Is there a link to the changelog? I am not able to find a public qt cvs server. cheers Christian
I can confirm that the problem is solved by installing qt-copy_040924.tar.bz2 from kde.org. Unfortunately, I could not find any suspicious diff between 3.3.3 and that version either.
Hi, The following came from Trolltech : This was a bug introduced in Qt 3.3.3 and fix will be part of the next maintenance release Qt 3.3.4, which should be out within a couple of months.
Can we ask Trolltech for a patch meanwhile?
A patch would be welcome indeed: it is impossible to forward inline a PGP/GPG signed portion of a mail without screwing up the signature if the original message contained even a single a tab!
I think this is a duplicate of http://bugs.kde.org/show_bug.cgi?id=89410 (editor loses formatting on various actions), which contains a one-line patch. The patch seems to have been in KDE cvs for a couple months (see revisions 1.70 and 1.71 of http://webcvs.kde.org/cgi-bin/cvsweb.cgi/qt-copy/src/kernel/qrichtext.cpp).
Björn, you are right. This small patch seems to fix this issue. I am going to trigger the debian maintainer to include this patch.