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

Clicking the StatusBar causes the event to be executed more than once. #3566

Closed
BDisp opened this issue Jun 25, 2024 · 1 comment
Closed
Assignees
Labels
bug v2 For discussions, issues, etc... relavant for v2

Comments

@BDisp
Copy link
Collaborator

BDisp commented Jun 25, 2024

There is something strange when clicking a button in a Dialog. Try opening the InteractiveTree scenario and clicking Add Root in the status bar. The Dialog will open and after typing the node name click on the Ok button. The Dialog closes and opens again despite Application.RequestStop having been called. Therefore, the Dialog should not open and the same happens with the Cancel button.

It is a good idea to create a unit test to prevent this bad behavior from happening.

Originally posted by @BDisp in #3555 (comment)

@tig
Copy link
Collaborator

tig commented Jun 26, 2024

Fixed and tests added.

@tig tig closed this as completed Jun 26, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug v2 For discussions, issues, etc... relavant for v2
Projects
None yet
Development

No branches or pull requests

2 participants