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)

x86
Windows 95
defect

Tracking

()

VERIFIED FIXED

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
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
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
Mike does all the cursor motion stuff -- Mike, any idea what might be happening here?
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
Mass-moving most M15 bugs to M16
Target Milestone: M15 → M16
Status: NEW → ASSIGNED
Priority: P3 → P1
This is the same problem of 387104 filed on March 2 in Bugsplat.
cwang--probably bug 387104 in bugsplat should be resolve (ideally as a duplicate of this bug but that's not possible).
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
Assignee: saari → andreww
Status: ASSIGNED → NEW
Keywords: nsbeta2
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
found it - the overlay and the main IM page both had an editor commands overlay. So it was gettig called twice. Thanks!
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.