Skip to content

Conversation

@hweihwang
Copy link
Contributor

No description provided.

@hweihwang hweihwang force-pushed the fix/version-restoring branch from 0e7c1b5 to a3d48f2 Compare December 3, 2025 07:24
@hweihwang hweihwang changed the title fix version-restoring + minor improvements fix version-restoring Dec 3, 2025
Copy link
Contributor

@benjaminfrueh benjaminfrueh left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks @hweihwang for this fix! I tested this and it worked good for me.

@juliusknorr
Copy link
Member

Did you also test explicitly on stable29?

@benjaminfrueh
Copy link
Contributor

benjaminfrueh commented Dec 4, 2025

Did you also test explicitly on stable29?

Thanks for the reminder, yes I have now and it works as expected. In stable29 it also correctly shows the readonly version preview and restoring versions works generally too - but I have experienced a potential problem and have one question:

When I am connected to a whiteboard with multiple users for collaboration, the version restore seems not to restore anything, maybe because this is synced back from the other connected user immediately then?

@juliusknorr juliusknorr added bug Something isn't working 3. to review labels Dec 5, 2025
@juliusknorr
Copy link
Member

When I am connected to a whiteboard with multiple users for collaboration, the version restore seems not to restore anything, maybe because this is synced back from the other connected user immediately then?

@hweihwang Can you elaborate on that?

@juliusknorr juliusknorr added this to the 1.4.3 milestone Dec 5, 2025
Signed-off-by: Hoang Pham <hoangmaths96@gmail.com>
@hweihwang hweihwang force-pushed the fix/version-restoring branch from a3d48f2 to e315cfb Compare December 7, 2025 08:43
@hweihwang
Copy link
Contributor Author

Thanks @benjaminfrueh, @juliusknorr, that's a bug there, restoring using the right side panel without entering the version preview mode should work. But when entering the preview mode, it just got disconnected from the collab socket, so the restore couldn’t broadcast SCENE_RESTORE and the other users’ newer scenes merged back in and overwrote it.

I changed it so we stay connected in preview, please re-test it again, thanks!

@benjaminfrueh
Copy link
Contributor

Hi @hweihwang - this fixes the version restoring for me also during collaboration.

There is another issue I experienced when collaborating: If User A restores a whiteboard, then the canvas of User B gets resized to the size of User A's canvas. This is more obvious if one user restores with a smaller resolution or smaller window size. Maybe this could be improved in a different Issue/PR.

@juliusknorr juliusknorr modified the milestones: 1.4.3, 1.5.0 Dec 9, 2025
@juliusknorr juliusknorr merged commit 3b9b547 into main Dec 9, 2025
32 checks passed
@juliusknorr juliusknorr deleted the fix/version-restoring branch December 9, 2025 07:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

3. to review bug Something isn't working

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants