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

Méven <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
      Latest Commit|                            |https://invent.kde.org/fram
                   |                            |eworks/kio/-/commit/0a63a91
                   |                            |90642f9b7b8fd6252afffbf48f1
                   |                            |a36165
         Resolution|---                         |FIXED
             Status|CONFIRMED                   |RESOLVED

--- Comment #4 from Méven <[email protected]> ---
Git commit 0a63a9190642f9b7b8fd6252afffbf48f1a36165 by Méven Car, on behalf of
Oliver Schramm.
Committed on 11/11/2025 at 10:59.
Pushed by meven into branch 'master'.

trash: don't fallback to home trash if trash is unavailable

If no trash can be created for the partition or network share, it might
not be desirable to move a file to the main trash on the home partition.
Especially when the partition is tmpfs (like /tmp), it would be
counterintuitive when the files would be persisted when it is "removed".
Even though this means, we can no longer test trash by using files
under /tmp.

So instead provide the user with a choice to delete the file
directly.
Related: bug 502315
Signed-off-by: Oliver Schramm <[email protected]>

M  +3    -0    autotests/dropjobtest.cpp
M  +4    -1    src/core/askuseractioninterface.h
M  +2    -0    src/core/global.h
M  +3    -0    src/core/job_error.cpp
M  +107  -37   src/kioworkers/trash/tests/testtrash.cpp
M  +6    -8    src/kioworkers/trash/tests/testtrash.h
M  +21   -19   src/kioworkers/trash/trashimpl.cpp
M  +3    -1    src/kioworkers/trash/trashimpl.h
M  +3    -2    src/widgets/deleteortrashjob.cpp
M  +23   -0    src/widgets/widgetsaskuseractionhandler.cpp

https://invent.kde.org/frameworks/kio/-/commit/0a63a9190642f9b7b8fd6252afffbf48f1a36165

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

Reply via email to