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

UNCONFIRMED
Unassigned

Status

()

Core
Editor
UNCONFIRMED
12 years ago
11 years ago

People

(Reporter: Maury Markowitz, Unassigned)

Tracking

1.8 Branch
x86
Windows XP
Points:
---

Firefox Tracking Flags

(Not tracked)

Details

(Reporter)

Description

12 years ago
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
You need to log in before you can comment on or make changes to this bug.