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

spatial profile not updating after a region is deleted #1831

Closed
kswang1029 opened this issue Apr 17, 2022 · 1 comment · Fixed by #1869
Closed

spatial profile not updating after a region is deleted #1831

kswang1029 opened this issue Apr 17, 2022 · 1 comment · Fixed by #1869
Assignees
Labels
bug Something isn't working
Milestone

Comments

@kswang1029
Copy link
Collaborator

Describe the bug
When a point region (should not be just due to point region I think) is selected and a spatial profiler is configured to display its profile, if we delete the point region, the spatial profiler does not update profile to the "active" region.

To Reproduce
Steps to reproduce the behavior:

  1. load an image
  2. configure the two spatial profiler widgets to display same profile (eg X direction)
  3. create a point region
  4. configure one of the spatial profiler widget so the the active image is explicitly selected in the image dropdown and the point region is explicitly selected in the region dropdown.
  5. update position of the point region and we should see the two spatial profilers display the same profile as expected6.
  6. delete the point region and move cursor around7.
  7. now only one spatial profiler is updating spatial X profile. The other one (which we had explicit configuration before) does not update profiles anymore.

Expected behavior
Profile should update based on the selections in the image and region dropdown, especially when the selection becomes "active".

Screenshots or videos

Untitled.mov

Platform info (please complete the following information):

  • OS: macOS Monterey
  • Browser: macOS electron app
  • Version carta v3b2
@kswang1029
Copy link
Collaborator Author

probably related to #1855

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 a pull request may close this issue.

3 participants