Bug 204780 - up key doesn't allow to jump from message textarea to subject if caret is at the end of the fist line (in composer window)
Summary: up key doesn't allow to jump from message textarea to subject if caret is at ...
Status: RESOLVED FIXED
Alias: None
Product: kmail
Classification: Applications
Component: composer (show other bugs)
Version: unspecified
Platform: Unlisted Binaries Linux
: NOR normal
Target Milestone: ---
Assignee: kdepim bugs
URL:
Keywords:
: 189154 (view as bug list)
Depends on:
Blocks:
 
Reported: 2009-08-22 17:01 UTC by Hikaru
Modified: 2009-08-28 23:38 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Hikaru 2009-08-22 17:01:09 UTC
Version:            (using KDE 4.3.0)
OS:                Linux
Installed from:    Unspecified Linux

When you're writing a mail, you can use "up" and "down" keys to move up and down in message input textarea and move between  the message, subject and recipients fields.

"Down" works without problem.

"Up" works fine too except when you have the caret at the end of the first line of the message input textarea. Pressing "up" doesn't change the focus to the subject field.

If this is the composer window:

**********************************
To: aaa.aaa@aaa.aaa
To: ________
Subject:  Test

 Dear aaa,
etc.
Regards
**********************************

And "|" is the caret, if it is after the comma of the first line of the message,

**********************************
To: aaa.aaa@aaa.aaa
To: ________
Subject:  Test

 Dear aaa,|
etc.
Regards
**********************************

you can't use "up" key to jump in subject field.
If the caret is anywhere else (on the first line), it works.

If the caret is at the end of the subject input textarea,

**********************************
To: aaa.aaa@aaa.aaa
To: ________
Subject:  Test|

 Dear aaa,
etc.
Regards
**********************************


the "up" key works and move in the "To" input field.
Comment 1 FiNeX 2009-08-22 17:16:34 UTC
Confirmed in trunk.
Comment 2 Martin Koller 2009-08-22 22:34:06 UTC
SVN commit 1014434 by mkoller:

BUG: 204780

when cursor is in top most line, cursor up shall move focus to subject line
also when cursor is after the last char in the line.


 M  +1 -1      kmeditor.cpp  


WebSVN link: http://websvn.kde.org/?view=rev&revision=1014434
Comment 3 Martin Koller 2009-08-22 22:40:52 UTC
SVN commit 1014440 by mkoller:

Backport r1014434 by mkoller from trunk to the 4.3 branch:

CCBUG: 204780

when cursor is in top most line, cursor up shall move focus to subject line
also when cursor is after the last char in the line.



 M  +1 -1      kmeditor.cpp  


WebSVN link: http://websvn.kde.org/?view=rev&revision=1014440
Comment 4 Hikaru 2009-08-23 18:56:10 UTC
Many thanks. :-)
Comment 5 Martin Koller 2009-08-28 23:38:19 UTC
*** Bug 189154 has been marked as a duplicate of this bug. ***