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

Timeline travel problems when timestamps are identical #108

Closed
stonier opened this issue Aug 28, 2019 · 0 comments · Fixed by #109
Closed

Timeline travel problems when timestamps are identical #108

stonier opened this issue Aug 28, 2019 · 0 comments · Fixed by #109

Comments

@stonier
Copy link
Member

stonier commented Aug 28, 2019

Reproducible with the following code in viewer.py:

def send_tree(web_view_page, demo_trees, unused_checked):
    if send_tree.index != 1:
        demo_trees[send_tree.index]['timestamp'] = time.time()
    else:
        demo_trees[send_tree.index]['timestamp'] = demo_trees[send_tree.index-1]['timestamp']
  • When only two trees, with identical timestamps, are in the cache, they slam up together on the edge of the timeline
  • Get locked in a loop selecting itself as next (or vice versa with previous)
  • Maybe incidental, highlight of the event marker sometimes gets lost
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Development

Successfully merging a pull request may close this issue.

1 participant