The default bug view has changed. See this FAQ.

Find a better way to scroll web console output

RESOLVED FIXED in Firefox 12

Status

()

Firefox
Developer Tools: Console
RESOLVED FIXED
5 years ago
5 years ago

People

(Reporter: jwalker, Assigned: jwalker)

Tracking

unspecified
Firefox 12
Points:
---
Dependency tree / graph

Firefox Tracking Flags

(Not tracked)

Details

Attachments

(1 attachment)

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
Created attachment 580882 [details] [diff] [review]
upload 1

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 2

5 years ago
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: 689605
https://tbpl.mozilla.org/?tree=Fx-Team&rev=9ea2996a1f3c
Whiteboard: [landed-in-fxteam]
https://hg.mozilla.org/mozilla-central/rev/a64fb47161e7
Status: ASSIGNED → RESOLVED
Last Resolved: 5 years ago
Resolution: --- → FIXED
Whiteboard: [landed-in-fxteam]
Target Milestone: --- → Firefox 12
You need to log in before you can comment on or make changes to this bug.