Closed Bug 510484 Opened 15 years ago Closed 15 years ago

Horizontal scrollbar rendered useless on long line XML Parser errors

Categories

(Core :: XML, defect)

x86
Windows XP
defect
Not set
normal

Tracking

()

RESOLVED DUPLICATE of bug 369950

People

(Reporter: lech, Unassigned)

Details

Attachments

(1 file)

User-Agent:       Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.1.2) Gecko/20090729 Firefox/3.5.2
Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.1.2) Gecko/20090729 Firefox/3.5.2

When opening a document which contains very long lines when encountering an XML Parsing error, the horizontal scrollbar and buttons are non-functional.

Reproducible: Always

Steps to Reproduce:
1. Open up any well-formed XML or XHTML document with very long lines throughout it that go well off-screen.
2. Insert an invalid entity at the very end of one of those long lines.
3. Open it up in Firefox and attempt to reach the point of the error using the horizontal scrollbar.
Actual Results:  
You can't use the scrollbar or scrollbar buttons to scroll to the error. Arrow keys still work, but if the error is far down the line good luck seeing the error quickly.

Expected Results:  
Whee! Scroll!

Bug 52422 should get some love and cuddling out of this. 

Instead of displaying the error as it's shown currently, it should return the entire document but start highlighting at the erroneous position in red. Otherwise return just the line like it's done currently but instead wrap it and highlight from the start of said error. 

Also, wrapping and linking of the location would be a huge help as well if the URL or local document when dealing with multiple files producing such errors. It just looks nice.

The "-----^" arrow used should be dropped and is not very useful to begin with.
Mozilla/5.0 (Windows; U; Windows NT 6.0; en-US; rv:1.9.3a1pre) Gecko/20090814 Minefield/3.7a1pre

The scrollbar works fine with the latest trunk nightly build and with Namoroko so this bug can be resolved WORKSFORME. The bug won't be present anymore in the next release, Firefox 3.6. 

http://ftp.mozilla.org/pub/mozilla.org/firefox/nightly/latest-mozilla-1.9.2/
Status: UNCONFIRMED → RESOLVED
Closed: 15 years ago
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: