Bug 504691 - Allow recovery of closed empty Untitled documents
Summary: Allow recovery of closed empty Untitled documents
Status: RESOLVED DUPLICATE of bug 274102
Alias: None
Product: kate
Classification: Applications
Component: general (other bugs)
Version First Reported In: 24.12.1
Platform: Other Linux
: NOR wishlist
Target Milestone: ---
Assignee: KWrite Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2025-05-23 08:41 UTC by Alexander Potashev
Modified: 2025-05-26 04:33 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed/Implemented In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Alexander Potashev 2025-05-23 08:41:28 UTC
SUMMARY
Allow recovery of closed empty Untitled documents.

STEPS TO REPRODUCE
1. Run Kate, it creates an Untitled document automatically.
2. Type "abc"
3. Press Backspace 3 times to erase "abc"
4. Press Ctrl+W to close the document. The document is immediately closed with no questions asked.
5. The user wants to recover what they had before closing the document. Maybe they fatfingered a key sequence Ctrl+A, Backspace, Ctrl+W and lost important work.

OBSERVED RESULT
Cannot recover Untitled document.

EXPECTED RESULT
Menu "File -> Open Recent" should have the "Untitled" at the top of the list. When selected, the same empty document should open (including undo history), then Undo (Ctrl+Z) would restore the content that was deleted before closing the document.

SOFTWARE/OS VERSIONS
Operating System: gLinux Rodete
KDE Plasma Version: 6.3.0
KDE Frameworks Version: 6.11.0
Qt Version: 6.7.2
Kernel Version: 6.12.20-1rodete1-amd64 (64-bit)
Graphics Platform: Wayland
Processors: 12 × Intel® Xeon® W-2135 CPU @ 3.70GHz
Memory: 62.4 GiB of RAM
Graphics Processor: Quadro P1000/PCIe/SSE2

ADDITIONAL INFORMATION
Comment 1 Waqar Ahmed 2025-05-26 04:33:37 UTC

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