Ticket #370 (closed defect: fixed)

Opened 3 years ago

Last modified 11 months ago

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

comment:1 Changed 2 years ago by waxhead

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.

comment:2 Changed 15 months ago by zenogantner

  • Keywords directory tab added

comment:3 Changed 15 months ago by zenogantner

Is this still a problem? Is it still critical?

comment:4 Changed 13 months ago by adamk

  • Status changed from new to closed
  • Resolution set to fixed

comment:5 Changed 11 months ago by szabgab

  • Component changed from editor to Project Browser
Note: See TracTickets for help on using tickets.