[frameworks-kio] [Bug 497390] Moving a trashed file to the trash and undoing makes the file disappear

Méven bugzilla_noreply at kde.org
Thu Jan 16 20:30:56 GMT 2025


https://bugs.kde.org/show_bug.cgi?id=497390

Méven <meven at kde.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
      Latest Commit|                            |https://invent.kde.org/fram
                   |                            |eworks/kio/-/commit/98a77e4
                   |                            |905ea1d7a0cdf427bc1cc254a5d
                   |                            |971c5a
         Resolution|---                         |FIXED
             Status|ASSIGNED                    |RESOLVED

--- Comment #6 from Méven <meven at kde.org> ---
Git commit 98a77e4905ea1d7a0cdf427bc1cc254a5d971c5a by Méven Car, on behalf of
Akseli Lahtinen.
Committed on 16/01/2025 at 20:30.
Pushed by meven into branch 'master'.

dropjob: Check if file is already in trash during dropjob

Previously we checked if file is already in trash during the dropjob,
but only by using the scheme. We should also check using the xdg path,
to make sure we are not moving the same file to same folder, causing it
to rename and confusing users.

This also adds unittest `shouldDropFromXdgTrashToTrash`.

M  +30   -0    autotests/dropjobtest.cpp
M  +18   -0    src/widgets/dropjob.cpp

https://invent.kde.org/frameworks/kio/-/commit/98a77e4905ea1d7a0cdf427bc1cc254a5d971c5a

-- 
You are receiving this mail because:
You are on the CC list for the bug.


More information about the kfm-devel mailing list