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

            Bug ID: 488642
           Summary: The file modified on disk banner vanishes when the
                    user cancels saving the file
    Classification: Applications
           Product: kate
           Version: unspecified
          Platform: Neon
                OS: Linux
            Status: REPORTED
          Severity: normal
          Priority: NOR
         Component: general
          Assignee: kwrite-bugs-n...@kde.org
          Reporter: spikespie...@gmx.de
  Target Milestone: ---

SUMMARY

If a file is modified on disk while the user is editing it, Kate provides a
helpful banner with common actions to resolve this issue, including reloading
options and viewing a diff. If the user attempts to Save or Save As and then
cancels on the warning dialog for a file modified on disk, this banner vanishes
and will not reappear even if the file changes on disk again.

STEPS TO REPRODUCE

1.  (assuming no directory test exists) mkdir test; cd test; touch test1; kate
test1
2.  echo 1 >> test 1
3.  A banner pops up in kate, informing the user that the file was modified on
disk.
4. File > Save As, choose test2 as the new name.
5. A warning dialog appears. Press cancel.

OBSERVED RESULT

The dialog closes, and the banner is gone. If the file is modified again, the
banner will not reappear until the file is successfully saved.

EXPECTED RESULT

After the dialog closes, the banner should remain, as the issue is not
addressed in any way yet. If the user chooses a non-permanent solution (i.e.
not Auto-reload), the banner should reappear if the file is modified on disk
again.

SOFTWARE/OS VERSIONS

This happens on both Kubuntu 24.04 with Kate 23.08.05 and current Neon
Developer with Kate 24.07.70.

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

Reply via email to