Closed
Bug 2223
Opened 26 years ago
Closed 26 years ago
[PP] Editor mode doesn't work
Categories
(Core :: DOM: Editor, defect, P1)
Tracking
()
VERIFIED
FIXED
M2
People
(Reporter: akkzilla, Assigned: joki)
Details
Editor mode doesn't work on Linux:
- TAB shifts focus between back, forward and urlbar instead of calling Steve's
table-resize test event handler
- regular key events go to the urlbar even after clicking in the html window
I'm not sure whether this is an event problem or something else; I'm
investigating further.
Reporter | ||
Updated•26 years ago
|
Assignee: akkana → joki
Reporter | ||
Comment 1•26 years ago
|
||
Turns out that it's another event problem -- nsWindow::InitCallbacks (which
registers handle_key_press_event) does get called, but handle_key_press_event
doesn't get called on key presses. Maybe it's a focus problem.
Reassigning to joki since he knows more about how key events are supposed to
propogate, though I'll also continue to poke around.
Comment 3•26 years ago
|
||
should we mark this fixed or is there still work to be done?
Reporter | ||
Comment 4•26 years ago
|
||
Don't mark it fixed yet -- editor mode still doesn't work as of yesterday (when
I last had a non-crashing build where I could test it). buster checked in some
changes that might help, but until I can see their effects I can't say what our
status is.
Assignee | ||
Comment 5•26 years ago
|
||
Akkana? Update on this?
Reporter | ||
Comment 6•26 years ago
|
||
Update: progress! Now the events are getting through to the editor, but a lot
of the key codes are screwed up. For instance, if I set a breakpoint in
nsEditorKeyListener::KeyDown, invoke Tools->Editor Mode, click in the html view
type the letter s, then step one line so that we initialize keyCode, it turns
out that keyCode is 115, or VK_F4. Likewise, a maps to 97, or VK_NUMPAD1.
TAB, gives the correct keycode, 9. Likewise backspace = VK_BACK and delete =
VK_DELETE. So far it's just the numeric chars which are wrong.
Reporter | ||
Comment 7•26 years ago
|
||
<-- Typo; I meant "just the alphabetic chars". Numeric chars (e.g. '1') don't
register as key events at all.
Reporter | ||
Updated•26 years ago
|
Status: NEW → RESOLVED
Closed: 26 years ago
Resolution: --- → FIXED
Reporter | ||
Comment 8•26 years ago
|
||
Turns out nsGtkEventHandler.cpp didn't have code to deal with alphanumeric
keys. I've checked in a fix, and editor mode works now.
Updated•26 years ago
|
Status: RESOLVED → VERIFIED
Comment 9•26 years ago
|
||
It works for me, other than the letters I type in appearing in right-to-left
order. :)
Marking verified.
Comment 10•26 years ago
|
||
Inserting Milestone info.
Comment 11•18 years ago
|
||
Don't mark it fixed yet -- editor mode still doesn't work as of yesterday (when
I last had a non-crashing build where I could test it). buster checked in some
changes that might help, but until I can see their effects I can't say what our
status is.
You need to log in
before you can comment on or make changes to this bug.
Description
•