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

The palette remains open when the selection is changed outside of the diagram #2612

Closed
4 tasks done
jessymallet opened this issue Nov 21, 2023 · 2 comments · Fixed by #2712
Closed
4 tasks done

The palette remains open when the selection is changed outside of the diagram #2612

jessymallet opened this issue Nov 21, 2023 · 2 comments · Fixed by #2712

Comments

@jessymallet
Copy link
Contributor

Tool palette should be displayed when an element is selected.
When we open a new project, if user select element in explorer view, the matching node is selected on the diagram but no palette tool is displayed. If user select the node on the diagram, the palette tool is displayed. Then if user select an other element from explorer view, the palette tool is still displayed.
The display of tool palette is not coherent.

  • I have checked that this bug has not yet been reported by someone else
  • I have checked that this bug appears on Chrome
  • I have specified the version : 2023.10.6
  • I have specified my environment : Window 11

Screenshots

toolsPalette

Steps to reproduce

1- Create a project and a representation with entity domain
2- Create entity1 and entity2 on the diagram
3- Close and open the diagram
4- Select entity1 from the explorer view : entity1 node is selected on diagram but no palette tool is displayed
5- Click on entity1 node from diagram
6- Click on entity2 from explorer view : entity2 node is selected and palette tool appears

Expected behavior

Palette tool should appear when entity1 is selected after opening the project and selected it from explorer view.

Actual behavior

Palette tool does not appear when entity1 is selected after opening the project and selected it from explorer view.

@sbegaudeau
Copy link
Member

Expected behavior

Palette tool should appear when entity1 is selected after opening the project and selected it from explorer view.

I strongly disagree on the expected behavior, here the user as not performed any interaction with the diagram, the palette should be closed if the selection is changed from the workbench, not opened on the second element. An interaction in another representation should not start triggering things like that.

@sbegaudeau sbegaudeau changed the title Tool palette does not appear at the first selection The palette remains open when the selection is changed outside of the diagram Nov 22, 2023
@jessymallet
Copy link
Contributor Author

Expected behavior
Palette tool should appear when entity1 is selected after opening the project and selected it from explorer view.

I strongly disagree on the expected behavior, here the user as not performed any interaction with the diagram, the palette should be closed if the selection is changed from the workbench, not opened on the second element. An interaction in another representation should not start triggering things like that.

Ok with the behavior that you describe. In this case, palette should not appear when I click on Entry2 from the Explorer (after clicking on entity1 node on diagram) because I click from Explorer so I do not interact with diagram

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants