Skip to content

Fix wavelength editing and collaboration sync improvements#45

Merged
beneaze merged 1 commit intomainfrom
fix/adrian_fixes
Mar 25, 2026
Merged

Fix wavelength editing and collaboration sync improvements#45
beneaze merged 1 commit intomainfrom
fix/adrian_fixes

Conversation

@amenssen
Copy link
Copy Markdown
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
@beneaze beneaze merged commit e40cb80 into main Mar 25, 2026
0 of 3 checks passed
@beneaze beneaze deleted the fix/adrian_fixes branch March 25, 2026 20:58
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.

2 participants