profiler icon indicating copy to clipboard operation
profiler copied to clipboard

Flame graph shifts when source view is opened

Open mstange opened this issue 3 years ago • 2 comments

Profile: https://share.firefox.dev/3rKKxGY

Steps to reproduce:

  1. Double click a function in the flame graph.

Expected results: The source view should open and the flame graph's contents should stay where they are.

Actual results: When the source view opens, the flame graph's contents are moved upwards by the source view height. The function you just double-clicked is no longer under the mouse, and in fact it might be pushed completely offscreen.

mstange avatar Jan 24 '22 21:01 mstange

I have not been able to reproduce this issue in my firefox browser. After double clicking a number of random functions, the item that I have selected stays lit and the source view window opens, without moving my selection or the graph itself. Perhaps this has been resolved ?

Tch4lla avatar Sep 15 '22 22:09 Tch4lla

I can still reproduce this. The shifting only happens when the source view goes from closed to open. If you double click multiple functions in sequence, the source view only opens the first time and then stays open, so the shifting only happens the first time. It's possible that the height of your browser window affects this. You could try making your browser smaller.

mstange avatar Sep 15 '22 22:09 mstange