Return does not start a new line in the note field of a task or event

RESOLVED WORKSFORME

Status

Calendar
Sunbird Only
RESOLVED WORKSFORME
14 years ago
12 years ago

People

(Reporter: René Seindal, Assigned: Mostafa Hosseini)

Tracking

Details

(Reporter)

Description

14 years ago
User-Agent:       Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7) Gecko/20040704 Firefox/0.8
Build Identifier: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.8a2) Gecko/20040618 Mozilla Sunbird/0.1.1+

When editing the note field of a task or event, pressing return does nothing
apparently, it does, however, insert something invisible in the buffer, because
afterwards it takes several deletes to actually delete the previous character. 
Some character value is probably being inserted into the buffer by the return key.

My return key sends a Return keycode (in X11).

If I press a key combination that sends a Linefeed keycode, a linefeed is
inserted into the buffer as expected.

An unqualified guess on my part is that Return inserts a ^M and a Linefeed
inserts a ^J, the latter being interpreted as a newline indicator, but ^M as a
normal, albeit invisible, character.

Reproducible: Always
Steps to Reproduce:
1. Open a new task or event
2. Click in the 'note' fields
3. Enter some text pressing Return and Linefeed at times

Actual Results:  
The return key does not start a new line in the buffer but inserts some character

Expected Results:  
The return key should start a new line of text, just as a Linefeed keysym does.

Comment 1

14 years ago
The event or todo description field is an xul textbox:
                        <textbox id="description-field"
                                 multiline="true"
                                 rows="3"
                                 cols="30" />
Editable multiline xul textboxes also appear in
  browser bookmarks: context-click bookmark, properties, 'description' field
  mailer addressbook:  edit card, 'other' tab, 'notes' field
Do you see this problem in these textboxes also?
(Reporter)

Comment 2

14 years ago
I use Firefox 0.9.1 installed from Debian Linux and Thunderbird 0.7.1 also from
Debian Linux, and none of the two have this problem.

It is only in the standalone Sunbird calendar application, downloaded from
http://ftp.mozilla.org/pub/mozilla.org/calendar/sunbird/nightly/latest/MozillaSunbird-i686-pc-linux-gnu.tar.gz
WFM, using Subird 0.2a
Status: UNCONFIRMED → RESOLVED
Last Resolved: 14 years ago
Resolution: --- → WORKSFORME
The bugspam monkeys have been set free and are feeding on Calendar :: Sunbird Only. Be afraid for your sanity!
QA Contact: gurganbl → sunbird
You need to log in before you can comment on or make changes to this bug.