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