Closed
Bug 1253803
Opened 9 years ago
Closed 9 years ago
[DevTools][Memory] Dagre-D3 graph is not updated when switching Label-by
Categories
(DevTools :: Memory, defect, P1)
DevTools
Memory
Tracking
(firefox47 affected, firefox48 fixed)
VERIFIED
FIXED
Firefox 48
People
(Reporter: magicp.jp, Assigned: fitzgen)
References
(Blocks 1 open bug)
Details
Attachments
(2 files)
(deleted),
patch
|
jsantell
:
review+
|
Details | Diff | Splinter Review |
(deleted),
patch
|
Details | Diff | Splinter Review |
User Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:47.0) Gecko/20100101 Firefox/47.0
Build ID: 20160304030206
Steps to reproduce:
1. Start Nightly
2. Open DevTools > Memory
3. Switch view to "Dominators"
4. Select any rows -> Dagre-D3 graph is displayed
5. Switch Label-by to "Call Stack" -> Previous Dagre-D3 graph is still displayed
Actual results:
Dagre-D3 graph is not updated when switching Label-by
Expected results:
Is this behavior correct? If this is not, Dagre-D3 graph is updated (clear graph).
Blocks: memory-frontend
Has STR: --- → yes
status-firefox47:
--- → affected
Component: Untriaged → Developer Tools: Memory
OS: Unspecified → All
Hardware: Unspecified → All
> 1. Start Nightly
> 2. Open DevTools > Memory
> 3. Switch view to "Dominators"
+ Take snapshot
> 4. Select any rows -> Dagre-D3 graph is displayed
> 5. Switch Label-by to "Call Stack" -> Previous Dagre-D3 graph is still
> displayed
Assignee | ||
Comment 2•9 years ago
|
||
You are correct, it should change the labels for nodes in the graph as we change the "Label By:" option.
Assignee: nobody → nfitzgerald
Priority: -- → P2
Assignee | ||
Updated•9 years ago
|
Priority: P2 → P1
Assignee | ||
Comment 3•9 years ago
|
||
Attachment #8737996 -
Flags: review?(jsantell)
Assignee | ||
Comment 4•9 years ago
|
||
Updated•9 years ago
|
Attachment #8737996 -
Flags: review?(jsantell) → review+
Assignee | ||
Updated•9 years ago
|
Keywords: checkin-needed
Keywords: checkin-needed
Comment 6•9 years ago
|
||
bugherder |
Status: NEW → RESOLVED
Closed: 9 years ago
status-firefox48:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → Firefox 48
Assignee | ||
Comment 7•9 years ago
|
||
Comment on attachment 8737996 [details] [diff] [review]
Ensure that we maintain the focused node state when changing labels in the dominators view
Approval Request Comment
[Feature/regressing bug #]:
Bug 1229229
[User impact if declined]:
The selected node's retaining paths will not be updated when changing label types in memory tool. Also focused node will not persist across changing label types in memory tool.
[Describe test coverage new/current, TreeHerder]:
Extensive test coverage for memory tool / feature already in m-c. This patch also added a regression test for this particular bug.
[Risks and why]:
Very little. Devtools only feature.
[String/UUID change made/needed]:
None.
Attachment #8737996 -
Flags: approval-mozilla-aurora?
Assignee | ||
Comment 8•9 years ago
|
||
(In reply to Nick Fitzgerald [:fitzgen] [⏰PDT; UTC-7] from comment #7)
> Comment on attachment 8737996 [details] [diff] [review]
> Ensure that we maintain the focused node state when changing labels in the
> dominators view
>
> Approval Request Comment
> [Feature/regressing bug #]:
> Bug 1229229
Er actually bug 1149385.
Hello magic.cp, could you please verify this issue is fixed as expected on a latest Nightly build? Thanks!
Flags: needinfo?(magicp.jp)
Comment on attachment 8737996 [details] [diff] [review]
Ensure that we maintain the focused node state when changing labels in the dominators view
Regression with new automated test, Aurora47+
Attachment #8737996 -
Flags: approval-mozilla-aurora? → approval-mozilla-aurora+
Reporter | ||
Comment 11•9 years ago
|
||
(In reply to Ritu Kothari (:ritu) from comment #9)
> Hello magic.cp, could you please verify this issue is fixed as expected on a
> latest Nightly build? Thanks!
My expected result is that graph is cleared when changing labels in the dominators view. This meaning is that node will be lost focus. New behavior is that keeping node focus and updating graph. It's good to me, but this specification does not work if you selected a node in the load more.
Flags: needinfo?(magicp.jp)
Assignee | ||
Comment 13•9 years ago
|
||
Assignee | ||
Updated•9 years ago
|
Flags: needinfo?(nfitzgerald)
Hi Nick, can you please address the concern in comment 11? Thanks!
Flags: needinfo?(nfitzgerald)
Based on the verification in comment 11.
Status: RESOLVED → VERIFIED
Assignee | ||
Comment 16•9 years ago
|
||
(In reply to magicp from comment #11)
> (In reply to Ritu Kothari (:ritu) from comment #9)
> > Hello magic.cp, could you please verify this issue is fixed as expected on a
> > latest Nightly build? Thanks!
>
> My expected result is that graph is cleared when changing labels in the
> dominators view. This meaning is that node will be lost focus. New behavior
> is that keeping node focus and updating graph. It's good to me, but this
> specification does not work if you selected a node in the load more.
Filed bug 1263727 for this.
Flags: needinfo?(nfitzgerald)
Comment 17•9 years ago
|
||
Comment 18•9 years ago
|
||
backed out for test failures like https://treeherder.mozilla.org/logviewer.html#?job_id=2335247&repo=mozilla-aurora
Comment 19•9 years ago
|
||
bugherder uplift |
Backed out for xpcshell failures like https://treeherder.mozilla.org/logviewer.html#?job_id=2350162&repo=mozilla-aurora
https://hg.mozilla.org/releases/mozilla-aurora/rev/aa74410e52f0
Flags: needinfo?(nfitzgerald)
Assignee | ||
Updated•9 years ago
|
Flags: needinfo?(nfitzgerald)
Comment 21•9 years ago
|
||
bugherder uplift |
Comment 22•9 years ago
|
||
*sigh* Total brainfart on that one. Would be nice if approval flags could be cleared on patches that got backed out.
https://hg.mozilla.org/releases/mozilla-aurora/rev/98da47b4d83c
Flags: needinfo?(rkothari)
Comment on attachment 8737996 [details] [diff] [review]
Ensure that we maintain the focused node state when changing labels in the dominators view
Seems like this never got uplifted to Fx47, clearing out the flags to reflect that.
Flags: needinfo?(rkothari)
Attachment #8737996 -
Flags: approval-mozilla-aurora+
Updated•6 years ago
|
Product: Firefox → DevTools
You need to log in
before you can comment on or make changes to this bug.
Description
•