Closed Bug 170120 Opened 22 years ago Closed 22 years ago

Typing enter in multiline text field closes dialog, should add new line

Categories

(Calendar :: Sunbird Only, defect)

x86
All
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED DUPLICATE of bug 113146

People

(Reporter: gekacheka, Assigned: mikeypotter)

References

Details

User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.2a) Gecko/20020910 Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.2a) Gecko/20020910, 2002091910-cal In the New/Edit Event dialog, typing a newline via the enter (return) key closes the dialog. Reproducible: Always Steps to Reproduce: 1. Click new event 2. Add a title 3. Type a couple words in the note field, type enter/return between them Actual Results: Newline is correctly added to the note, *but* the event dialog closed immediately when enter key is typed. Expected Results: Add a newline to the note *without* closing dialog so user can continue typing note.
This is not a bug. It's a feature. Am I wrong? (You can use tabulator in order to be able to go on typing.)
Sorry if it's not clear from the title and steps, the description should be In the New/Edit Event dialog, *in the 'Note' text area*, typing a newline area via the enter (return) key closes the dialog. I understand that when the focus is elswhere the enter key is bound to the 'ok' action, but while editing in a multi-line text area I expect the enter key to be bound to newline and not bound to the 'ok' button.
This seems to be some sort of regression...
Status: UNCONFIRMED → NEW
Ever confirmed: true
*** Bug 175202 has been marked as a duplicate of this bug. ***
Status: NEW → ASSIGNED
This is a XUL bug. It also happens in the edit bookmarks dialog, and edit bookmarks folder dialog. The problem is with the new <dialog> tags that are now being used. They steal the focus for pressing enter, even when typing into a multiline textbox. *** This bug has been marked as a duplicate of 113146 ***
Status: ASSIGNED → RESOLVED
Closed: 22 years ago
OS: Windows 2000 → All
Resolution: --- → DUPLICATE
Summary: Event Dialog: Typing enter (return) in note field closes dialog → Typing enter in multiline text field closes dialog, should add new line
Note that this bug is fixed for calendar in CVS now. I'll make a new build tonight with the fix incorporated.
The bugspam monkeys have been set free and are feeding on Calendar :: Sunbird Only. Be afraid for your sanity!
QA Contact: colint → sunbird
You need to log in before you can comment on or make changes to this bug.