Closed Bug 881209 Opened 11 years ago Closed 11 years ago

Scrolling in the variables view is much choppier after bug 760370

Categories

(DevTools :: Debugger, defect, P3)

defect

Tracking

(Not tracked)

RESOLVED FIXED
Firefox 24

People

(Reporter: vporof, Assigned: vporof)

References

Details

Attachments

(2 files)

The .title:after rules introduced in bug 760370 seem to very obviously slow down scrolling, making it very choppy, at least on my machine (that fact that it's a retina display probably makes things much worse).

This can be easily optimized by not positioning things via pseudoclasses.
Blocks: 760370
Assignee: nobody → vporof
Status: NEW → ASSIGNED
Attached patch v1Splinter Review
Attachment #762723 - Flags: review?(past)
Comment on attachment 762723 [details] [diff] [review]
v1

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

::: browser/devtools/netmonitor/netmonitor-view.js
@@ +48,3 @@
>  };
>  const GENERIC_VARIABLES_VIEW_SETTINGS = {
> +  lazyEmpty: true,

This was an unfortunate typo. See the property below.
Comment on attachment 762723 [details] [diff] [review]
v1

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

I only have one question, but this looks great otherwise.

::: browser/devtools/shared/widgets/VariablesView.jsm
@@ +2408,5 @@
> +    tooltip.setAttribute("orient", "horizontal");
> +
> +    let labels = [
> +      "configurable", "enumerable", "writable",
> +      "frozen", "sealed", "extensible", "native-getter"];

Now the "N" symbol requires extra mental effort to parse, but it's probably offset by the decrease in the tooltip length.

::: browser/themes/osx/devtools/widgets.css
@@ -411,5 @@
>  }
>  
> -.variables-view-scope > .variables-view-element-details.enum:not(:empty) {
> -  border-bottom: 1px solid #ddd;
> -}

Why are you removing this, and why only on OS X?
Attachment #762723 - Flags: review?(past) → review+
(In reply to Panos Astithas [:past] from com
> > -.variables-view-scope > .variables-view-element-details.enum:not(:empty) {
> > -  border-bottom: 1px solid #ddd;
> > -}
> 
> Why are you removing this, and why only on OS X?

Accident!
Attached patch v1.1Splinter Review
Added the deleted rule again.
Attachment #763549 - Flags: review+
Priority: -- → P3
https://hg.mozilla.org/mozilla-central/rev/e2577d0fa093
Status: ASSIGNED → RESOLVED
Closed: 11 years ago
Resolution: --- → FIXED
Whiteboard: [fixed-in-fx-team]
Target Milestone: --- → Firefox 24
Product: Firefox → DevTools
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: