I encountered a serious bug on moving files from one folder to another
with standard "Files" application in Gnome. Namely, when the number of
files in the distination folder is about 4,500, the "Files" application deadly hangs, and only restaring the system helps. The files are mainly
pdf documents, the total amount is about 10 Gb.
On Jul 11, 2025, Andrew Makhorin wrote:
I encountered a serious bug on moving files from one folder to another
with standard "Files" application in Gnome. Namely, when the number of files in the distination folder is about 4,500, the "Files" application deadly hangs, and only restaring the system helps. The files are mainly pdf documents, the total amount is about 10 Gb.
How long did you leave it before rebooting?
What type of drives are the source / target? Spinning Rust? SSD? NVMe?
How are they connected? SATA? USB?
On Jul 11, 2025, Andrew Makhorin wrote:
I encountered a serious bug on moving files from one folder to another with standard "Files" application in Gnome. Namely, when the
number of files in the distination folder is about 4,500, the
"Files" application deadly hangs, and only restaring the system
helps. The files are mainly pdf documents, the total amount is
about 10 Gb.
How long did you leave it before rebooting?
The bug appears spontaneously, sometimes in 30 minutes, sometimes in 5
mins.
I'm not sure 100%, however, I think the bug is somehow related to displaying�the�destination folder contents during moving the files.
What type of drives are the source / target? Spinning Rust? SSD? NVMe?
Both source and destination folders are on the same 500 Gb SSD, ext4 FS.
When moving files on the same disk impression is, at least with dragging in the desktop file manager, it seems instant. Whereas to another disk seems to make new files. I guess that when on the same disk the OS changes only something about the file description?
When moving files on the same disk impression is, at least with dragging in the desktop file manager, it seems instant. Whereas to another disk seems to make new files. I guess that when on the same disk the OS changes only something about the file description?
Sorry, I meant how long do you let the system keep chugging along after
it appears to hang?
When moving files on the same disk impression is, at least with dragging in the desktop file manager, it seems instant. Whereas to another disk seems
to make new files. I guess that when on the same disk the OS changes only something about the file description?
On 2025-07-11 10:52, Andrew Makhorin wrote:
On Jul 11, 2025, Andrew Makhorin wrote:
I encountered a serious bug on moving files from one folder to
another with standard "Files" application in Gnome. Namely,
when the number of files in the distination folder is about
4,500, the "Files" application deadly hangs, and only restaring
the system helps. The files are mainly pdf documents, the total
amount is about 10 Gb.
[...]
What type of drives are the source / target? Spinning Rust? SSD? NVMe?
Both source and destination folders are on the same 500 Gb SSD, ext4 FS.
When moving files on the same disk impression is, at least with
dragging in the desktop file manager, it seems instant. Whereas to
another disk seems to make new files. I guess that when on the same
disk the OS changes only something about the file description?
On 2025-07-11, Dan Ritter <[email protected]> wrote:
If the target location is on a different filesystem, a "move" isIs that true?
a full copy followed by a delete of the source.
If the source is deleted as part of the process it's no longer a "copy."
On 2025-07-11, Nicolas George <[email protected]> wrote:
Greg (HE12025-07-11):
On 2025-07-11, Dan Ritter <[email protected]> wrote:
Is that true?
If the target location is on a different filesystem, a "move" is
a full copy followed by a delete of the source.
Yes, absoltely.
If the source is deleted as part of the process it's no longer a "copy."
Indeed. And you might notice it is exactly what Dan said.
Does that mean to a different filesystem on the same disk it's a move rather than a copy?
Does that mean to a different filesystem on the same disk it's a move rather than a copy?
Greg (HE12025-07-11):
Does that mean to a different filesystem on the same disk it's a move rather
than a copy?
The fact that it is on the same disk is not relevant. Apart from that, I suggest you re-read Dan's mail more carefully, everything was in it.
On Jul 11, 2025, Nicolas George wrote:
Greg (HE12025-07-11):
Does that mean to a different filesystem on the same disk it's a move rather
than a copy?
The fact that it is on the same disk is not relevant. Apart from that, I suggest you re-read Dan's mail more carefully, everything was in it.
It was? Pretty sure I made at least a few hand-wavey errors of omission
at the very least ... ?
On 11 Jul 2025, at 16:45, Dan Ritter <[email protected]> wrote:
Dan Purgert wrote:
On Jul 11, 2025, Nicolas George wrote:
Greg (HE12025-07-11):
Does that mean to a different filesystem on the same disk it's a move rather
than a copy?
The fact that it is on the same disk is not relevant. Apart from that, I >>> suggest you re-read Dan's mail more carefully, everything was in it.
It was? Pretty sure I made at least a few hand-wavey errors of omission
at the very least ... ?
Me Dan, not you Dan.
Feel free to call me dsr to disambiguate, many do.
Dan Purgert wrote:
On Jul 11, 2025, Nicolas George wrote:
Greg (HE12025-07-11):
Does that mean to a different filesystem on the same disk it's a move rather
than a copy?
The fact that it is on the same disk is not relevant. Apart from that, I suggest you re-read Dan's mail more carefully, everything was in it.
It was? Pretty sure I made at least a few hand-wavey errors of omission
at the very least ... ?
Me Dan, not you Dan.
| Sysop: | Keyop |
|---|---|
| Location: | Huddersfield, West Yorkshire, UK |
| Users: | 715 |
| Nodes: | 16 (2 / 14) |
| Uptime: | 14:36:34 |
| Calls: | 12,102 |
| Calls today: | 2 |
| Files: | 15,004 |
| Messages: | 6,518,029 |