From kmail-devel Wed Aug 30 23:02:51 2000 From: Guillaume Laurent Date: Wed, 30 Aug 2000 23:02:51 +0000 To: kmail-devel Subject: Patch (was Re: Kmail and signatures) X-MARC-Message: https://marc.info/?l=kmail-devel&m=96767648014977 MIME-Version: 1 Content-Type: multipart/mixed; boundary="--------------Boundary-00=_R0O4LE8UTR4SFDWTILLW" --------------Boundary-00=_R0O4LE8UTR4SFDWTILLW Content-Type: text/plain Content-Transfer-Encoding: 8bit On Tue, 29 Aug 2000, I wrote: > > On Tue, 29 Aug 2000, Don Sanders wrote: > > On Tue, 29 Aug 2000, Matt Koss wrote: > > > Another bug : > > > When I hit reply button, composer appears with quoted text, but the > > > inserted text is not displayed correctly. > > > Particularly, the fourth line of the message is displayed twice. I have > > > to focus the multiline edit and move the cursor down through the whole > > > message and then the lines appear one-by-one correctly. > > > I really wonder what this is, but it's been here for several weeks as > > > well. > > > > A few people have reported this problem, I can't reproduce that problem > > either. I'm not sure why this happens to some people but not others. > > I have it too, or something similar (it's not just the 4rth line). It's > been here for ages (Beta2 I think). See the attached screenshots. The first > one is how the text appears initially, the second one is right after > selecting a large part of the text. The problem indeed had to do with signatures, if you don't specify one it didn't appear. As Don suggested, a simple update after inserting the signature solves it. -- Guillaume. http://www.telegraph-road.org --------------Boundary-00=_R0O4LE8UTR4SFDWTILLW Content-Type: text/plain; name="kmail_signature_patch" Content-Transfer-Encoding: 8bit Content-Disposition: attachment; filename="kmail_signature_patch" --- kmcomposewin.cpp~ Thu Aug 17 10:09:34 2000 +++ kmcomposewin.cpp Thu Aug 31 00:55:09 2000 @@ -1936,6 +1936,7 @@ signatures and we should respect it: */ mEditor->insertLine("-- ", -1); mEditor->insertLine(sigText, -1); + mEditor->update(); mEditor->setModified(mod); } } --------------Boundary-00=_R0O4LE8UTR4SFDWTILLW--