Open Bug 356288 Opened 18 years ago Updated 3 years ago

pasting long unbroken text resets editors to "top of form".

Categories

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

1.8 Branch
x86
Windows XP
defect

Tracking

()

UNCONFIRMED

People

(Reporter: maury.markowitz, Unassigned)

Details

User-Agent:       Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.1) Gecko/20061003 Firefox/2.0
Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.1) Gecko/20061003 Firefox/2.0

I do a lot of editing on the wiki, and have to paste in URL's containing references. If the URL in question is wider than the current editor's display, when you paste the editor scrolls to the top. This is VERY frustrating!

The problem appears to be due to some confusion on the part of the editor when the line is not wrapped to the width of the editor during pasting. Whereas before the paste the editor has no horizontal scroll bar, after pasting one appears. I am not sure if this wrapping is supposed to occur or not.

Reproducible: Always

Steps to Reproduce:
1. open any multi-page article on the wiki and click "edit this page"
2. scroll into the middle (or thereabouts) of the article
3. paste in any long string of text with no whitespace
4. please do not save your changes!

Actual Results:  
Editor scrolls to the top of the page.

Expected Results:  
Either the text should be wrapped during pasting, or the editor should simply scroll horizontally.
I see what you mean. This bug is present in branch builds, but fixed on trunk in March of this year, probably by bug 192767.
You can try it out:
http://ftp.mozilla.org/pub/mozilla.org/firefox/nightly/latest-trunk/
Component: General → Editor
Product: Firefox → Core
QA Contact: general
Version: unspecified → 1.8 Branch
QA Contact: editor

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

If you have reason to believe this is wrong, 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.