Unity icon indicating copy to clipboard operation
Unity copied to clipboard

Unit tests that show Tree control maintains checked/collapsed state

Open StanleyGoldman opened this issue 6 years ago • 8 comments

  • Adding tests to prove that the load function
    • Loads with collapsed nodes as expected
    • Loads with selected nodes as expected

StanleyGoldman avatar Feb 26 '18 15:02 StanleyGoldman

So after my first foray into this, I'm able to reproduce the bug, I see that the load functionality works as expected. I suspect there is a serialization issue, but everything is the same as checked state.

StanleyGoldman avatar Feb 26 '18 15:02 StanleyGoldman

There's a bug somewhere, but it's really hard to track down. I got it a couple of times, but it's not consistently reproducible.

collapsed-tree

shana avatar Apr 09 '18 14:04 shana

Cool, i changed the labels on the bug.

StanleyGoldman avatar Apr 09 '18 14:04 StanleyGoldman

@shana I think after #698 this bug is resolved. See if you can reproduce it.

StanleyGoldman avatar Apr 19 '18 15:04 StanleyGoldman

I updated the body of this this pull request. It does not solve #594 as I've learned that the problem is due to deserialization issues.

StanleyGoldman avatar May 10 '18 21:05 StanleyGoldman

i'm pretty sure it happens every other domain reload

2018-12-07_11-07-47

StanleyGoldman avatar Dec 07 '18 16:12 StanleyGoldman

but data that is created after the first domain reload, is persisted after the second domain reload

2018-12-07_10-58-10

StanleyGoldman avatar Dec 07 '18 16:12 StanleyGoldman

touching the file system twice and focusing unity once, which is one domain reload, as i understand it, also reproduces the issue

2018-12-07_11-07-47

StanleyGoldman avatar Dec 07 '18 16:12 StanleyGoldman