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

            Bug ID: 504785
           Summary: Misleading message during file delete when size of the
                    "Trash" exceeds limit
    Classification: Frameworks and Libraries
           Product: frameworks-kio
      Version First 6.13.0
       Reported In:
          Platform: Other
                OS: Linux
            Status: REPORTED
          Severity: normal
          Priority: NOR
         Component: Trash
          Assignee: kio-bugs-n...@kde.org
          Reporter: xalt7x.serv...@gmail.com
                CC: kdelibs-b...@kde.org
  Target Milestone: ---

SUMMARY
Deletion of the 1 Byte file may trigger dialog window with the message "Moving
this item to Trash failed as it is too large." This happens when the "Trash"
directory size exceeds specified limit.

STEPS TO REPRODUCE
1. Open "Dolphin" file manager
2. Open "Configure Dolphin" > "Trash" and see current Trash size limit (e.g.,
10% that = 92.99GiB)
2. Increase Trash size limit slighly (e.g., 11% / 102.29GiB)
3. Create file larger than the initial Trash limit (e.g.,  fallocate -l 100G
100G) and delete it
4. Return the initial Trash size limit (10%)
5. Create empty file with the size 1 Byte (echo "" > 1B) and try to delete it

OBSERVED RESULT
 Window with the title "Delete Permanently — Dolphin" and the message "Moving
this item to Trash failed as it is too large. Permanently delete it instead?"
appears and waits for the user action

EXPECTED RESULT
Message in the window informs that the Trash is full and can't accept new files

SOFTWARE/OS VERSIONS
Linux/KDE Plasma: Fedora 42
KDE Plasma Version:  6.3.5
KDE Frameworks Version: 6.14.0
Qt Version: 6.9.0

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

Reply via email to