https://bugs.kde.org/show_bug.cgi?id=497478
navid.zamani+...@gmail.com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |navid.zamani+...@gmail.com

--- Comment #11 from navid.zamani+...@gmail.com ---
I found the trigger:

I can reliably reproduce it happening without a need to close Kate or reload a
session. 
All you need, is to be in a session, open a document, and change it.
it is *instantly* renamed to “Document #”, with # being the number of opened
documents, starting at 0.
And the on-disc location is set to
„$HOME/.local/share/kate/stash/${session}.katesession/Document #”.

So it is impossible to save the changes, and closing the file LOSES THE
CHANGES.
(Technically, they are saved to “Document #”, but opening any other file that
happens to re-named to that, will of course overwrite it.)
I literally cannot edit that file with Kate anymore. I had to use another
editor!

@Developers: Can you look in the logic that checks if the document has been
changed (compared to the on-disk version)? 
In there, inside a conditional that checks if we are in a session, the bug
should be found.
(I can verify that it doesn’t happen if we’re not in a session. Even with the
same exact file being opened and changed.)

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to