Closed davep closed 1 year ago
Weird. My initial suspicion was something relating to the recent changes to DirectoryTree
and perhaps the use of a filter; so I removed the filter for a moment, ran up the application, and it fixed the issue. So I put the filer back, ran up the application, and...
So now I can't actually recreate the issue any more!
Recreating this is a bit hit-and-miss. On my own M2 Pro Mac Mini I can generally recreate this if I run the pipx
-installed version, but if I run a "local" copy from the repo I can never reproduce it.
I do, however, have a hypothesis as to what might be going on. The recent changes to DirectoryTree
in Textual itself, to load directories in the background, does have a possible window of opportunity whereby the root
of the tree could end up getting loaded twice, in an additive way. I'm struggling to think of a way of forcing that to happen, but I think there's a chance it could and it would explain what I'm seeing here.
Assuming fix. Unable to reproduce with latest Textual.
Mentioned in a video on YouTube. The content of the local file view is doubling up the entries for some reason: