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
Assignees
Labels
enhancement New feature or request 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?

2025-01-29 Update: Similar to #1163 and based on discussion in https://dev.azure.com/bentleycs/ProductAdvancement/_workitems/edit/1590324?src=WorkItemMention&src-action=artifact_link, child elements' visibility should be affected when changing parent's visibility.

@grigasp grigasp added bug Something isn't working tree widget Tree widget or its components related issues needs ux input labels Dec 20, 2024
@grigasp grigasp changed the title Tree widget: Parent/child elements visibility controls in Models tree are inconsistent Tree widget: Parent / child elements visibility controls in Models tree are inconsistent Jan 29, 2025
@grigasp grigasp added enhancement New feature or request and removed bug Something isn't working needs ux input labels Jan 29, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request tree widget Tree widget or its components related issues
Projects
None yet
Development

No branches or pull requests

2 participants