Skip to content

Fix missing Platform.runLater in event handlers#1

Merged
abedurftig merged 1 commit intomainfrom
bug/smartfiles-vap-fix-platform-runlater
Jan 16, 2026
Merged

Fix missing Platform.runLater in event handlers#1
abedurftig merged 1 commit intomainfrom
bug/smartfiles-vap-fix-platform-runlater

Conversation

@abedurftig
Copy link
Owner

Summary

  • Wrapped all model updates in Platform.runLater() to ensure UI updates happen on the JavaFX Application Thread
  • Fixed handlers: handleDocumentTagAddedEvent, handleArchiveEntryAddedEvent, handleLightThemeActivatedSettingsChangedEvent

Issue

Fixes smartfiles-vap

Test plan

  • All 51 existing tests pass
  • Manual testing: verify UI updates work correctly when adding documents and tags

🤖 Generated with Claude Code

Wrapped all model updates in Platform.runLater() to ensure UI updates
happen on the JavaFX Application Thread. Fixed handlers:
- handleDocumentTagAddedEvent
- handleArchiveEntryAddedEvent
- handleLightThemeActivatedSettingsChangedEvent

Fixes: smartfiles-vap

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
@abedurftig abedurftig self-assigned this Jan 15, 2026
@abedurftig abedurftig merged commit af0a463 into main Jan 16, 2026
1 check passed
@abedurftig abedurftig deleted the bug/smartfiles-vap-fix-platform-runlater branch January 16, 2026 19: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