Closed Bug 1261477 Opened 8 years ago Closed 8 years ago

Values of long watch expressions are not visible

Categories

(DevTools :: Debugger, defect, P3)

defect

Tracking

(firefox48 affected, firefox50 fixed)

RESOLVED FIXED
Firefox 50
Tracking Status
firefox48 --- affected
firefox50 --- fixed

People

(Reporter: arni2033, Assigned: gregtatum)

Details

Attachments

(2 files, 3 obsolete files)

>>>   My Info:   Win7_64, Nightly 48, 32bit, ID 20160330030326
STR:
1. Open attachment 8724506 [details], set breakpoint at line 3, click on the page
2. Add watch expression:  "window || window || window || window || window || window || window"
3. Resize sidebar to be as narrow as possible

AR:  Value of long watch expression isn't visible
ER:  Values of watch expressions should be visible

Note:  You can accidentally run into bug 1211514
Another UI papercut. Assigning P3.
Priority: -- → P3
Assignee: nobody → gtatum
Since XUL can't do max-width values for percentages, I compromised with using a
fixed max-width. I added a custom class name based on the label's name to the
to the VariableView's Scope view and wrote some CSS to match off of that. This
way only the Watch Expressions will be affected by this new rule, as they seem
to have the ability to grow much wider than the other Scope parameters.
Attachment #8743430 - Flags: review?(ejpbruel)
Attached video watch-expressions.mov
A short video showing the new behavior.
Comment on attachment 8743430 [details] [diff] [review]
Values of long watch expressions are not visible

For debugger frontend code, James is a better pick for review.
Attachment #8743430 - Flags: review?(ejpbruel) → review?(jlong)
Comment on attachment 8743430 [details] [diff] [review]
Values of long watch expressions are not visible

Review of attachment 8743430 [details] [diff] [review]:
-----------------------------------------------------------------

Seems good!
Attachment #8743430 - Flags: review?(jlong) → review+
Updated reviewer in commit message.
Attachment #8743430 - Attachment is obsolete: true
My changes got clobbered on a rebase with the firebug theme additions. When I went
back to fix this I realized that I was basing the class name of the element on
a localized string, which would break the CSS in other languages. This new
approach should fix it. Sorry for the re-review.
Attachment #8751282 - Flags: review?(jlong)
Attachment #8745328 - Attachment is obsolete: true
Comment on attachment 8751282 [details] [diff] [review]
Make values of long watch expressions visible

Review of attachment 8751282 [details] [diff] [review]:
-----------------------------------------------------------------

Sorry, I haven't been watching bugzilla as much while working on the new debugger :(
Attachment #8751282 - Flags: review?(jlong) → review+
This patch is a rebase.
Attachment #8751282 - Attachment is obsolete: true
Keywords: checkin-needed
Attachment #8763614 - Flags: review+
Pushed by cbook@mozilla.com:
https://hg.mozilla.org/integration/fx-team/rev/757bd4dfc3c3
Make values of long watch expressions visible r=jlongster
Keywords: checkin-needed
https://hg.mozilla.org/mozilla-central/rev/757bd4dfc3c3
Status: NEW → RESOLVED
Closed: 8 years ago
Resolution: --- → FIXED
Target Milestone: --- → Firefox 50
Product: Firefox → DevTools
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: