You are not logged in.

#1 2025-11-26 18:14:28

ua4000
Member
Registered: 2015-10-14
Posts: 554

[SOLVED] PCManFM-Qt : copy instead of move inside same filesystem

After last update I noticed a new bug in PCManFM-Qt while moving big files, because it took so long:

PCManFM-Qt does not move, but instead copy the data on the disk inside the same file-system.

Bug behavior:
- occurs on ext4 and btrfs
- not with "mv" command, only with PCManFM-Qt
- not with single files, but with folders which have with files
- occurs with drag+drop, and CTRL-X /CTRL-V

I suspect  libfm-qt or pcmanfm-qt  ?

Does anyone have this issue too ?

Updates:

Package (58)                   Old Version       New Version               Net Change  Download Size

core/archlinux-keyring         20251027-3        20251116-1                  0.00 MiB       1.19 MiB
extra/at-spi2-core             2.58.1-1          2.58.1-2                   -0.01 MiB       0.56 MiB
extra/breeze-icons                               6.20.0-1                   82.70 MiB       7.89 MiB
core/ca-certificates-mozilla   3.117-1           3.118.1-1                  -0.02 MiB       0.39 MiB
extra/chromium                 142.0.7444.134-1  142.0.7444.175-1            0.01 MiB     117.11 MiB
extra/cmake                    4.1.2-1           4.2.0-1                     5.27 MiB      13.77 MiB
extra/dhcpcd                   10.2.4-2          10.3.0-1                    0.00 MiB       0.21 MiB
core/e2fsprogs                 1.47.3-1          1.47.3-2                    0.00 MiB       1.24 MiB
extra/ffmpeg                   2:8.0-3           2:8.0.1-1                  -0.02 MiB      14.08 MiB
extra/firefox                  145.0-1           145.0.1-1                  -0.26 MiB      78.34 MiB
extra/freeglut                 3.6.0-3           3.8.0-1                     0.07 MiB       0.18 MiB
extra/git                      2.51.2-2          2.52.0-1                    0.37 MiB       6.82 MiB
core/glib2                     2.86.1-1          2.86.2-1                    0.00 MiB       4.93 MiB
extra/gtk-update-icon-cache    1:4.20.2-3        1:4.20.3-1                  0.00 MiB       0.02 MiB
extra/gtk4                     1:4.20.2-3        1:4.20.3-1                  0.18 MiB       8.91 MiB
extra/kwindowsystem            6.19.0-1          6.20.0-1                    0.00 MiB       0.23 MiB
extra/layer-shell-qt           6.5.2-1           6.5.3-1                     0.00 MiB       0.03 MiB
extra/libadwaita               1:1.8.1-1         1:1.8.2-1                   0.03 MiB       0.73 MiB
core/libarchive                3.8.2-1           3.8.3-1                     0.00 MiB       0.55 MiB
extra/libblockdev-smart                          3.4.0-1                     0.12 MiB       0.02 MiB
extra/libdrm                   2.4.128-1         2.4.129-1                   0.01 MiB       0.34 MiB
extra/libfm-qt                 2.2.0-4           2.3.0-1                     0.04 MiB       0.67 MiB
extra/libkscreen               6.5.2-1           6.5.3-1                     0.00 MiB       0.28 MiB
extra/liblxqt                  2.2.0-1           2.3.0-1                     0.01 MiB       0.16 MiB
extra/libnm                    1.54.1-1          1.54.2-1                    0.01 MiB       0.88 MiB
extra/libqtxdg                 4.2.0-5           4.3.0-2                     0.00 MiB       0.17 MiB
extra/libreoffice-still        25.2.7-2          25.2.7-3                    0.00 MiB     143.41 MiB
extra/libtommath               1.3.0-1           1.3.0-2                     0.00 MiB       0.05 MiB
core/libxml2                   2.15.1-3          2.15.1-4                    0.00 MiB       0.75 MiB
core/linux                     6.17.7.arch1-2    6.17.8.arch1-1              0.04 MiB     142.65 MiB
extra/llvm-libs                21.1.5-1          21.1.6-1                    0.00 MiB      38.45 MiB
extra/luajit                   2.1.1762795099-1  2.1.1763318511+e17ee83-1    0.00 MiB       0.32 MiB
extra/lximage-qt               2.2.0-2           2.3.0-1                     0.04 MiB       0.26 MiB
extra/lxqt-build-tools         2.2.1-1           2.3.0-1                     0.00 MiB       0.02 MiB
extra/lxqt-config              2.2.0-1           2.3.0-1                     0.07 MiB       0.53 MiB
extra/lxqt-globalkeys          2.2.0-1           2.3.0-1                     0.02 MiB       0.25 MiB
extra/lxqt-menu-data           2.2.0-1           2.3.0-1                     0.01 MiB       0.05 MiB
extra/lxqt-notificationd       2.2.0-1           2.3.0-1                     0.02 MiB       0.10 MiB
extra/lxqt-panel               2.2.2-1           2.3.0-1                     0.32 MiB       1.25 MiB
extra/lxqt-qtplugin            2.2.0-4           2.3.0-1                     0.00 MiB       0.04 MiB
extra/lxqt-runner              2.2.0-1           2.3.0-1                     0.02 MiB       0.23 MiB
extra/lxqt-session             2.2.0-1           2.3.0-2                     0.03 MiB       0.21 MiB
extra/lxqt-themes              2.2.0-1           2.3.0-1                     0.13 MiB      25.99 MiB
extra/networkmanager           1.54.1-1          1.54.2-1                    0.01 MiB       3.63 MiB
core/nss                       3.117-1           3.118.1-1                   0.04 MiB       1.64 MiB
extra/obconf-qt                0.16.5-2          0.16.6-1                    0.04 MiB       0.15 MiB
extra/openexr                  3.4.3-1           3.4.4-1                    -0.50 MiB       1.03 MiB
extra/pavucontrol-qt           2.2.0-1           2.3.0-1                     0.01 MiB       0.16 MiB
extra/pcmanfm-qt               2.2.0-1           2.3.0-2                     0.07 MiB       0.54 MiB
extra/poppler                  25.10.0-1         25.11.0-1                   0.00 MiB       1.66 MiB
extra/poppler-glib             25.10.0-1         25.11.0-1                   0.00 MiB       0.35 MiB
extra/qterminal                2.2.1-1           2.3.0-1                     0.06 MiB       0.30 MiB
extra/qtermwidget              2.2.0-1           2.3.0-1                     0.02 MiB       0.25 MiB
extra/qtxdg-tools              4.2.0-1           4.3.0-1                     0.01 MiB       0.03 MiB
extra/solid                    6.19.0-1          6.20.0-1                   -0.02 MiB       0.41 MiB
extra/thunderbird              144.0.1-4         145.0-1                     2.02 MiB      73.94 MiB
extra/udisks2                  2.10.2-1          2.11.0-1                    0.43 MiB       0.76 MiB
extra/xdg-desktop-portal-lxqt  1.2.0-1           1.3.0-2                     0.00 MiB       0.05 MiB

test case,
- a "folder" with a 2GB "bigfile" inside, the folder is moved from folder a to b on the same file-system.
observation of inodes, which should not change on the file at least:

mv : good

# ls -i  .; ls -i  ./folder
# before 
261 folder
262 bigfile
# after "mv"
261 folder
262 bigfile

PCManFM : fail

# ls -i  .; ls -i  ./folder
# before 
261 folder
262 bigfile
# after "PCManFM-Qt move"
263 folder
264 bigfile

Thanks !

Last edited by ua4000 (2025-11-28 17:25:32)

Offline

#2 2025-11-26 21:01:40

seth
Member
From: Won't reply 2 private help req
Registered: 2012-09-03
Posts: 75,085

Re: [SOLVED] PCManFM-Qt : copy instead of move inside same filesystem

https://github.com/lxqt/libfm-qt/commit … fd98c8326b looks eerily reelvant - you could try to build libfm-qt w/ it reverted.
nb. there's also a rebuild for Qt 6.10.1 in testing so iff reverting the above commit fixes it you should verify that re-introducing it re-introduces the bug as well.

Offline

#3 2025-11-27 16:49:52

ua4000
Member
Registered: 2015-10-14
Posts: 554

Re: [SOLVED] PCManFM-Qt : copy instead of move inside same filesystem

Many thanks seth!
You found the right spot, the linked commit has an extra condition missing in the code.
The issue got now a bug label: https://github.com/lxqt/libfm-qt/issues/1085

Offline

#4 2025-11-27 19:56:03

seth
Member
From: Won't reply 2 private help req
Registered: 2012-09-03
Posts: 75,085

Re: [SOLVED] PCManFM-Qt : copy instead of move inside same filesystem

\o/
Please always remember to mark resolved threads by editing your initial posts subject - so others will know that there's no task left, but maybe a solution to find.
Thanks.
(You might have to shorten the present subject a bit)

Offline

#5 2025-11-28 17:32:58

ua4000
Member
Registered: 2015-10-14
Posts: 554

Re: [SOLVED] PCManFM-Qt : copy instead of move inside same filesystem

yes,yes, I know :-)
I wanted to take my time to perform a rebuild and do a real test with the patch today.
But I was too slow, libfm-qt-2.3.1 was released fast and contains the patch, and reached already the extra repo and solved the issue 100% :-)

Offline

Board footer

Powered by FluxBB