Closed Bug 704184 Opened 13 years ago Closed 13 years ago

Find a better way to scroll web console output

Categories

(DevTools :: Console, defect)

defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED
Firefox 12

People

(Reporter: jwalker, Assigned: jwalker)

References

Details

Attachments

(1 file)

Web console assumes that it's OK to make all elements horizontally scroll together. Traditional consoles force vertical scrolling only.
So GCLI creates a paragraph of text expecting that the console will keep it horizontally constrained, but the console lets is overflow.

On the other hand there are types of console output (more than URLs) that need some sort of special 'wide' treatment.

There is probably a compromise where we elide the URLs in a smart way. (IIRC we were originally up against a bug that's since been fixed?)
Assignee: nobody → jwalker
Status: NEW → ASSIGNED
Attached patch upload 1Splinter Review
Hacky fix which uses JS to adjust the size of the GCLI outputs, but leaves the others alone.

It is expected that there will be better long term fixes than this one.
Attachment #580882 - Flags: review?(dcamp)
Comment on attachment 580882 [details] [diff] [review]
upload 1

r+ with a clarification of the 'a.k.a. otherWidth = 123' comment.
Attachment #580882 - Flags: review?(dcamp) → review+
Blocks: GCLI-SHIP
https://tbpl.mozilla.org/?tree=Fx-Team&rev=9ea2996a1f3c
Whiteboard: [landed-in-fxteam]
https://hg.mozilla.org/mozilla-central/rev/a64fb47161e7
Status: ASSIGNED → RESOLVED
Closed: 13 years ago
Resolution: --- → FIXED
Whiteboard: [landed-in-fxteam]
Target Milestone: --- → Firefox 12
Product: Firefox → DevTools
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: