Bug 501111 - Kate suddenly exchanges file
Summary: Kate suddenly exchanges file
Status: RESOLVED DUPLICATE of bug 499482
Alias: None
Product: kate
Classification: Applications
Component: general (other bugs)
Version First Reported In: 24.12.2
Platform: Flatpak Linux
: NOR normal
Target Milestone: ---
Assignee: KWrite Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2025-03-05 19:08 UTC by branch8475
Modified: 2025-03-18 22:32 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 branch8475 2025-03-05 19:08:15 UTC
SUMMARY
Sometimes a file, which is opened in a tab in Kate, is suddenly exchanged by an auto save file.
The content of the document is preserved, but now the document suddenly points to a file in the auto save folder.

For example "$HOME/Documents/Example.txt" is suddenly exchanged by "$HOME/.var/app/org.kde.kate/data/kate/stash/ExampleSession.katesession/Document 2". The file name "Document <number>" is automatically given by Kate.

STEPS TO REPRODUCE
1. Open Kate
2. Open a  document as a tab in a Kate session
3. Edit the Document

OBSERVED RESULT

Sometimes after a while the document suddenly points to an auto save file

EXPECTED RESULT

The document keeps pointing to the file from which it was opened.

SOFTWARE/OS VERSIONS
Linux/KDE Plasma: Fedora 41
KDE Plasma Version: 6.3.1
KDE Frameworks Version: 6.11.0
Qt Version: 6.8.2

ADDITIONAL INFORMATION
Comment 1 Christoph Cullmann 2025-03-18 22:32:16 UTC
Fixed with the other bug and follow up https://invent.kde.org/utilities/kate/-/commit/9e0b3c65630191a32aca260986dcd885748d1916

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