Ticket #370 (closed defect: fixed)
Directory Tree state is destroyed on refresh
| Reported by: | adamk | Owned by: | |
|---|---|---|---|
| Priority: | critical | Milestone: | |
| Component: | Project Browser | Version: | 0.35 |
| Keywords: | directory tab | Cc: |
Description
The current implementation of the directory tree destroys the entire tree and rebuilds it from scratch each time, resulting in a fairly high performance hit and a tree that doesn't retain it's state.
Change the tree update code to do an differential reflow (add new nodes, update existing nodes, and delete removed nodes) instead of blowing the whole thing away and doing it fresh every time.
This is a really embarrassing bug, as it makes Padre look actively buggy.
Change History
Note: See
TracTickets for help on using
tickets.

The core of this hasn't changed, however Adam did say that the impact of this problem is improved with his work done to reduce the amount of refreshes being done within Padre itself.