Title: Plugin crashes on macOS and Linux during project load due to UI call inside deserialization · Issue #224 · ManiVaultStudio/Scatterplot · GitHub
Open Graph Title: Plugin crashes on macOS and Linux during project load due to UI call inside deserialization · Issue #224 · ManiVaultStudio/Scatterplot
X Title: Plugin crashes on macOS and Linux during project load due to UI call inside deserialization · Issue #224 · ManiVaultStudio/Scatterplot
Description: Summary When loading a project that contains a scatterplot plugin, the application crashes on macOS and Linux. The crash does not occur on Windows. Root Cause The crash happens during project de-serialization. Specifically, a UI-related ...
Open Graph Description: Summary When loading a project that contains a scatterplot plugin, the application crashes on macOS and Linux. The crash does not occur on Windows. Root Cause The crash happens during project de-se...
X Description: Summary When loading a project that contains a scatterplot plugin, the application crashes on macOS and Linux. The crash does not occur on Windows. Root Cause The crash happens during project de-se...
Opengraph URL: https://github.com/ManiVaultStudio/Scatterplot/issues/224
X: @github
Domain: patch-diff.githubusercontent.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Plugin crashes on macOS and Linux during project load due to UI call inside deserialization","articleBody":"## Summary\n\nWhen loading a project that contains a scatterplot plugin, the application crashes on **macOS** and **Linux**. The crash does not occur on **Windows**.\n\n## Root Cause\n\nThe crash happens during project de-serialization.\nSpecifically, a UI-related function is invoked as part of the plugin’s de-serialization logic.\n\nCalling UI code during de-serialization appears to be unsafe on **macOS** and **Linux** (likely due to threading and/or event loop constraints), and results in an application crash. On **Windows** this currently works, but this behavior is platform-dependent and not safe. \n\n## Technical Context\n\n- Crash occurs while loading a saved project\n- Plugin de-serialization triggers a UI function\n- UI interaction during de-serialization leads to instability\n\n## Expected Behavior\n\nDes-erialization should be:\n- Pure data reconstruction\n- Free of UI side effects\n- Platform-independent\n\nUI initialization or updates should occur after de-serialization, once the object is fully constructed and the UI layer is in a valid state.\n\n## Suggested Fix\n\nRefactor the plugin so that:\n- De-serialization only restores state\n- UI updates are triggered in a post-de-serialization phase\n(e.g., after the plugin is fully constructed and registered)\n\nThis would ensure platform-safe behavior and eliminate the crash.","author":{"url":"https://github.com/ThomasKroes","@type":"Person","name":"ThomasKroes"},"datePublished":"2026-02-15T11:04:49.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":0},"url":"https://github.com/224/Scatterplot/issues/224"}
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:b6ce6a57-17ad-f53f-4128-81a6ad908bbf |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | 9EF2:169686:8B7A02:B6C9F8:6991F059 |
| html-safe-nonce | 5a44e6b64a685483d982ae23db2283418d4accbf54e1cae4565888dfad1c1232 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI5RUYyOjE2OTY4Njo4QjdBMDI6QjZDOUY4OjY5OTFGMDU5IiwidmlzaXRvcl9pZCI6IjgyMDM2MDgzMjg1MTQ5NTc0MDEiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | 181a66426d9129cd808a8babb031225bc996631111f7cc385ba0fc6b83513653 |
| hovercard-subject-tag | issue:3943816393 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/ManiVaultStudio/Scatterplot/224/issue_layout |
| twitter:image | https://opengraph.githubassets.com/7b946d8dea2e7b09ca955840e25eb85607f7f5421ea3e982cac597a57626ffb7/ManiVaultStudio/Scatterplot/issues/224 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/7b946d8dea2e7b09ca955840e25eb85607f7f5421ea3e982cac597a57626ffb7/ManiVaultStudio/Scatterplot/issues/224 |
| og:image:alt | Summary When loading a project that contains a scatterplot plugin, the application crashes on macOS and Linux. The crash does not occur on Windows. Root Cause The crash happens during project de-se... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | ThomasKroes |
| hostname | github.com |
| expected-hostname | github.com |
| None | 42c603b9d642c4a9065a51770f75e5e27132fef0e858607f5c9cb7e422831a7b |
| turbo-cache-control | no-preview |
| go-import | github.com/ManiVaultStudio/Scatterplot git https://github.com/ManiVaultStudio/Scatterplot.git |
| octolytics-dimension-user_id | 52745266 |
| octolytics-dimension-user_login | ManiVaultStudio |
| octolytics-dimension-repository_id | 322895771 |
| octolytics-dimension-repository_nwo | ManiVaultStudio/Scatterplot |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 322895771 |
| octolytics-dimension-repository_network_root_nwo | ManiVaultStudio/Scatterplot |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 848bc6032dcc93a9a7301dcc3f379a72ba13b96e |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width