https://bugs.kde.org/show_bug.cgi?id=510810
Bug ID: 510810
Summary: Dolphin fails to trash from plasma-vaults on first try
Classification: I don't know
Product: kde
Version First unspecified
Reported In:
Platform: Arch Linux
OS: Linux
Status: REPORTED
Severity: normal
Priority: NOR
Component: general
Assignee: [email protected]
Reporter: [email protected]
Target Milestone: ---
Created attachment 185911
--> https://bugs.kde.org/attachment.cgi?id=185911&action=edit
Screenshot of undesired behavior
***
If you're not sure this is actually a bug, instead post about it at
https://discuss.kde.org
If you're reporting a crash, attach a backtrace with debug symbols; see
https://community.kde.org/Guidelines_and_HOWTOs/Debugging/How_to_create_useful_crash_reports
Please remove this comment after reading and before submitting - thanks!
***
SUMMARY
Filed under "I don't know" because plasma-vaults was not listed.
Attempting to delete a file from within a plasma vault yields an error message
("Could not rename file") on first try. Deleting the file works on the second
try. Additionally, any movement of files in or out of the vault yields a
warning/error message in journalctl about failing to rename a file.
STEPS TO REPRODUCE
1. Create a new plasma vault. If it asks for a choice (I don't believe it does
anymore), pick gocryptfs.
2. Open dolphin to the vault.
3. Create a new file in the vault, if there isn't already one in there.
4. Open a terminal and type journalctl -xf (just so that we see what gets
logged)
5. Right-click on the file in the vault, and select "Move to Trash"
OBSERVED RESULT
- An error appears: "Could not rename file /path/to/Vaults/yourvault/yourfile."
- The file is not deleted.
- A subsequent "Move to Trash" will (sometimes) delete the file.
EXPECTED RESULT
The file is deleted immediately.
SOFTWARE/OS VERSIONS
Operating System: Arch Linux
KDE Plasma Version: 6.4.5
KDE Frameworks Version: 6.19.0
Qt Version: 6.10.0
Kernel Version: 6.17.3-arch2-1 (64-bit)
Graphics Platform: Wayland
Processors: 22 × Intel® Core™ Ultra 7 155H
Memory: 48 GiB of RAM (46.7 GiB usable)
Graphics Processor: Intel® Arc
Manufacturer: Notebook
Product Name: V54x_6x_TU
System Version: V540TU
ADDITIONAL INFORMATION
Also reproduced this issue on the latest KDE neon Testing Edition ISO. Exactly
the same.
The logs from a failed "Move to Trash" look like the below:
```
Oct 20 01:33:50 periwinkle kioworker[22371]: Could not rename file
"/home/oirnoir/Vaults/Testing/Text File.txt" to
"/home/oirnoir/.local/share/Trash/files/Text File.txt"
Oct 20 01:33:50 periwinkle dolphin[22349]: "Could not rename file
/home/oirnoir/Vaults/Testing/Text File.txt."
```
The logs from a successful "Move to Trash", as well as from any movement of
files into and out of the plasma vault, look like the following:
```
Oct 20 01:34:26 periwinkle kioworker[22371]: Could not rename file
"/home/oirnoir/Vaults/Testing/Text File.txt" to
"/home/oirnoir/.local/share/Trash/files/Text File.txt"
Oct 20 01:34:26 periwinkle kioworker[22371]: Could not rename file
"/home/oirnoir/Vaults/Testing/Text File.txt" to
"/home/oirnoir/.local/share/Trash/files/Text File.txt"
Oct 20 01:34:26 periwinkle kioworker[22371]: copy()
QUrl("file:///home/oirnoir/Vaults/Testing/Text File.txt") to
QUrl("file:///home/oirnoir/.local/share/Trash/files/Text File.txt") mode= 420
```
When moving a file out of the vault, the logs are the same, except the
destination is not .local/share/Trash/files.
--
You are receiving this mail because:
You are watching all bug changes.