pcmanfm icon indicating copy to clipboard operation
pcmanfm copied to clipboard

Cutting and pasting files doesn't work

Open adventuretc opened this issue 1 year ago • 9 comments

pcmanfm 1.3.2 libfm 1.3.2 distro: Ubuntu 24.04 LTS It used to work fine in pcmanfm 1.2.5, although there were already some instances of it not working IIRC. The problem is, I either press Ctrl+X or right click -> cut, then when I would paste the file, nothing happens.

lsb_release --all

No LSB modules are available. Distributor ID: Ubuntu Description: Ubuntu 24.04.2 LTS Release: 24.04 Codename: noble

adventuretc avatar Feb 25 '25 06:02 adventuretc

Terminal output

(pcmanfm:35228): GLib-GIO-CRITICAL **: 07:25:24.569: GFileInfo created without standard::edit-name

(pcmanfm:35228): GLib-GIO-CRITICAL **: 07:25:24.569: file ../../../gio/gfileinfo.c: line 1742 (g_file_info_get_edit_name): should not be reached

(pcmanfm:35228): GLib-GIO-CRITICAL **: 07:25:24.569: GFileInfo created without standard::size

(pcmanfm:35228): GLib-GIO-CRITICAL **: 07:25:24.569: file ../../../gio/gfileinfo.c: line 1845 (g_file_info_get_size): should not be reached

(pcmanfm:35228): GLib-GIO-CRITICAL **: 07:25:24.569: GFileInfo created without standard::is-symlink

(pcmanfm:35228): GLib-GIO-CRITICAL **: 07:25:24.569: file ../../../gio/gfileinfo.c: line 1676 (g_file_info_get_is_symlink): should not be reached

(pcmanfm:35228): GLib-GIO-CRITICAL **: 07:25:24.569: GFileInfo created without standard::is-hidden

(pcmanfm:35228): GLib-GIO-CRITICAL **: 07:25:24.569: file ../../../gio/gfileinfo.c: line 1632 (g_file_info_get_is_hidden): should not be reached

(pcmanfm:35228): GLib-GIO-CRITICAL **: 07:25:24.569: GFileInfo created without standard::is-backup

(pcmanfm:35228): GLib-GIO-CRITICAL **: 07:25:24.569: file ../../../gio/gfileinfo.c: line 1654 (g_file_info_get_is_backup): should not be reached

(pcmanfm:35228): GLib-GIO-CRITICAL **: 07:25:24.675: GFileInfo created without standard::edit-name

(pcmanfm:35228): GLib-GIO-CRITICAL **: 07:25:24.675: file ../../../gio/gfileinfo.c: line 1742 (g_file_info_get_edit_name): should not be reached

(pcmanfm:35228): GLib-GIO-CRITICAL **: 07:25:24.675: GFileInfo created without standard::size

(pcmanfm:35228): GLib-GIO-CRITICAL **: 07:25:24.675: file ../../../gio/gfileinfo.c: line 1845 (g_file_info_get_size): should not be reached

(pcmanfm:35228): GLib-GIO-CRITICAL **: 07:25:24.675: GFileInfo created without standard::content-type

(pcmanfm:35228): GLib-GIO-CRITICAL **: 07:25:24.675: file ../../../gio/gfileinfo.c: line 1821 (g_file_info_get_content_type): should not be reached

(pcmanfm:35228): GLib-GIO-CRITICAL **: 07:25:24.675: GFileInfo created without standard::is-symlink

(pcmanfm:35228): GLib-GIO-CRITICAL **: 07:25:24.675: file ../../../gio/gfileinfo.c: line 1676 (g_file_info_get_is_symlink): should not be reached

(pcmanfm:35228): GLib-GIO-CRITICAL **: 07:25:24.675: GFileInfo created without standard::is-hidden

(pcmanfm:35228): GLib-GIO-CRITICAL **: 07:25:24.675: file ../../../gio/gfileinfo.c: line 1632 (g_file_info_get_is_hidden): should not be reached

(pcmanfm:35228): GLib-GIO-CRITICAL **: 07:25:24.675: GFileInfo created without standard::is-backup

(pcmanfm:35228): GLib-GIO-CRITICAL **: 07:25:24.675: file ../../../gio/gfileinfo.c: line 1654 (g_file_info_get_is_backup): should not be reached

(pcmanfm:35228): GLib-GIO-CRITICAL **: 07:25:24.680: GFileInfo created without standard::edit-name

(pcmanfm:35228): GLib-GIO-CRITICAL **: 07:25:24.680: file ../../../gio/gfileinfo.c: line 1742 (g_file_info_get_edit_name): should not be reached

(pcmanfm:35228): GLib-GIO-CRITICAL **: 07:25:24.680: GFileInfo created without standard::size

(pcmanfm:35228): GLib-GIO-CRITICAL **: 07:25:24.680: file ../../../gio/gfileinfo.c: line 1845 (g_file_info_get_size): should not be reached

(pcmanfm:35228): GLib-GIO-CRITICAL **: 07:25:24.680: GFileInfo created without standard::content-type

(pcmanfm:35228): GLib-GIO-CRITICAL **: 07:25:24.680: file ../../../gio/gfileinfo.c: line 1821 (g_file_info_get_content_type): should not be reached

(pcmanfm:35228): GLib-GIO-CRITICAL **: 07:25:24.680: GFileInfo created without standard::is-symlink

(pcmanfm:35228): GLib-GIO-CRITICAL **: 07:25:24.680: file ../../../gio/gfileinfo.c: line 1676 (g_file_info_get_is_symlink): should not be reached

(pcmanfm:35228): GLib-GIO-CRITICAL **: 07:25:24.680: GFileInfo created without standard::is-backup

(pcmanfm:35228): GLib-GIO-CRITICAL **: 07:25:24.680: file ../../../gio/gfileinfo.c: line 1654 (g_file_info_get_is_backup): should not be reached

adventuretc avatar Feb 25 '25 06:02 adventuretc

pcmanfm 1.3.2 libfm 1.3.2

Which Ubuntu revision?

ib avatar Feb 25 '25 10:02 ib

I edited to add. Ubuntu 24.04.2 LTS.

adventuretc avatar Feb 25 '25 12:02 adventuretc

Terminal output

This is strange, as if GFile is losing all its data.

Is there any other information that might be helpful?

Are these network or hard drive files? Does this happen all the time? If not, is there any systematic way to reproduce the bug?

ib avatar Feb 26 '25 10:02 ib

They are local SSD files. It started to be inconsistent. It worked yesterday but broken again today. Will report more if I have info.

adventuretc avatar Feb 26 '25 11:02 adventuretc

Are you sure your SSD is okay?

ib avatar Feb 26 '25 11:02 ib

X-Server or XWayland?

Do you paste immediately after cutting, or do you do other operations in between?

How do you paste? Ctrl+V, right click or menu?

I can't reproduce the bug, so unless there is a reproducible test case, I tend to ignore the issue for now.

ib avatar Feb 28 '25 13:02 ib

Are you sure your SSD is okay?

Yes. I've just ran a short self-test and everything is okay. Wear leveling is at 98% "health".

How do you paste? Ctrl+V, right click or menu?

Both Ctrl+V and right click paste failed when it happened.

Sure, no problem.

adventuretc avatar Feb 28 '25 15:02 adventuretc

I narrowed it down a bit more. It's Cutting that doesn't work, pasting works. If I Cut inside Dolphin and paste inside pcmanfm, all works, but if I Cut inside pcmanfm I can't paste anything inside Dolphin, Dolphin hangs for a few secs (hints of an error being generated I guess?) and then shows no option to paste anything. The clipboard is actually being emptied because the prevously-visible menu item to paste the prevously-copied item disappears. But the context menu Cut and pressing Ctrl+X do this.

adventuretc avatar Mar 28 '25 15:03 adventuretc