SUMMARY Kate no longer creates backup files (with ~ suffix) when saving. This used to work reliably and was very helpful for data recovery after occasional system crashes. STEPS TO REPRODUCE 1. Start Kate 2. Click New 3. Save the file as /home/test/gitea/notes/file3.txt 4. Type some random text 5. Click Save → works fine 6. Click Save again → shows an error popup: OBSERVED RESULT Get a error popup: "Failed to create backup copy For file /home/test/gitea/notes/file3.txt no backup copy could be created before saving. If an error occurs while saving, you might lose the data of this file. A reason could be that the media you write to is full or the directory of the file is read-only for you. " If I click "Try to save nevertheless", the changes are successfully saved to /home/test/gitea/notes/file3.txt. EXPECTED RESULT A copy of the previous version should be saved as: /home/test/gitea/notes/file3.txt~ The latest version should be saved as: /home/test/gitea/notes/file3.txt SOFTWARE/OS VERSIONS Operating System: openSUSE Tumbleweed 20251024 KDE Plasma Version: 6.5.0 KDE Frameworks Version: 6.19.0 Qt Version: 6.10.0 Kernel Version: 6.17.4-1-default (64-bit) Graphics Platform: X11 Processors: 8 × Intel® Core™ i5-8250U CPU @ 1.60GHz Memory: 16 GiB of RAM (15.0 GiB usable) Graphics Processor: Intel® UHD Graphics 620 ADDITIONAL INFORMATION
I get this error under the user "test" on XFCE. When I perform the same steps under another user on the same system (also using XFCE), the backup mechanism works correctly. So it seems to be something related to the user profile — or possibly the fact that the user "test" has home directory encryption enabled.
I see the same issue in KDE with the user "test". Additionally, I recently encountered the following popup when starting KDE: "akonadi_control" has closed unexpectedly. Not sure if related
Looks for me like some issue with file access to that encrypted home. I don't see how we can fix that in Kate. Could you report it to your distro?
I think a tumbleweed upgrade fixed the issue. Not sure.