Bug 502646

Summary: Swap file is not created at custom location.
Product: [Applications] kate Reporter: Marco A Cruz Quevedo <macruzq>
Component: applicationAssignee: KWrite Developers <kwrite-bugs-null>
Status: RESOLVED WORKSFORME    
Severity: normal CC: christoph
Priority: NOR    
Version First Reported In: 23.08.5   
Target Milestone: ---   
Platform: KDE Linux   
OS: Linux   
Latest Commit: Version Fixed/Implemented In: 24.12
Sentry Crash Report:

Description Marco A Cruz Quevedo 2025-04-10 15:42:27 UTC
SUMMARY
Swap file is not created at custom location.

STEPS TO REPRODUCE
1. Select Setings / Configure Kate / Open_Sabe /Advanced(tab)
2. Swap file mode: Enabled, store in custom directory
3. Click Apply

OBSERVED RESULT
The swap file is still being created in the default directory.


EXPECTED RESULT


SOFTWARE/OS VERSIONS
Windows: 
macOS: 
(available in the Info Center app, or by running `kinfo` in a terminal window)
Linux/KDE Plasma: 
KDE Plasma Version: 
KDE Frameworks Version: 
Qt Version: 

ADDITIONAL INFORMATION
Comment 1 Christoph Cullmann 2025-04-12 15:53:06 UTC
Just tried that with 24.12, works for me, if I set a custom dir, the dir is created and stuff appears there:

ls /tmp/tetete/
05a684291b178bb3484d9e7f8b94d1a4ea72b216-.kateconfig.kate-swp