Bug 295821

Summary: %CURSOR command on reply to sender template not working
Product: [Applications] kmail2 Reporter: Martin van Es <bugs>
Component: composerAssignee: kdepim bugs <kdepim-bugs>
Status: RESOLVED FIXED    
Severity: normal CC: fridge.batta, maoscherov, montel, parena
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: Ubuntu   
OS: Linux   
Latest Commit: Version Fixed In:

Description Martin van Es 2012-03-12 10:08:35 UTC
User-Agent:       Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/535.11 (KHTML, like Gecko) Chrome/17.0.963.78 Safari/535.11
Build Identifier: 

I have the following (default) template for reply to sender, but when replying, my cursor is placed at the quote, but before my signature.

%CURSOR
%REM="Default reply template"%-
On %ODATE %OTIMELONG you wrote:
%QUOTE


Reproducible: Always

Steps to Reproduce:
1. Select email
2. Reply
Actual Results:  
Mail is quoted, cursur after quoted text before signature

Expected Results:  
Mail quoted, cursor before quoted text.

kmail2 4.8.0, KDE 4.8.1 (is that possible?). KDE packages from Kubuntu backports (oneiric).
Comment 1 Paul van Erk 2012-03-15 07:19:56 UTC
I just noticed the same behaviour after moving to KDE 4.8.1 from 4.8.0. Using openSUSE Release 4.8 packages. This behaviour seems to break every now and then with releases, though it had been a while since the last time. It's a very annoying bug, though, especially when replying to a lot of e-mails every day.
Comment 2 Laurent Montel 2012-03-19 12:26:19 UTC
Work fine in 4.8.1
Comment 3 Martin van Es 2012-03-19 12:31:02 UTC
Are you using 4.8.1 against Qt 4.8.0? I understand from my other bugreport that that might be the culprit?
Comment 4 Paul van Erk 2012-03-19 13:12:26 UTC
I am, yes. KDE 4.8.1 with Qt 4.8.0. I will see if there is a 4.8 repository for openSUSE 11.4.
Comment 5 Martin van Es 2012-03-19 13:14:44 UTC
Paul, I was asking Laurent, but thx for confirming you are using Qt 4.8.0 as well.
Comment 6 Paul van Erk 2012-03-19 13:15:28 UTC
:)
Should've first checked quickly and then post. There is a 4.8 repo, but it still shows 4.8.0 and the 4.8 KDE repository also has Qt 4.8.0. So, I can't test it against 4.8.1 at the moment.
Comment 7 Martin van Es 2012-04-08 18:55:17 UTC
Fixed in 4.8.2
Comment 8 Paul van Erk 2012-04-08 19:25:17 UTC
Yes, that works good now, but there's a remaining problem. If you have the option set to append the signature BEFORE quoted text, the cursor is put between your signature and the quoted text, while it should simply be at the very top of the body. Should this be a new bug report then?