rerun icon indicating copy to clipboard operation
rerun copied to clipboard

Timeline does not zoom when ctrl+scroll wheel are used when Rerun does not have focus

Open andybarry opened this issue 1 year ago • 0 comments

Describe the bug When the cursor is over the timeline, Ctrl is pressed, and scroll wheel is used Rerun zooms the timeline.

When Rerun does not have focus, however, Ctrl is ignored and the scroll wheel will scroll down regardless.

scroll-with-ctrl-without-focus-issue

To Reproduce Steps to reproduce the behavior:

  1. Open Rerun and put something on the timeline
  2. Use Ctrl+scroll wheel on the timeline to observe zoom
  3. Click into another app so that Rerun does not have focus
  4. Without clicking back into Rerun, observe that the timeline will scroll when the user hovers over it and scrolls.
  5. Without clicking back into Rerun, not that Ctrl is ignored when using scroll wheel

Expected behavior Rerun respects Ctrl when zooming on the timeline, even without focus. Note that other applications, like Firefox do respect Ctrl in this case.

Desktop (please complete the following information): Operating System: Ubuntu 22.04 KDE Plasma Version: 5.24.7 KDE Frameworks Version: 5.92.0 Qt Version: 5.15.3 Kernel Version: 6.8.0-40-generic (64-bit) Graphics Platform: X11 Processors: 32 × Intel® Core™ i9-14900KF Memory: 62.6 GiB of RAM Graphics Processor: NVIDIA GeForce RTX 4090/PCIe/SSE2

Rerun version

rerun-cli 0.18.2 [rustc 1.76.0 (07dca489a 2024-02-04), LLVM 17.0.6] x86_64-unknown-linux-gnu 7312/merge 59ff15b, built 2024-08-29T13:49:48Z

cc @nikolausWest, @gavrelina

andybarry avatar Oct 24 '24 22:10 andybarry