Skip to content

Fix wavelength editing and collaboration sync improvements#45

Open
amenssen wants to merge 1 commit intomainfrom
fix/adrian_fixes
Open

Fix wavelength editing and collaboration sync improvements#45
amenssen wants to merge 1 commit intomainfrom
fix/adrian_fixes

Conversation

@amenssen
Copy link
Collaborator

@amenssen amenssen commented Mar 7, 2026

Fix source editor wavelength not persisting: _apply_color_to_source() was only called inside the "Wavelength" mode guard, so changing the wavelength spinbox in "Custom Color" mode never wrote to params.

Collaboration fixes:

  • Use deserialize_item() for proper component reconstruction
  • Fix rotation angle convention (user CW → Qt CCW) on move sync
  • Register items in LayerTreeState so layers panel populates on client
  • Defer retrace/refresh to end of batch sync for performance
  • Add status bar progress during state transfer

Fix source editor wavelength not persisting: _apply_color_to_source()
was only called inside the "Wavelength" mode guard, so changing the
wavelength spinbox in "Custom Color" mode never wrote to params.

Collaboration fixes:
- Use deserialize_item() for proper component reconstruction
- Fix rotation angle convention (user CW → Qt CCW) on move sync
- Register items in LayerTreeState so layers panel populates on client
- Defer retrace/refresh to end of batch sync for performance
- Add status bar progress during state transfer

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@amenssen amenssen requested a review from beneaze March 7, 2026 21:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant