Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix proxy points selection updates #524

Merged
merged 6 commits into from
Feb 29, 2024

Conversation

ThomasKroes
Copy link
Contributor

@ThomasKroes ThomasKroes commented Feb 28, 2024

  • Fix de-serialization of proxy datasets; load proxy members befóre proxy dataset
  • Fix points resolve linked data (use source data)
  • Fix select all; uses Points::setSelectionIndices(...) now
  • Fix select none; uses Points::setSelectionIndices(...) now
  • Fix select invert; uses Points::setSelectionIndices(...) now
  • Do not show foreground task for proxy datasets during project open/import

Note: Selection fixes are not complete yet, for some reason selection notifications are not being broadcasted on distant datasets. This will solved in a separate PR.

Closes ManiVaultStudio/t-SNE-Analysis/issues/104

@ThomasKroes ThomasKroes added the bug Something isn't working label Feb 28, 2024
@ThomasKroes ThomasKroes self-assigned this Feb 28, 2024
@ThomasKroes ThomasKroes linked an issue Feb 28, 2024 that may be closed by this pull request
@ThomasKroes ThomasKroes changed the title Add notify parameter to virtual DatasetImpl::setSelectionIndices(...) Fix proxy points selection updates Feb 28, 2024
@ThomasKroes ThomasKroes force-pushed the feature/fix_proxy_points_selection branch from 9653fe0 to 3a75b02 Compare February 29, 2024 09:50
@ThomasKroes ThomasKroes merged commit e5f56ef into master Feb 29, 2024
3 checks passed
@ThomasKroes ThomasKroes deleted the feature/fix_proxy_points_selection branch February 29, 2024 11:25
@JulianThijssen
Copy link
Contributor

This breaks the linked selection of HSNE scales. I don't think doing getSourceDataset() makes any sense.
image

The linked data is added to this particular dataset, so therefore it should be resolved from there.

ThomasKroes added a commit that referenced this pull request Mar 14, 2024
Reverts change made in PR #524 that breaks linked selections between HSNE scales.
JulianThijssen pushed a commit that referenced this pull request Mar 23, 2024
* Resolve linked data of source datasets (fixes #520)
Make sure non-proxy datasets are loaded prior to proxy datasets (fixes #525)

* Hide proxy dataset task when loading/importing a project

* Fix select all: use Points::setSelectionIndices(...), fixes #521

* Fix select invert: use Points::setSelectionIndices(...), fixes #523

* Fix select none: use Points::setSelectionIndices(...), fixes #522
Fix typo
Remove redundant debug print statement

* Revert some changes
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment