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

Intervals appear to change position after typing and syncing #9564

Closed
pleath opened this issue Mar 23, 2022 · 0 comments · Fixed by #9565
Closed

Intervals appear to change position after typing and syncing #9564

pleath opened this issue Mar 23, 2022 · 0 comments · Fixed by #9565
Assignees
Labels
area: dds: sharedstring bug Something isn't working
Milestone

Comments

@pleath
Copy link
Contributor

pleath commented Mar 23, 2022

Describe the bug

To Reproduce

In Scriptor, the repro looks like this:

  1. In client 1, type "abcdef".
  2. Add an interval at {2,2}.
  3. Go to offset 0 and type "abcdef".
  4. Add an interval at {6,6}.
  5. After syncing, client 1 correctly shows the text "abcdefabcdef" and intervals at {8,8} and {6,6}.
  6. But client 2 shows intervals at {7,7} and {6,6}.

Note that the issue seems to be timing-dependent. Hitting breakpoints during typing or creating intervals hides the bug.

Expected behavior

Logs

@pleath pleath added bug Something isn't working area: dds: sharedstring labels Mar 23, 2022
@pleath pleath added this to the March 2022 milestone Mar 23, 2022
@pleath pleath self-assigned this Mar 23, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area: dds: sharedstring bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant