Reopening board moved all items

Hey guys,
We love Kinopio but stumbled on an issue. We worked on this board in the day and when we opened it back up this happened

And this (added this in an seperate post because of limitations)

arg sorry steven,

Iā€™ve seen that happen rarely myself but havenā€™t been able to reproduce it reliably.

When you open that space in a different browser , or incognito window, are the cards still misplaced?

One theory of why this can happen is if you select and move a box or a lot of cards together and then close the window before the server is finished saving (indicated by the loading button in the header) then maybe that creates an issue.

If thereā€™s anything you can remember about what actions you were taking in those spaces, which may of involved moving cards or boxes, that might help me figure it out. thx!

1 Like

Hi! Thank you for looking into this.

Let me clarify what happened in our specific situation:

I donā€™t think the unsaved changes were the issue in our case, as we actually kept the board open during our entire presentation. However, I can provide more details about our actions that might help identify the problem:

  1. We made several significant changes to the board:

:black_small_square: Replaced multiple groups

:black_small_square: Used multiselect frequently to move items around

:black_small_square: Made various layout adjustments

One potentially relevant detail: the board was created by my team member, and I was editing it as a collaborator. Could this have any impact on the synchronization (using the new groups)?

  1. We also experienced sync issues with another board:

:black_small_square: My team member and I saw different versions of the board

:black_small_square: Deleted items remained visible on her screen

:black_small_square: The inconsistencies persisted even after both of us refreshed our browsers. We also had a great connection.

Please let me know if you need any additional information to help investigate this issue.

1 Like

:black_small_square: Replaced multiple groups

By ā€˜groupsā€™ here do you mean boxes or a bunch of cards?

I mean this:
CleanShot 2024-10-25 at 18.07.09@2x

Oh okay so you changed the groups associated with some spaces? That part probably isnā€™t related then

1 Like

iā€™ve been thinking about this for a bit and I have a theory that this may have happened during collaboration because of time differences between when changes are made and when they hit the server.

so if person A and B are making changes simultaneously to cards (like moving them around). And A moves some cards, and then B moves those cards a little bit very soon after, but Bā€™s changes are saved to the server before Aā€™s changes. Then changes will save in the wrong order which might cause weird placements.

Weā€™re talking about milliseconds here so this could happen based on internet connection speeds and closeness to the datacenter.

The possible ā€˜fixā€™ for this is to transition the sync system to storing the individual changes and playing those changes back onto the space after a delay to account for time inconsistencies - instead of saving updates to the space as soon as they come in.

In order to see whether this is the right direction, Iā€™m planning to first, just store those individual changes separately, so that Iā€™ll be able to pull down the historical record the next time a sync issue like this happens so i can diagnose whether my theory is correct.

If my theory is correct, I should then have most of the building blocks to make the sync system more robust (with my performance oriented twist on an Operational Transform system).

2 Likes

released a server-side update that lets me debug issues by stepping through individual changes and looking for weird inconsistencies. Let me know the next time something like this happens so I can try it out

1 Like

Awesome. We didnā€™t use it collaborative for a while but if something happens will let you know!

1 Like

Just to let you know, experienced a small bug, similar to this. I split this card and then put it back in one (the blue one). This is what happened when I opened it back up.

The issues were more severe

1 Like

Whatā€™s the url of the space?

hmm looking into it ā€¦ it may not be a bug with syncing, but rather a bug with loading the space. If you havenā€™t made any changes, when you load the space next, can you dm me the entire web console log . especially the messages that start with ā€˜:rice_scene:ā€™.

Also can you dm me an invite to the space?

thx!

also if you open the board in an incognito window (using an invite link) do all the cards appear correct?

can you let me know whether youā€™re still seeing these issues? the sync/cache system was recently updated to be overall more reliable

During our collaboration on the same board, we encountered several synchronization issues:

  1. My colleague couldnā€™t see real-time updates on the board

  2. When the board expanded, parts became inaccessible to her

  3. Items unexpectedly reordered themselves

Note: I was using the native app while my colleague accessed it through Arc browser.

hmm sync issues are the hardest to diagnose/repro

for #1, do you know if she was connected to the space? once the space loads, it then connects to the collaboration broadcast. indicated by the loading indicator in the space name button in the header. If not I could make this visually clearer

#2, is this after she was able to see your real time updates? or was she never able to see them?

#3, this could happen if you both made changes without being able to see each other

  1. She was connected because I saw her cursor moving and she was creating the board before I was collaborating with her.
  2. I saw the ā€œerrorā€ before she saw it. She was still working on it
  3. We saw each other (maybe not all the time)

Do you think the app is better then working in the browser?