Summary: | Don't offer to save new empty files | ||
---|---|---|---|
Product: | [Applications] kate | Reporter: | Dotan Cohen <kde-2011.08> |
Component: | general | Assignee: | KWrite Developers <kwrite-bugs-null> |
Status: | RESOLVED INTENTIONAL | ||
Severity: | normal | CC: | kde-2011.08, sonichedgehog_hyperblast00 |
Priority: | NOR | ||
Version First Reported In: | unspecified | ||
Target Milestone: | --- | ||
Platform: | Unlisted Binaries | ||
OS: | Linux | ||
Latest Commit: | Version Fixed In: | ||
Sentry Crash Report: |
Description
Dotan Cohen
2012-02-01 15:41:11 UTC
If there is no content in a file and it is not modified, it will be closed silently. If the contents is modified, we always ask, that's standard behavior we don't plan to change it, sorry. Thanks, no problem. *** Bug 316558 has been marked as a duplicate of this bug. *** This wish came up just twice in the last 12 years. I'm not convinced that this feature is really wanted. In fact, it might even be confusing. Think of writing a long text and then removing it by accident. Closing Kate/KWrite will loose all the data, no matter how large the undo/redo history is. It may be a constructed use case, but still, if the file is modified, it just makes sense to ask the user by default what to do. If at all, it would be ok to add an option "[ ] Do not ask again for empty unsafed buffers" in the dialog or maybe add an option. But given that this feature doesn't seem to be desperately wanted, I'd just stick with the current behavior for now. |