Closed
Bug 1246884
Opened 9 years ago
Closed 7 years ago
The time-framerate graph does not hide if its option is disabled
Categories
(DevTools :: Performance Tools (Profiler/Timeline), defect, P2)
DevTools
Performance Tools (Profiler/Timeline)
Tracking
(firefox44 affected, firefox45 affected, firefox46 affected, firefox47 affected, firefox-esr38 unaffected)
RESOLVED
WONTFIX
Tracking | Status | |
---|---|---|
firefox44 | --- | affected |
firefox45 | --- | affected |
firefox46 | --- | affected |
firefox47 | --- | affected |
firefox-esr38 | --- | unaffected |
People
(Reporter: magicp.jp, Unassigned)
References
Details
Attachments
(2 files)
User Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:47.0) Gecko/20100101 Firefox/47.0
Build ID: 20160208030244
Steps to reproduce:
1. Start any versions Firefox with new profile
2. Open Devtools > Performance
3. Check off "Record Framerate" option
4. Start and Stop recording performance
Actual results:
time-framerate is displayed and overlapped into detail-pane. Probably, hidden class does not enable.
Expected results:
time-framerate should be hidden if its option is disabled.
STR
> 1. Start any versions Firefox with new profile
> 2. Open Devtools > Performance
+ Start and Stop recording performance
> 3. Check off "Record Framerate" option
> 4. Start and Stop recording performance
Has STR: --- → yes
status-firefox44:
--- → affected
status-firefox45:
--- → affected
status-firefox46:
--- → affected
status-firefox47:
--- → affected
status-firefox-esr38:
--- → unaffected
Component: Untriaged → Developer Tools: Performance Tools (Profiler/Timeline)
OS: Unspecified → All
Hardware: Unspecified → All
Regression window
pushlog_url: https://hg.mozilla.org/integration/fx-team/pushloghtml?fromchange=0b01db3f7238c0848a0d18046602b0f8bc908dcb&tochange=1e64ee0dc934f5c92d10d495abfbf38acd1931d5
Has Regression Range: --- → yes
Flags: needinfo?(bgrinstead)
Blocks: perf-tool-papercuts
Comment 3•9 years ago
|
||
It's because there's a display flex set on a parent element which also has the 'hidden' class applied: https://hg.mozilla.org/integration/fx-team/rev/1e64ee0dc934#l2.19
Comment 4•9 years ago
|
||
Review commit: https://reviewboard.mozilla.org/r/35277/diff/#index_header
See other reviews: https://reviewboard.mozilla.org/r/35277/
Attachment #8720361 -
Flags: review?(vporof)
Updated•9 years ago
|
Flags: needinfo?(bgrinstead)
Updated•9 years ago
|
Assignee: nobody → bgrinstead
Status: NEW → ASSIGNED
Comment 5•9 years ago
|
||
Comment on attachment 8720361 [details]
MozReview Request: Bug 1246884 - Make sure hidden graphs display isn't overridden by Graphs.js;r=vporof
https://reviewboard.mozilla.org/r/35277/#review32411
::: devtools/client/performance/test/browser_perf-options-enable-framerate.js:18
(Diff revision 1)
> + "PerformanceFront started with ticks recording.");
Please put this into a new test. Starting and stopping a recording is notoriously heavy on try servers, and tests frequently time out if there's too much profiler action going on.
Attachment #8720361 -
Flags: review?(vporof) → review+
Comment 6•9 years ago
|
||
Should land this, maybe? Ping :bgrins.
Priority: -- → P2
Summary: [DevTools][Performance] time-framerate does not hide if its option is disabled → The time-framerate graph does not hide if its option is disabled
Comment 7•9 years ago
|
||
Comment on attachment 8720361 [details]
MozReview Request: Bug 1246884 - Make sure hidden graphs display isn't overridden by Graphs.js;r=vporof
Review request updated; see interdiff: https://reviewboard.mozilla.org/r/35277/diff/1-2/
Comment 8•9 years ago
|
||
Looks like it's been split into two tests in the meantime, let me know if you want this to be a third or if it's OK where I put it
Comment 9•9 years ago
|
||
https://reviewboard.mozilla.org/r/35277/#review37751
::: devtools/client/performance/test/browser_perf-options-enable-framerate-01.js:26
(Diff revision 2)
>
> let { $, PerformanceController } = panel.panelWin;
>
> + // Start with default framerate setting (visible)
> + yield startRecording(panel);
> + yield stopRecording(panel);
This test already starts/stops recording twice. Adding another third recording will likely cause this to intermittently time out on slow hardware and debug builds. Please create a new test :(
Comment 10•9 years ago
|
||
Comment on attachment 8720361 [details]
MozReview Request: Bug 1246884 - Make sure hidden graphs display isn't overridden by Graphs.js;r=vporof
Review request updated; see interdiff: https://reviewboard.mozilla.org/r/35277/diff/2-3/
Comment 11•9 years ago
|
||
OK, split into a new test: https://treeherder.mozilla.org/#/jobs?repo=try&revision=50023140b72a
Comment 12•9 years ago
|
||
That try run isn't very happy looking :(
Comment 13•9 years ago
|
||
Huh... seems like running getComputedStyle on element in the test helper is causing exceptions to happen in the frontend, specifically this stack trace which is pointing to a place where the font is set on a canvas context (https://dxr.mozilla.org/mozilla-central/source/devtools/client/performance/modules/widgets/markers-overview.js#169):
30 INFO TEST-UNEXPECTED-FAIL | devtools/client/performance/test/browser_perf-overview-render-04.js | A promise chain failed to handle a rejection: - at resource://gre/modules/commonjs/toolkit/loader.js -> resource://devtools/client/performance/modules/widgets/markers-overview.js:169 -
Stack trace:
JS frame :: resource://gre/modules/commonjs/toolkit/loader.js -> resource://devtools/client/performance/modules/widgets/markers-overview.js :: MarkersOverview.prototype<.buildGraphImage :: line 169
JS frame :: resource://gre/modules/commonjs/toolkit/loader.js -> resource://devtools/client/shared/widgets/Graphs.js :: AbstractCanvasGraph.prototype.setData :: line 287
JS frame :: resource://gre/modules/commonjs/toolkit/loader.js -> resource://devtools/client/performance/modules/widgets/graphs.js :: GraphsController.prototype.render< :: line 224
JS frame :: resource://gre/modules/Task.jsm :: TaskImpl_run :: line 319
JS frame :: resource://gre/modules/Promise.jsm -> resource://gre/modules/Promise-backend.js :: Handler.prototype.process :: line 937
JS frame :: resource://gre/modules/Promise.jsm -> resource://gre/modules/Promise-backend.js :: this.PromiseWalker.walkerLoop :: line 816
Updated•8 years ago
|
Assignee: bgrinstead → nobody
Status: ASSIGNED → NEW
Comment 14•7 years ago
|
||
I'm going to close this bug to reflect reality. The new perf tool is being merged into the toolbox (tracked in Bug 1418044), so this won't get fixed.
Status: NEW → RESOLVED
Closed: 7 years ago
Resolution: --- → WONTFIX
Comment 15•7 years ago
|
||
> I'm going to close this bug to reflect reality. The new perf tool is being merged into the toolbox (tracked in Bug 1418044), so this won't get fixed.
Just don't set your expectations to high: we're merging the perf tool but keeping it hidden behind a pref. We still have quite a few things to do before replacing the current perf tool and I'm still not sure how high a priority this will be next year.
Updated•6 years ago
|
Product: Firefox → DevTools
You need to log in
before you can comment on or make changes to this bug.
Description
•