Summary: | khtml inserts superfluous spaces at end of lines in "wrap=physical" textarea fields | ||
---|---|---|---|
Product: | [Applications] konqueror | Reporter: | Jens <jens-bugs.kde.org> |
Component: | khtml forms | Assignee: | Konqueror Developers <konq-bugs> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | adam |
Priority: | NOR | ||
Version: | 4.0 | ||
Target Milestone: | --- | ||
Platform: | unspecified | ||
OS: | Linux | ||
Latest Commit: | Version Fixed In: | ||
Sentry Crash Report: | |||
Attachments: | Test textarea which displays the problem |
Description
Jens
2004-01-25 22:16:38 UTC
yeah, we need a (non-php) test case. I have the same problem within bugzilla textarea. Unafortunately the text was an email template, so all the emails that our bugzilla have sent were plain broke - the lines between the header and body should be empty lines, not lines with spaces. Test case (or any bugzilla paremeters page): <textarea wrap=hard name=passwordmail rows=10 cols=80>From: bugzilla-daemon 
To: %mailaddress% 
Subject: Your Bugzilla password. 


To use the wonders of Bugzilla, you can use the following: 
 
 E-mail address: %login% 
 Password: %password% 
 
 To change your password, go to: 
 %urlbase%userprefs.cgi 
 </textarea> forgot to mention the version: kde 3.2.1 + fixes from 3.2.2 tree. Hello, anybody who can still confirm this? Has anything been done regarding this bug? Thank you! *** Bug 77726 has been marked as a duplicate of this bug. *** Created attachment 13046 [details]
Test textarea which displays the problem
This bug is still present in 3.4.3. It is also present if the wrap="hard" option is used. Simple reproduction: 1. save the attached "test.html" file and load in konqueror 2. type some text and a newline 3. focus the mouse outside the textarea (ie. click outside it) 4. focus the mouse in the textarea again 5. spaces will have been appended to the lines in the area 6. repeat steps 2-4 to add additional spaces to the ends of lines Semi-off-topic: I should also note that wrap="physical" is not valid HTML. It and "virtual" were historical anomalies introduced by Netscape 2.0 (and carried over in IE 4.0) and should not be used. Just fixed it (http://lists.kde.org/?l=kde-commits&m=113848188411690&w=2). Artifact of some funky behavior of QTextEdit -- it would append an extra space when you would ask it for paragraph text... |