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

Selection state seems to jump between tree and mainview #560

Closed
martinRenou opened this issue Nov 5, 2024 · 4 comments · Fixed by #571
Closed

Selection state seems to jump between tree and mainview #560

martinRenou opened this issue Nov 5, 2024 · 4 comments · Fixed by #571
Milestone

Comments

@martinRenou
Copy link
Member

I've seen this happen many times in my last couple of times playing with jupytercad:

Screencast.From.2024-11-05.15-28-16.mp4
@martinRenou martinRenou added this to the 3.0.0 milestone Nov 5, 2024
@trungleduc
Copy link
Member

I also get hit by this issue sometime but cannot find a reliable way to reproduce it.

@arjxn-py
Copy link
Member

arjxn-py commented Nov 6, 2024

Potential culprit:

if (localState?.selected?.value) {
this._updateSelected(localState.selected.value);
}

@SylvainCorlay
Copy link
Member

I have not been able to reproduce this issue.

@martinRenou
Copy link
Member Author

I can see it a lot.

It seems the culprit is the React Tree, it wrongly force the old selection when the operator command wanted a new selection.

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

4 participants