Closed Bug 1049820 Opened 10 years ago Closed 9 years ago

Make the Profiler Category and Framerate graphs themable

Categories

(DevTools :: Performance Tools (Profiler/Timeline), defect, P2)

defect

Tracking

(Not tracked)

RESOLVED INVALID

People

(Reporter: rcampbell, Unassigned)

References

Details

Attachments

(2 files, 2 obsolete files)

Currently the Profiler Categories Graph is light theme only. It should adapt to dark theme too.
No longer blocks: profiler-followups
Summary: Make the Profiler Category (Graph) themable → Make the Profiler Category and Framerate graphs themable
OS: Mac OS X → All
Priority: -- → P2
Hardware: x86 → All
Assignee: nobody → jsantell
Status: NEW → ASSIGNED
Quick test added for this, as we'll be deprecating this in favour of the new perf tool.
https://treeherder.mozilla.org/ui/#/jobs?repo=try&revision=272dfbd96658
Attachment #8544277 - Flags: review?(vporof)
Comment on attachment 8544277 [details] [diff] [review]
1049820-categories-graph-dark-theme.patch

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

So metal

::: browser/devtools/shared/widgets/Graphs.jsm
@@ +1605,5 @@
>      let height = this._height;
>  
> +    // Draw the background.
> +    ctx.fillStyle = this.backgroundColor;
> +    ctx.fillRect(0, 0, width, height);

If you're doing this, remove the background from the css (if there is one, I can't remember). Probably in widgets.inc.css.
Attachment #8544277 - Flags: review?(vporof) → review+
Ah, you're right -- removing extra CSS
Attachment #8544277 - Attachment is obsolete: true
Attachment #8544297 - Flags: review+
Backed out for apparently causing ASAN leaks (at least it certainly seems like the most plausible candidate from the push).
https://hg.mozilla.org/integration/fx-team/rev/afbe988c3bea

https://treeherder.mozilla.org/logviewer.html#?job_id=1604782&repo=fx-team
Confirmed green on the backout.
Whiteboard: [fixed-in-fx-team]
Try looks good (I think), Should this be landed ?
Flags: needinfo?(jsantell)
the last ASAN try link has the obscure link failure as well, so this is not yet good to go
Flags: needinfo?(jsantell)
We do not currently have a categories graph, so removing this from bug 1110550
No longer blocks: 1110550
Assignee: jsantell → nobody
Status: ASSIGNED → NEW
No longer have a category graph, and framerate graph responds to themes now, so closing this.
Status: NEW → RESOLVED
Closed: 9 years ago
Resolution: --- → INVALID
Product: Firefox → DevTools
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: