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

Tree widget: Parent/child elements visibility controls in Models tree are inconsistent #1129

Open
grigasp opened this issue Dec 20, 2024 · 0 comments
Labels
bug Something isn't working needs ux input tree widget Tree widget or its components related issues

Comments

@grigasp
Copy link
Member

grigasp commented Dec 20, 2024

  1. Open http://localhost:3000/?iTwinId=b391ba44-add7-47a0-8375-f2889a3540e8&iModelId=ba504f88-a479-4156-9d81-658ee169588e in test viewer
  2. Expand "ProcessPhysicalModel" model, "E-HEX" category, "Plate-type Heat Exchanger" elements' class grouping node, "E-102 [4-1MG]" element. The "E-102 [4-1MG]" element has its own geometry, but it also has geometric Nozzle child elements.
  3. Changing visibility of Nozzle child elements doesn't affect visibility of the parent "E-102 [4-1MG]" element.
  4. Changing visibility of "E-102 [4-1MG]" parent element doesn't affect visibility of its children.

Image

How should it work, keeping in mind that parent has its own geometry? The first solution that comes to mind is that when a parent is turned off, its children should also be turned off. But what if a user wants to only turn off the parent, but not the children?

@grigasp grigasp added bug Something isn't working tree widget Tree widget or its components related issues needs ux input labels Dec 20, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working needs ux input tree widget Tree widget or its components related issues
Projects
None yet
Development

No branches or pull requests

1 participant