[prev in list] [next in list] [prev in thread] [next in thread]
List: kmail-devel
Subject: Bug#37718: message editor line wrapping problem
From: rega+kdebugs () leader-bg ! com
Date: 2002-02-01 2:37:31
[Download RAW message or body]
Package: kmail
Version: KDE 2.2.2
Severity: wishlist
Installed from: Mandrake RPMs
Compiler: Not Specified
OS: Linux
OS/Compiler notes: Not Specified
I noticed a strange wrapping behavior when editing a new email with the default text \
editor used by KMail.
Cut-and-paste the following text:
<cut>
xxxxxxxx, xxxx xxxxxxxxx xxxxx, xxxx xxxxx xxxx x xxxxxxxx (xxxxxxxx) xxxxxxx. x.x., \
xxxxxxx xxxx x xxxxxx-xxx, xxxxxxx > xxxx xxxxx xxxxxxx xxxxxx
<cut>
This problem happens with the default line width (75 chars, not sure).
Note, that the text above has been wrapped by the bugs-kde systems differently, in \
the text editor there are two lines, the firt ending with the closing parenthesis and \
a space after it, the second line has the rest of the x-ses, and a space at the end, \
then un empty line. (if you cannot reproduce, please email me, I will send you a file \
attachment with the text properly formatted to reproduce the bug.)
Now, the following strange things happen:
1. If you hit "End" (the keyboard button) and go to the end of the first line, the \
cursor will be after the space, if you hit left-arrow-button, then \
right-arrow-button, that is go one char left then one char right, you will notice you \
are at the beginning of the next line, as if the space on the previous one did not \
exist. The latter, in my opinion, is the right behaviour, hitting End should have \
sent you right after the closing parethesis not after a space. 2. Hit End on the \
first line, you are after the space, now hit Del, notice the possition of the cursor \
is one character past the parethesis, where it should have been right after it. Also, \
if you hit "Undo" imediatelly after Del, it will split the word in the wrong place 3. \
Position the cursor right before "x.x." on the secont line, hit Enter/NewLine, \
suddenly the first word on the second line is sent to the end of the first line, I \
think if that was possible, the word should not have been wrapper to the next line in \
the first place. To confirm that, hit Backspace to erase the NewLine character, the \
word comes down again.
Hmm, trying to get a clean test case, I can no longer reproduce (3)... But (1) and \
(2) are easy to reproduce, just type a long sentance and let the text editor wrap \
several lines, try it on the first line, you should be able to reproduce.
I guess these intructions are not very clear, please mail me a the sample text if \
needed.
(Submitted via bugs.kde.org)
_______________________________________________
kmail Developers mailing list
kmail@mail.kde.org
http://mail.kde.org/mailman/listinfo/kmail
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic