Community
    • Login

    Reload request after save is annoying.

    Scheduled Pinned Locked Moved General Discussion
    feature request
    2 Posts 2 Posters 188 Views
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • Henrik HaftmannH
      Henrik Haftmann
      last edited by

      Hi,
      after I save changes to the disk file, I often get the message “File has changed on disk, reload?”

      Nobody has changed the file. However, as this problem only occurs on remote drives (here: OpenAFS), I guess that Notepad++ records the last-modification date, which is then slightly changed by the file system.

      So I would change the behaviour:
      For the save, record a file hash value for that saved file, and attach it to the open file (as done with the timestamp I guess).
      In case of detecting such a timestamp(?) change, rehash entire file content and compare with recorded file hash value.
      If equal, ignore the falsy-detected change (i.e. no MessageBox),
      otherwise, there was very probably an external change.

      See this as a bug report, as this annoying MessageBox may occur anytime while editing, and quite often I lost my last changes by hitting Enter key (while typing), and there is no Undo for that case!

      Alan KilbornA 1 Reply Last reply Reply Quote 0
      • Alan KilbornA
        Alan Kilborn @Henrik Haftmann
        last edited by

        @Henrik-Haftmann said in Reload request after save is annoying.:

        See this as a bug report

        Bug reports are not seen here.
        See the FAQ for how to file a real bug report.
        However, I’m sure this is an already-known issue.

        1 Reply Last reply Reply Quote 1
        • First post
          Last post
        The Community of users of the Notepad++ text editor.
        Powered by NodeBB | Contributors