diff options
author | António Fernandes <antoniof@gnome.org> | 2020-09-13 13:25:24 +0100 |
---|---|---|
committer | António Fernandes <antoniojpfernandes@gmail.com> | 2020-09-21 12:50:57 +0000 |
commit | 553e59f68bee7e112846696b78794a34281ec1b6 (patch) | |
tree | 9e333b77cd3921a56d3cfc9342f0c6621857fdda /libnautilus-extension/nautilus-menu-item.h | |
parent | 36e505c12ce7057e444d929c96ac810ce85192e7 (diff) | |
download | nautilus-553e59f68bee7e112846696b78794a34281ec1b6.tar.gz |
file-utilities: Don't block main thread to restore from trash
The sync variants of file operations have been introduced for use in
integration tests. The async operations have been suffixed _async().
However, likely by mistake, in the restore from trash operation, the
call has been appended _sync rather than _async. [1]
This blocks the main thread until the operation task finishes, causing
a dead lock when the operation thread needs the main thread to show a
conflict dialog. This happens when restoring a file from trash if a new
file with the same name already exists in the original location.
Fixes https://gitlab.gnome.org/GNOME/nautilus/-/issues/790
[1] commit ab31018cdaeb1c592e1c46402c5ae1facc503151
Diffstat (limited to 'libnautilus-extension/nautilus-menu-item.h')
0 files changed, 0 insertions, 0 deletions