[Bug 1861968] Re: Removal of a drive closes all windows and stops file transfers
Mathew Hodson
1861968 at bugs.launchpad.net
Wed Feb 10 06:37:10 UTC 2021
The crash in Focal was also reported in bug 1915084 with a patch. I
think it would be good to keep the two bugs separate and list them
separately in the changelog.
--
You received this bug notification because you are a member of Ubuntu
Sponsors Team, which is subscribed to the bug report.
https://bugs.launchpad.net/bugs/1861968
Title:
Removal of a drive closes all windows and stops file transfers
Status in nemo package in Ubuntu:
Fix Released
Status in nemo source package in Bionic:
In Progress
Status in nemo source package in Focal:
In Progress
Bug description:
[Impact]
There are some cases where nemo crash on umount for example https://bugs.launchpad.net/ubuntu/+source/nemo/+bug/1861968
this has occurred and has been reported by many users (even outside of here)
I also had this issue and like other users before know it is cause the fails of files copy running in another nemo window.
In case of some operation like copy it is significant, even more so with cutting operations.
This is solved by upstream patch https://github.com/linuxmint/nemo/commit/4ffea61b26033da1305ab8287058044065a1c101 in nemo 4.0.0 and also backported in 3.8.6.
I included also a small patch that solves another crash case (https://github.com/linuxmint/nemo/issues/2248):
https://github.com/linuxmint/nemo/commit/b19f8d2e60df82628bbf609522a6a5b20fa4e72c
Applied upstream in nemo 4.6.0
[Test Case]
(Bionic only) For the crash on umount, simply umount something from nemo and nemo will crash (closing also any operation, like copy/cut running in it).
(Bionic + Focal) For the second patch keep mouse clicked when rename
file/folder and press enter and nemo will crash.
[Where problems could occur]
The first patch about the crash on umount is easy to reproduce, many users already reported it after it caused problems with ongoing operations.
Patch is upstream for over 2 years and I have not found regressions about it from a fast search.
The second patch is rarer to happen but in some cases doing some
operations quickly could happen so it seems useful to backport this
too as it is a small patch with minimal impact and used upstream for a
year already.
[Original description]
When I ask nemo to safely remove a drive, it closes all its windows,
including those open on other drives, and aborts all file transfers on
other drives.
Expected: when I ask to remove a drive safely, all nemo windows that
are open on other drives, remain open and all transfers that do not
involve the drive I want to remove, continue.
Instead: all windows closed and transfers aborted.
Package: nemo
lsb_release -rd
Description: Ubuntu 18.04.3 LTS
Release: 18.04
apt-cache policy nemo
nemo:
Installed: 3.6.5-1
Candidate: 3.6.5-1
Version table:
*** 3.6.5-1 500
500 http://mirror.isoc.org.il/pub/ubuntu bionic/universe amd64 Packages
100 /var/lib/dpkg/status
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/nemo/+bug/1861968/+subscriptions
More information about the Ubuntu-sponsors
mailing list