Closed
Bug 32750
Opened 25 years ago
Closed 25 years ago
left arrow after typing 2 of the same character moves twice
Categories
(Core :: DOM: Editor, defect, P1)
Tracking
()
VERIFIED
FIXED
M16
People
(Reporter: andreww, Assigned: andreww)
Details
Steps to reproduce
1)Launch IM
2)choose someone and pick "send im"
3)in the compose field of the resulting window type two characters which are the
same:
XX
4)Now hit the left arrow key.
Expected results:
The cursor goes between the two characters:
X|X
Actual results:
The cursor jumps two characters:
|XX
Comment 1•25 years ago
|
||
andreww--does paste (control-v) paste the clipboard contents twice as well?
does right arrow also move two characters?
Summary: hitting back after typing two of the same character skips one... → left arrow after typing 2 of the same character moves twice
Comment 2•25 years ago
|
||
assigning to Akkana -- Akkana I tried this in composer and mail and it works
fine there, however, in IM it is broken. I used the commercial build from 3/29
on win95.
Assignee: brade → akkana
Target Milestone: --- → M15
Comment 3•25 years ago
|
||
Mike does all the cursor motion stuff -- Mike, any idea what might be happening
here?
Comment 4•25 years ago
|
||
It turns out that this isn't specific to motions: other XBL bindings -- like
control-V -- also get interpreted twice. In other words, this is a double key
event problem.
(Is it possible that IM is using both XBL and XUL bindings, and that the event
is not getting cancelled in between?)
Sounds like saari's area.
Assignee: akkana → saari
Updated•25 years ago
|
Status: NEW → ASSIGNED
Priority: P3 → P1
Comment 6•25 years ago
|
||
This is the same problem of 387104 filed on March 2 in Bugsplat.
Comment 7•25 years ago
|
||
cwang--probably bug 387104 in bugsplat should be resolve (ideally as a duplicate
of this bug but that's not possible).
Comment 8•25 years ago
|
||
reproduced in today's verification build using Win98. Since this happens _only_
in AIM, someone in AIM should check to ensure they aren't using both XUL and XBL
keybindings, as suggested by akkana. reassigning, cc saari, putting on nsbeta2
radar
Comment 9•25 years ago
|
||
Suggestion: try setting a breakpoint in nsSelectionMoveCommands::DoCommand
(that's in editor/base/nsEditorCommands.cpp) in the cmd_charPrevious clause.
Both XUL and XBL bindings should go there. If you get two breakpoints, a stack
trace should tell you more (whether it's two xbl, two xul, or one of each, any
one of which is an error). If you only break there once, then the trick will be
to figure out who else is moving the selection (perhaps something under
nsSelection.cpp, like nsSelection::CharacterMove?)
Status: NEW → RESOLVED
Closed: 25 years ago
Resolution: --- → FIXED
Assignee | ||
Comment 10•25 years ago
|
||
found it - the overlay and the main IM page both had an editor commands overlay.
So it was gettig called twice. Thanks!
Comment 11•24 years ago
|
||
I just verified that this was fixed in my Win32 10/27/00
Netscape_20000922_BRANCH build.
Status: RESOLVED → VERIFIED
You need to log in
before you can comment on or make changes to this bug.
Description
•