Closed Bug 554895 Opened 14 years ago Closed 14 years ago

Commands get executed although the command line is not focused

Categories

(Skywriter Graveyard :: Command Line, defect, P1)

Other
Other
defect

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: julian.viereck, Unassigned)

Details

Attachments

(1 file, 1 obsolete file)

Commands that are typed but not yet executed get executed if the user hits 
enter on the editor.

Steps to reproduce:
a) set the command lines value to "help", but do *not* execute it
b) focus the editor
c) press enter on the editor

Result: the command "help" is executed.

Tested on Firefox 3.6/Mac.
This bug seems to be fixed on Firefox...

*But* on Webkit (Chrome + Safari Mac) this bug takes place now. It's even 
worse: enter (newline) is *not* working on these browsers in the editor!

As the newline command is important, I mark this bug as blocker.
Severity: normal → blocker
Priority: -- → P1
Attached patch Bugfix (obsolete) — Splinter Review
Brings newline functionality back again. Handle the return key in the keyDown
function again and not in the textInserted function.

However, why is the newline still reported in the textInserted function?
Whiteboard: needs-pull
Is this related to bug 555023?
Attached patch Bugfix #2Splinter Review
This is based on the first bugfix. You have to apply the SC fixes as described in bug 

   https://bugzilla.mozilla.org/show_bug.cgi?id=555598

before this bugfix works.
Attachment #435492 - Attachment is obsolete: true
Merged and pushed as changeset cdc676ca0fea.
Status: NEW → RESOLVED
Closed: 14 years ago
Resolution: --- → FIXED
Whiteboard: needs-pull
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: