pyinstrument icon indicating copy to clipboard operation
pyinstrument copied to clipboard

Timeline view is difficult to scroll around on

Open asmeurer opened this issue 1 year ago • 3 comments

I like the new timeline view, but the scrolling behavior is a little wonky. I think it needs to be much harder to zoom in and out. Ideally it would lock either horizontal scrolling or zooming, so that you can scroll the timeline without zooming at the same time. Maybe it should also require more of a vertical scroll to actually activate zooming.

Another idea would be to make scrolling on the timeline itself only do panning (this would also fix #346), and make it so that to zoom you have to scroll or drag on the top bar. This is a common UI for zooming a chart.

asmeurer avatar Oct 14 '24 19:10 asmeurer

Can I ask what device are you using to scroll? A trackpad with two-finger gesture perhaps?

joerick avatar Oct 14 '24 21:10 joerick

Yes, this is on a trackpad.

asmeurer avatar Oct 15 '24 20:10 asmeurer

To be honest, I kinda agree. Timeline lacks WASD navigation style of typical flame graph chart like Tensorboard

vrnvorona avatar May 18 '25 09:05 vrnvorona