[PATCH] Don't ignore creation-deletion sequences
authorTsu Jan <tsujan2000@gmail.com>
Sun, 21 Apr 2019 09:41:14 +0000 (14:11 +0430)
committerDmitry Shachnev <mitya57@debian.org>
Fri, 23 Oct 2020 17:28:57 +0000 (18:28 +0100)
commite95d75d54ff78c0e693baa4ce85deb0d5d5c7884
tree2d2f6c7c0bcba086c53a675edf965544c567ae45
parent3038e6340450d3810e6bbb609e164dfa08dde0bf
[PATCH] Don't ignore creation-deletion sequences

Fixes https://github.com/lxqt/pcmanfm-qt/issues/944

Previously, if a file was in addition queue and then it came into the deletion
queue, its addition and deletion were both ignored. That was wrong and could
result in showing nonexistent files because addition can also happen in
directory list job before being processed by file info job.

Also process accumulated changes only after finishing the current info job and
don't clear all deletion paths after processing them (because, logically, only
those paths that can be deleted should be removed).

Gbp-Pq: Name dont-ignore-crea-del-sequences.patch
src/core/folder.cpp