https://bugs.kde.org/show_bug.cgi?id=425070

--- Comment #16 from Nikita Melnichenko <nikita+...@melnichenko.name> ---
Consolidated multiple bugs here as the root cause is the same: when we get
inotify for dir update, due to a legacy piece of code mentioned in comment #14,
krusader kills all old KrViewItem instances, including the one user works with
(right click or rename). It also affects scrolling, as underlying view loses
position when list is re-created.

To solve we need to carefully merge old list and new list, keeping all the
objects for the files that remained in the dir. In addition, when an item
pointer is used, we need a way to say if the item is still valid as it actually
could have been deleted in case the file is vanished from the dir. Likely, the
shared pointer pattern and isValid member is sufficient.

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to