Bug 291089 - KDevelop leave lots of .kate-swp files
Summary: KDevelop leave lots of .kate-swp files
Status: RESOLVED DUPLICATE of bug 291091
Alias: None
Product: kdevelop
Classification: Applications
Component: general (show other bugs)
Version: git master
Platform: Compiled Sources Linux
: NOR normal
Target Milestone: 4.2.3
Assignee: kdevelop-bugs-null
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-01-09 22:02 UTC by Alexander
Modified: 2012-01-14 07:50 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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 ***