Open Bug 107775 Opened 24 years ago Updated 5 years ago

putting image in composer then placing caret infront and hitting indent button more that 14 times the caret jumps to line above

Categories

(Core :: DOM: Editor, defect, P5)

defect

Tracking

()

Future

People

(Reporter: TucsonTester1, Unassigned)

Details

From Bugzilla Helper: User-Agent: Mozilla/5.0 (Macintosh; U; PPC Mac OS X; en-US; rv:0.9.4) Gecko/20011022 Netscape6/6.2 BuildID: 2001102294 I made a new page in composer with 1 image(resized custom 75 pixels for width height set to 39 and hit ok,then I put the caret in front of the image and hit the space bar 3 times then I hit the indent button 14 times and the caret jumped to the line above the image and they both kept moving then if you hit the outdent back 1 to 2 hits the caret drops down where it should be Reproducible: Always Steps to Reproduce: 1.open new composer window 2.click on image button insert image from "http://www.mozilla.org/quality/browser/front-end/testcases/composer/imgmap.png" change to custom size width 75 pixels and height 39 now hit ok 3 times 3.now place the caret infront of the image on the screen and hit the spacebar 3 times,now hit the indent button 14 times(notice how the caret jumps up top) 4. hit the outdent now and you see that the caret coes back if you hit the button 1 to 2 times IMac 8.6 os 160 mb ram Gecko/20011022 Actual Results: Actual Results: the caret jumped to the line above the image Expected Results: Expected Results: It should just keep indenting as long as you want I am filing this per an email I got stating to refile it per my last filing (http://bugzilla.mozilla.org/show_bug.cgi?id=106480)
if you start hitting spaces somewhere along the line instead of the indent button you get other weird behavior akin to the jumping cursor. Spaces are the key here, not the indent -- if the content is void of spaces, the indent and cursor happen well. EDITORBASE but lower priority
Whiteboard: EDITORBASE
Confrimed on Win 2k using build 2001111603.
Status: UNCONFIRMED → NEW
Ever confirmed: true
Whiteboard: EDITORBASE → EDITORBASE-
Target Milestone: --- → M1
Target Milestone: M1 → Future
Caret jumping is really bad, we should sit it down and make it behave. EDITORBASE.
Assignee: syd → mjudge
Whiteboard: EDITORBASE- → EDITORBASE
Component: Editor: Composer → Editor: Core
Build 2001121803 Notice a couple of things on this bug 1st - It happens regardless if you change to custom size 2nd - It happens to other insert items (e.g. targets, characters and text) so it is not an issue with images 3rd - It not dependent on the number of spaces or indents you enter (you can enter just 1 space and when you get to about the middle of the page using indents then you see the bugs effects - so depending on the size of your composer window it maybe a few indents or more then 13) 4th - if you insert an object (image, target...) and place the cursor in front of it and hit the spacebar until the object is in the center of the screen then hit the indent button a few times the object goes all over the screen.
removing EDITORBASE per meeting
Whiteboard: EDITORBASE
QA Contact: sujay → editor
Assignee: mjudge → nobody

Bulk-downgrade of unassigned, >=5 years untouched DOM/Storage bugs' priority.

If you have reason to believe this is wrong (especially for the severity), please write a comment and ni :jstutte.

Severity: normal → S4
Priority: -- → P5
You need to log in before you can comment on or make changes to this bug.