Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Dataframe view handling of timeline is broken #8712

Open
abey79 opened this issue Jan 16, 2025 · 0 comments
Open

Dataframe view handling of timeline is broken #8712

abey79 opened this issue Jan 16, 2025 · 0 comments
Labels
🪳 bug Something isn't working ui concerns graphical user interface

Comments

@abey79
Copy link
Member

abey79 commented Jan 16, 2025

The timeline view appears to incorrectly behave when the timeline it's configured with does not exist. Unfortunately, that's a very common situation:

  1. run some logging script with a custom timeline
  2. configure a dataframe view set on that custom timeline
  3. run the logging script again
  4. 💥

In release build: 💥 == the dataframe view timeline switched to log_time
In debug build: 💥 == panic from a debug assert

What seem to happen is that when the 2nd recording is created but before the first data reaches the viewer, the dataframe view doesn't see the timeline it's configured for and incorrectly handle the situation.

This can be reproduced with the simplest of the script:

import rerun as rr


def main():
    rr.init("rerun_example_bug_dataframe")
    rr.connect_tcp()

    rr.set_time_sequence("another_timeline", 0)

    rr.log("pt", rr.Points3D([0, 0, 0]))



if __name__ == "__main__":
    main()
@abey79 abey79 added ui concerns graphical user interface 🪳 bug Something isn't working labels Jan 16, 2025
@abey79 abey79 added this to the 0.22 - ? milestone Jan 16, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🪳 bug Something isn't working ui concerns graphical user interface
Projects
None yet
Development

No branches or pull requests

1 participant