Skip to content

Hold down shift for snap to grid when moving time cursor#11757

Merged
emilk merged 12 commits intomainfrom
emilk/improve-time-range-selection
Nov 4, 2025
Merged

Hold down shift for snap to grid when moving time cursor#11757
emilk merged 12 commits intomainfrom
emilk/improve-time-range-selection

Conversation

@emilk
Copy link
Member

@emilk emilk commented Nov 3, 2025

In the time panel, hold down shift when moving the time cursor (or selecting a loop region) to snap against a coarse grid. This makes it easier to pick nice, round time values.

@emilk emilk added ui concerns graphical user interface 📺 re_viewer affects re_viewer itself include in changelog labels Nov 3, 2025
@github-actions
Copy link

github-actions bot commented Nov 3, 2025

Web viewer built successfully.

Result Commit Link Manifest
5636729 https://rerun.io/viewer/pr/11757 +nightly +main

View image diff on kitdiff.

Note: This comment is updated whenever you push a commit.

// Avoid frame-delay:
x = time_ranges_ui
.x_from_time_f32(time)
.unwrap_or(pointer_pos.x);
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Show actual time position

@emilk emilk force-pushed the emilk/improve-time-range-selection branch from 4aa876e to 8104d37 Compare November 3, 2025 20:29
Copy link
Member

@Wumpf Wumpf left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Very nice! But really hard to find this feature! Can we put this please into the time panel's help-text?

@emilk emilk changed the title Hold down shift for coarse time snapping Hold down shift for snap to grid when moving time cursor Nov 4, 2025
@emilk emilk merged commit 127694f into main Nov 4, 2025
33 of 37 checks passed
@emilk emilk deleted the emilk/improve-time-range-selection branch November 4, 2025 10:54
emilk added a commit that referenced this pull request Nov 6, 2025
### Related
* Builds on top of #11757
* Part of
https://linear.app/rerun/issue/RR-2768/improve-time-selection-experience-on-a-timeline
* Closes #11745
* Closes RR-1458


### What
* Make a time loop selection by dragging the top timeline bar
* Move time cursor by dragging below (in the event canvas)
* Pan by dragging with middle mouse button
* A new fresh look with a tooltip

<img width="458" height="169" alt="image"
src="https://github.com/user-attachments/assets/736d416f-d3d3-42b1-942c-fed25afedc7b"
/>


### Later follow-ups
* Change plot (time series) interaction view to match
   * Requires emilk/egui_plot#149
* Add new icon for "loop selection"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

include in changelog 📺 re_viewer affects re_viewer itself ui concerns graphical user interface

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Time selection behaves unexpectedly on log_tick and frame timelines

2 participants