Summary: | Katepart swap file feature not available for unsaved or moved files | ||
---|---|---|---|
Product: | [Applications] kate | Reporter: | Shriramana Sharma <samjnaa> |
Component: | part | Assignee: | KWrite Developers <kwrite-bugs-null> |
Status: | RESOLVED DUPLICATE | ||
Severity: | normal | CC: | christoph, codestruct, justin.zobel, kde.lwzr1, nate |
Priority: | NOR | ||
Version: | unspecified | ||
Target Milestone: | --- | ||
Platform: | Other | ||
OS: | Linux | ||
Latest Commit: | Version Fixed In: | ||
Sentry Crash Report: |
Description
Shriramana Sharma
2018-05-29 16:10:42 UTC
Under "expected behaviour" I forgot to add a fourth point: 4. Same swap behaviour should be available for moved files also. Of course, Katepart can't know where the file has been moved *to*, but it should know where the file was earlier and should offer to save there or at least it should offer to save it somewhere if that location no longer exists. Was your loss of data caused by a crash, or did you kill Kate manually? (In reply to Christoph Feck from comment #2) > Was your loss of data caused by a crash, or did you kill Kate manually? Initially it was caused by a system power loss due to my UPS battery failing, but for testing of course I didn't pull the plug! Surely the effect is the same whether it goes down itself or we kill it? I recently saw how Notepad++ is dealing with unsaved files: 1. Open Notepad++, create a new tab and type something 2. Close Notepad++; there is no "do you want to save" question 3. Open it again; the content of unsaved tab was restored without any message I am not convinced whether this message-less behaviour is a good. But just for the record. I'm also coming from windows and using notepad++. Their behaviour is brilliant. If all my windows 'resume' after a reboot on linux. I expect a text editor to also just 'resume' in the exact same state. With all files including unsaved text to be open I am very open to have such a feature ;=) Unfortunately I think at the moment nobody is working on this. Patches highly welcome! *** This bug has been marked as a duplicate of bug 353654 *** |