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

Méven <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|CONFIRMED                   |RESOLVED
         Resolution|---                         |FIXED
      Latest Commit|                            |https://invent.kde.org/fram
                   |                            |eworks/kio/-/commit/5e98d7d
                   |                            |0fe8a2b0c80ed450193ffcbd2c9
                   |                            |5378d6

--- Comment #8 from Méven <[email protected]> ---
Git commit 5e98d7d0fe8a2b0c80ed450193ffcbd2c95378d6 by Méven Car, on behalf of
Oliver Schramm.
Committed on 15/02/2026 at 13:20.
Pushed by meven into branch 'master'.

trashimpl: use mnt_id as trashId instead of dev_id

dev_id cannot account for btrfs subvolumes, so to finally fix
issues with them, we go the more sane route and stop looking
at devices but instead at mountpoints and their ids. This allows
us to remove Solid as a dependency from kio_trash, which will
additionally fix trashing on Plasma Vaults (though we have to
make an exception to exclude them from pseudofs like tmpfs).

Because mnt_id is actually an unsigned 64bit int, all functions
and variables with trashId had to be changed.
Related: bug 513350, bug 490247

M  +0    -1    src/kioworkers/trash/CMakeLists.txt
M  +8    -8    src/kioworkers/trash/kio_trash.cpp
M  +0    -1    src/kioworkers/trash/tests/CMakeLists.txt
M  +20   -5    src/kioworkers/trash/tests/testtrash.cpp
M  +3    -2    src/kioworkers/trash/tests/testtrash.h
M  +87   -126  src/kioworkers/trash/trashimpl.cpp
M  +25   -35   src/kioworkers/trash/trashimpl.h

https://invent.kde.org/frameworks/kio/-/commit/5e98d7d0fe8a2b0c80ed450193ffcbd2c95378d6

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to