Debug view occasionally lists representation coordinates out of order #41

Open
opened 2025-01-31 08:40:11 +00:00 by Vectornaut · 2 comments
Collaborator

For debugging, the outline currently shows each element's representation vector. Unfortunately, it sometimes shows the coordinates out of order.

This may be a bug in Sycamore's Indexed view, which I've inquired about on the Sycamore help forum. I have a workaround ready to pull-request whenever it's convenient. That pull request should commute with #34.

Reproduction

You can reproduce this bug in many ways. Here's one that works especially consistently.

  1. Load the "General" test assembly
  2. Set the Lorentz product between Deimos and Pollux to 1
  3. Select Deimos and then focus the display
  4. Tap W repeatedly while watching the coordinates of Pollux
    • You'll occasionally see the last two coordinates switch places
For debugging, the outline currently shows each element's representation vector. Unfortunately, it sometimes shows the coordinates out of order. This may be a bug in Sycamore's `Indexed` view, which I've [inquired](https://discord.com/channels/820400041332179004/1334778981328752680/1334778981328752680) about on the Sycamore help forum. I have a workaround ready to pull-request whenever it's convenient. That pull request should commute with #34. #### Reproduction You can reproduce this bug in many ways. Here's one that works especially consistently. 1. Load the "General" test assembly 2. Set the Lorentz product between Deimos and Pollux to 1 3. Select Deimos and then focus the display 4. Tap **W** repeatedly while watching the coordinates of Pollux * *You'll occasionally see the last two coordinates switch places*
Owner

With #34 merged, feel free to PR away.

With #34 merged, feel free to PR away.
Author
Collaborator

Will do. The Sycamore maintainer responded to my forum post, so I'll follow up on that first in case there's a cleaner, simpler fix.

Will do. The Sycamore maintainer responded to my forum post, so I'll follow up on that first in case there's a cleaner, simpler fix.
Sign in to join this conversation.
No Milestone
No project
No Assignees
2 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: glen/dyna3#41
No description provided.