Closed mstange closed 1 month ago
Can we make tooltips non-sticky in the flame graph, please?
I agree sticky tooltips, as they currently behave, are a pain in the flame graph.
Instead of disabling them in the flame graph, could we instead make the tooltip sticky only when clicking on a node that is already selected? This would let us click around to see the highlighting change in the activity graph, but would also let us copy/paste from the tooltips when we really want to. I remember we discussed that suggestion in a standup but I don't remember what the conclusion of the conversation was.
That's good feedback, thanks.
It's not obvious how to change this because the logic of displaying the tooltip is shared by all canvas-based charts. I guess we'll need to make this more configurable depending on the chart.
I just opened #5147 to disable it in flame graph and stack chart. Thanks for the feedbacks.
Instead of disabling them in the flame graph, could we instead make the tooltip sticky only when clicking on a node that is already selected? This would let us click around to see the highlighting change in the activity graph, but would also let us copy/paste from the tooltips when we really want to. I remember we discussed that suggestion in a standup but I don't remember what the conclusion of the conversation was.
Yeah, I remember having that as well. But I'm unsure if that complexity will bring any value.
Maybe still it might be good for power users, so let me know what you think. But I think we can disable it as a quick fix and then iterate over it later.
Profile: https://share.firefox.dev/4gJdYlB
In the flame graph, I often click a call node in order to change the highlighting in the activity graph - I want to know where in the timeline this function is called. As of recently, clicking a call node in the flame graph makes the tooltip sticky. This can hide a large part of the flame graph and even a part of the activity graph, until you scroll the flame graph or click in an empty spot. Can we make tooltips non-sticky in the flame graph, please?