Bug 291089

Summary: KDevelop leave lots of .kate-swp files
Product: [Applications] kdevelop Reporter: Alexander <ashaduri>
Component: generalAssignee: kdevelop-bugs-null
Status: RESOLVED DUPLICATE    
Severity: normal CC: niko.sams
Priority: NOR    
Version: git master   
Target Milestone: 4.2.3   
Platform: Compiled Sources   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Alexander 2012-01-09 22:02:21 UTC
Version:           git master (using KDE 4.7.2) 
OS:                Linux

I'm using KDevelop git master (2012-01-09).

Ever since upgrading to KDE 4.7 (first on openSUSE 11.3, then just by installing 12.1), KDevelop leave behind lots of .kate-swp files.


Reproducible: Always

Steps to Reproduce:
1. Open some file in KDevelop (e.g. main.cpp).
2. Type something, don't save yet.
3. Press ctrl-z, so that the file is restored to the "saved" state.
4. Close the file.

There will be a ".main.cpp.kate-swp" file in the same directory.

When opening the file again, KDevelop will offer to recover the changes. Pressing "View Changes" shows Kompare with the only difference being a newline at the end of one of the files (it was there before). It doesn't matter if you recover the changes or not, the newline will (rightfully) be there anyway.



Expected Results:  
There shouldn't be any kate swap files left behind after the document is closed.

openSUSE 12.1 x86-64 (with distribution-provided KDE 4.7.2).
Comment 1 Alexander 2012-01-09 22:06:19 UTC
Forgot to mention that Kate doesn't have this problem.

Thanks!
Comment 2 Niko Sams 2012-01-14 07:50:41 UTC
marking as duplicate of 291091 because it's a symptom caused by this bug.

*** This bug has been marked as a duplicate of bug 291091 ***