https://bugs.kde.org/show_bug.cgi?id=388186

            Bug ID: 388186
           Summary: Kate fails to reload files from disk as they
                    disappear/reappear (and other cases)
           Product: kate
           Version: unspecified
          Platform: Other
                OS: Linux
            Status: UNCONFIRMED
          Severity: normal
          Priority: NOR
         Component: application
          Assignee: [email protected]
          Reporter: [email protected]
  Target Milestone: ---

I have this reproducible with 2 git branches, where one branch adds a new file:
- checkout the other branch (which lacks the new file)
- confirm reloading (will show an empty editor window when you select the file)
- checkout the first branch again
- the file is not reloaded, and still shows an empty editor window, even though
the file definitely has content on disk

Using "Reload All" gives you the file back.

I think this also happened when the file was not empty. Then it contained an
old version of the file, different from the on disk version. This is even more
evil, but I can't reproduce it. But I had some embarrassing bugs due to editing
a file during a rebase, and accidentally restoring some old edits (can't tell
if the file was removed and recreated at some point during all the reloading).

This probably happened in slightly older kate versions too (before #387358
happened), but not in even older versions. Sorry, I don't know at which
versions this was, and have no easy way to test.

Kate 17.08.3, Project Plugin enabled.

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

Reply via email to