| Summary: | Sometimes tree nodes are not expanded after asynchronous update ("updating...") | ||||||
|---|---|---|---|---|---|---|---|
| Product: | [Tools] MAT | Reporter: | Kevin Grigorenko <kevin.grigorenko> | ||||
| Component: | GUI | Assignee: | Andrew Johnson <andrew_johnson> | ||||
| Status: | RESOLVED FIXED | QA Contact: | |||||
| Severity: | normal | ||||||
| Priority: | P3 | ||||||
| Version: | unspecified | ||||||
| Target Milestone: | --- | ||||||
| Hardware: | PC | ||||||
| OS: | Linux | ||||||
| Whiteboard: | |||||||
| Attachments: |
|
||||||
|
Description
Kevin Grigorenko
Created attachment 208786 [details]
Proposed fix
I'm not sure if this is the right solution, but it does fix the problem for me and doesn't seem to cause any side effects.
What seems to happen is that after disposing/removing all child items, the parent gets its "expanded" flag reset (presumably since there are no children, it can't be expanded). So I just save that off and reset it after the real children are added.
I've found this hard to reproduce on Windows 7, even with a delay. It might have happened once. The fix seems sensible however, so I'll apply it. Fix applied. (In reply to comment #3) > Fix applied. Thanks. |