Skip to content

Fix HUD issues on macOS and Linux#226

Open
ThomasKroes wants to merge 8 commits intomasterfrom
feature/fix_linux_crash_hud
Open

Fix HUD issues on macOS and Linux#226
ThomasKroes wants to merge 8 commits intomasterfrom
feature/fix_linux_crash_hud

Conversation

@ThomasKroes
Copy link
Contributor

@ThomasKroes ThomasKroes commented Feb 16, 2026

This pull request fixes HUD-related crashes on Linux and macOS and adds support for selecting datasets to control point size and opacity in scatterplots, alongside existing position and color dataset selection. It introduces new dataset picker actions for point size and opacity, updates the heads-up display (HUD) logic to reflect these new controls, and ensures proper synchronization and connection management for these actions.

New dataset picker actions for point size and opacity:

Feature additions

  • Added _pointSizeDatasetPickerAction and _pointOpacityDatasetPickerAction to DatasetsAction, including their initialization, filter functions, and integration into action lists. [1] [2] [3] [4]
  • Updated ScatterplotPlugin to track _pointSizeDataset and _pointOpacityDataset, including logic for updating and connecting/disconnecting these datasets when the source changes. [1] [2]

UI and HUD improvements

  • Enhanced updateHeadsUpDisplay() to include point size and opacity datasets, and prevent HUD updates while a project is opening. [1] [2]

Synchronization and connection management

  • Updated dataset picker actions to support clearable widgets and proper connection/disconnection to public actions for point size and opacity. [1] [2] [3]

Scatterplot plugin lifecycle updates

  • Modified plugin initialization and serialization logic to ensure new dataset pickers and HUD updates are handled correctly. [1] [2] [3]

These changes collectively improve the scatterplot plugin's flexibility and user experience by allowing dynamic control over point size and opacity based on loaded datasets.

@ThomasKroes ThomasKroes self-assigned this Feb 16, 2026
@ThomasKroes ThomasKroes added the bug Something isn't working label Feb 16, 2026
@ThomasKroes ThomasKroes requested review from alxvth and sbvis February 16, 2026 15:30
@ThomasKroes
Copy link
Contributor Author

@sbvis would you be able to verify whether this also fixes the issues on macOS?

@sbvis
Copy link
Contributor

sbvis commented Feb 17, 2026

Yes, it is working and nolonger crashing on macos:
image

@ThomasKroes
Copy link
Contributor Author

Yes, it is working and nolonger crashing on macos: image

Thanks for testing :)

ThomasKroes and others added 6 commits February 17, 2026 10:40
Only call setCurrentColorDataset when the picked dataset is valid and a project is not currently opening. Previously the code unconditionally updated the current color dataset in the DatasetPickerAction handler; this change prevents dataset changes from being applied while a project load is in progress, avoiding potential race conditions or invalid state during project open.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants

Comments