Realod folder after transfer job if it lacks file monitoring
authorLXQt Packaging Team <pkg-lxqt-devel@lists.alioth.debian.org>
Fri, 23 Oct 2020 17:28:57 +0000 (18:28 +0100)
committerDmitry Shachnev <mitya57@debian.org>
Fri, 23 Oct 2020 17:28:57 +0000 (18:28 +0100)
commit84c0ffccdaac8a1094918c33b4c932f9a932cd43
tree58d86802232ec09fcabd1f601e63c8e8d31d5be0
parentdceda38c3fc2cec685ef3e23b8e61e646214564f
Realod folder after transfer job if it lacks file monitoring

Closes https://github.com/lxqt/pcmanfm-qt/issues/933 and closes
https://github.com/lxqt/libfm-qt/issues/280. After a file transfer job is
finished inside a directory, if it is the path of an open folder that lacks
file monitoring, this patch reloads its corresponding folder. In this way, the
lack of file monitoring is partially compensated for.
Please note that this doesn't work with `search://` because the files inside
`search://` don't belong to it. By covering file creation, renaming, moving
from one shared folder to another and deleting after trying to move into Trash.
Last-Update: 2019-06-08

Gbp-Pq: Name workaround-missed-file-monitoring.patch
src/core/folder.cpp
src/core/folder.h
src/fileoperation.cpp
src/utilities.cpp