| Summary: | Unsaved files, and unsaved changes to existing files, are silently lost when closing Kate if the options to save and restore such files are enabled | ||
|---|---|---|---|
| Product: | [Applications] kate | Reporter: | Grósz Dániel <groszdanielpub> |
| Component: | sessions | Assignee: | KWrite Developers <kwrite-bugs-null> |
| Status: | RESOLVED FIXED | ||
| Severity: | critical | CC: | dennis.lissov, john.kizer, norlowicz |
| Priority: | NOR | ||
| Version First Reported In: | 25.04.1 | ||
| Target Milestone: | --- | ||
| Platform: | openSUSE | ||
| OS: | Linux | ||
| Latest Commit: | https://invent.kde.org/utilities/kate/-/commit/5ec8803db140df82735bc215223f052981894bde | Version Fixed/Implemented In: | |
| Sentry Crash Report: | |||
|
Description
Grósz Dániel
2025-06-02 18:55:09 UTC
I can reproduce this in Kate built yesterday from git master, thanks! Kate: 25.07.70 KDE Frameworks: 6.16.0 Qt: Using 6.9.1 and built against 6.9.1 Fedora Linux 42 (KDE Plasma Desktop Edition) (Wayland) Build ABI: x86_64-little_endian-lp64 Kernel: linux 6.14.9-300.fc42.x86_64 *** Bug 505481 has been marked as a duplicate of this bug. *** Git commit 5ec8803db140df82735bc215223f052981894bde by Christoph Cullmann, on behalf of Waqar Ahmed. Committed on 20/06/2025 at 15:54. Pushed by cullmann into branch 'master'. Fix stashing not working We need to do stashing in the saveSessionTo after it has deleted old KConfigGroup entries. If we do it before, we end up deleting the stash entries we just created. Also add a test to make sure the feature is always working at a basic level at least. M +38 -0 apps/lib/autotests/kate_view_mgmt_test2.cpp M +7 -5 apps/lib/session/katesessionmanager.cpp M +1 -1 apps/lib/session/katesessionmanager.h https://invent.kde.org/utilities/kate/-/commit/5ec8803db140df82735bc215223f052981894bde |