Bug 804972 - Cursor position problem in kmail2 templates
Cursor position problem in kmail2 templates
Product: Fedora
Classification: Fedora
Component: kdepim (Show other bugs)
i686 Linux
unspecified Severity low
: ---
: ---
Assigned To: Ngo Than
Fedora Extras Quality Assurance
: Triaged
Depends On:
  Show dependency treegraph
Reported: 2012-03-20 06:57 EDT by Marc Muehlfeld
Modified: 2012-07-17 10:49 EDT (History)
8 users (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2012-07-17 10:49:53 EDT
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)

External Trackers
Tracker ID Priority Status Summary Last Updated
KDE Software Compilation 295558 None None None 2012-07-17 10:49:53 EDT

  None (edit)
Description Marc Muehlfeld 2012-03-20 06:57:20 EDT
Description of problem:
The position of the template variable %CURSOR doesn't work like expected.

Version-Release number of selected component (if applicable):
First time I saw the problem in kdepim-4.8.1-3. In previsous versions it worked like configured.

How reproducible:

Steps to Reproduce:
1. Settings -> Configure KMail... -> Composer -> Templates -> Reply to Sender
2. Place variable %CURSOR e. g. in the first line and the %QUOTE below
3. Save changes
3. Click to reply on an email.

Actual results:
The cursor is set at the end of the email, instead of the first line.

Expected results:
The cursor should be placed where it is configured in the template..

Additional info:
Example template:
%REM="Standardvorlage für Antworten"%-
Am %ODATE, %OTIMELONG schrieben Sie:

Place a space *in front* of %CURSOR:
%REM="Standardvorlage für Antworten"%-
Am %ODATE, %OTIMELONG schrieben Sie:

Now the cursor is placed at the top of the mail. But the space is *behind* the cursor - not like configured *in front*.
Comment 1 Kevin Kofler 2012-03-20 07:24:57 EDT
Sounds like an off-by-one. Is this already filed upstream at bugs.kde.org?
Comment 2 Martin Bříza 2012-07-17 10:49:53 EDT
Fixed in kdepim-4.8.2, it should be OK after updating the system. Closing the bug. If the issue is still present, please reopen the bug.

Note You need to log in before you can comment on or make changes to this bug.