-
Notifications
You must be signed in to change notification settings - Fork 30.1k
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
Loaded scripts identation broken once second program starts #55448
Comments
that's a tree layout issue. |
@weinand None of the other trees are exibithing this behavior - and some do a very similar rendering to you, example Call Stack. |
The loaded scripts view is no longer extension code, so this is a native tree issue. |
@weinand Interesting! Let me know if you come up with any insights. |
@joaomoreno I've investigated this and found the following: So assigning unique IDs to tree elements once, prevents that they can be reparented successfully later. In my case the the IDataSource of the initial tree was this (IDs in parenthesis):
the reparenting introduces a new intermediate "Session1" node (because another session 2 made this necessary):
The visual appearance with the broken layout) was this:
It looks like the indent of the elements Source11 and Source12 is not adjusted because they exist already in the tree. Is this a bug or is there a constraint on tree element IDs? |
🤔 It could very well be an unintended constraint... I'm glad you found a way around it! |
It would be helpful if you could add this constraint as a comment to the DataProvider interface. |
Refs: #54921
The text was updated successfully, but these errors were encountered: