Caret movement inconsistent

VERIFIED WORKSFORME

Status

()

Core
Selection
VERIFIED WORKSFORME
15 years ago
13 years ago

People

(Reporter: kaie, Assigned: Joe Francis)

Tracking

({regression})

Trunk
regression
Points:
---

Firefox Tracking Flags

(Not tracked)

Details

(Whiteboard: editorbase+)

Attachments

(1 attachment)

(Reporter)

Description

15 years ago
Open the attached document in editor.
It shows two lines:
 x
 y

I can imagine 4 positions where the caret could be placed in this document:

1:
  |x
   y


2:
   x|
   y

3:
   x
  |y

4:
   x
   y|  

When starting at position 1 using arrow right repeatedly:

Expected behaviour:
  we arrive at positions 2, then 3, then 4

Actual behaviour:
  we arrive at 2, 4, but not at 3


When starting at position 4, we do arrive at positions 3, then 2, then 1 as
expected.
(Reporter)

Updated

15 years ago
Whiteboard: editorbase
(Reporter)

Comment 1

15 years ago
Created attachment 126000 [details]
test html document
(Reporter)

Comment 2

15 years ago
Mozilla 1.3 does not have this bug.

This is a regression starting with 1.4 
Keywords: regression

Comment 3

15 years ago
I think this is a new regression.
when i using trunk20030608, I cannot reproduce this bug.
I also find info below when move caret:

An error occurred updating the cmd_ul command:
[Exception... "Security error"  code: "1000" nsresult: "0x805303e8
(NS_ERROR_DOM_SECURITY_ERR)"  location: "chrome://editor/content/Composer
Commands.js Line: 257"]
An error occurred updating the cmd_ol command:
[Exception... "Security error"  code: "1000" nsresult: "0x805303e8
(NS_ERROR_DOM_SECURITY_ERR)"  location: "chrome://editor/content/Composer
Commands.js Line: 257"]
An error occurred updating the cmd_paragraphState command:
[Exception... "Security error"  code: "1000" nsresult: "0x805303e8
(NS_ERROR_DOM_SECURITY_ERR)"  location: "chrome://editor/content/Composer
Commands.js Line: 257"]
An error occurred updating the cmd_ul command:
[Exception... "Security error"  code: "1000" nsresult: "0x805303e8
(NS_ERROR_DOM_SECURITY_ERR)"  location: "chrome://editor/content/Composer
Commands.js Line: 257"]
An error occurred updating the cmd_ol command:
[Exception... "Security error"  code: "1000" nsresult: "0x805303e8
(NS_ERROR_DOM_SECURITY_ERR)"  location: "chrome://editor/content/Composer
Commands.js Line: 257"]
An error occurred updating the cmd_paragraphState command:
[Exception... "Security error"  code: "1000" nsresult: "0x805303e8
(NS_ERROR_DOM_SECURITY_ERR)"  location: "chrome://editor/content/Composer
Commands.js Line: 257"]
An error occurred updating the cmd_ul command:
[Exception... "Security error"  code: "1000" nsresult: "0x805303e8
(NS_ERROR_DOM_SECURITY_ERR)"  location: "chrome://editor/content/Composer
Commands.js Line: 257"]
An error occurred updating the cmd_ol command:
[Exception... "Security error"  code: "1000" nsresult: "0x805303e8
(NS_ERROR_DOM_SECURITY_ERR)"  location: "chrome://editor/content/Composer
Commands.js Line: 257"]
An error occurred updating the cmd_paragraphState command:
[Exception... "Security error"  code: "1000" nsresult: "0x805303e8
(NS_ERROR_DOM_SECURITY_ERR)"  location: "chrome://editor/content/Composer
Commands.js Line: 257"]
editorbase+
Whiteboard: editorbase → editorbase+
(Reporter)

Comment 5

14 years ago
It's not likely that I will work on editor/selection bugs in the near future.
Mass assining my bugs to nobody.

Assignee: kaie → nobody

Comment 6

14 years ago
-->floppy (although he may want to reassign back to nobody or module owner)
Assignee: nobody → mozeditor

Updated

14 years ago
Blocks: 241023

Comment 7

13 years ago
Can't reproduce with Mozilla 1.7 or Firefox 0.8.
Status: NEW → RESOLVED
Last Resolved: 13 years ago
Resolution: --- → WORKSFORME

Comment 8

13 years ago
verified fixed on Mac Mozilla 1.7
Status: RESOLVED → VERIFIED
You need to log in before you can comment on or make changes to this bug.