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

Quick switching of the source will label the wrong source #36

Open
cafarm opened this issue Feb 16, 2017 · 1 comment
Open

Quick switching of the source will label the wrong source #36

cafarm opened this issue Feb 16, 2017 · 1 comment
Labels

Comments

@cafarm
Copy link
Member

cafarm commented Feb 16, 2017

To reproduce:

  1. Add a source with a nested source
  2. Select the nested source
  3. Press up on the keyboard to change the selection to the parent source and quickly press the add source button
  4. The GUI will think the nest source is still selected when adding a new source
  5. Add the new source to the nested source and try to modify its label
  6. The parent sources label will be change instead of the nested sources
@cafarm
Copy link
Member Author

cafarm commented Mar 1, 2017

This turns out to be a pretty tricky problem and one that may be more work to fix than it's worth. This happens because, if you're quick enough, you can interrupt the selection of a new source with an action like pressing "Add Source". After you've added a source, MATLAB will then finish running the interrupted select node code and think the wrong node is selected. I'm not aware of a good way to make node selection non-interruptible.

@cafarm cafarm added the bug label Mar 1, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant