tensorboard icon indicating copy to clipboard operation
tensorboard copied to clipboard

Sticky Scalar tab legend popups

Open karevn opened this issue 2 years ago • 3 comments

Environment information (required)

This bug is environment-agnostic JS issue

For browser-related issues, please additionally specify:

Browser-agnostic, but I used latest Chrome / Chromium

Issue description

  1. Open Tensorboard's scalars tab, have many open graphs (I used RLLib as a data source)
  2. Randomly hover over graphs
  3. Popups with legends and values appear when hovering over graphs
  4. After some playing, some popup legends do not disappear when moving mouse cursor out of corresponding graphs.

karevn avatar Jan 18 '23 06:01 karevn

I'm having trouble reproducing the issue on my end.

Would you mind providing the results of our diagnostic script and a screengrab of the problem if possible?

groszewn avatar Jan 18 '23 16:01 groszewn

I believe one way to reproduce this is to:

  1. Scroll a graph (say G) such that is is partially occluded by the top bar. image

  2. Then scroll over the graph G to reveal the legend. image

  3. Then move the mouse pointer to the top menu bar directly from graph G. [Not giving legend the opportunity to disappear by moving to the sides.]

  4. Then move the cursor to any other part of the screen other than graph G. The legend will continue to show.

  5. The legend disappears once you scroll over graph G again and it refreshes.

This becomes an issue especially when there are a lot of graphs and the graph with the sticky legend is scrolled outside the view and you have to hunt for the correct one. Or if you change tabs (say images), the legend continues to show and you have to go back to manually trigger the refresh.

shashank879 avatar Aug 15 '24 21:08 shashank879

I was able to reproduce by reducing the window size of my browser and with the instructions added (thanks @shashank879) . It was easy to get rid of it by hovering over the chart again, tho.

I expect that most users would have the full chart visible, and it's also easy to work around it, so it's unlikely we'll prioritize looking into this, but let us know if this is particularly disruptive for your workflows, or under certain circumstances, and we can take a look. Contributions are also welcome, if this is something you'd be interested in getting fixed.

arcra avatar Aug 20 '24 21:08 arcra