Community
    • Login

    Reload request after save is annoying.

    Scheduled Pinned Locked Moved General Discussion
    feature request
    2 Posts 2 Posters 384 Views 1 Watching
    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 Offline
      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 Offline
        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

        Hello! It looks like you're interested in this conversation, but you don't have an account yet.

        Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

        With your input, this post could be even better 💗

        Register Login
        • First post
          Last post
        The Community of users of the Notepad++ text editor.
        Powered by NodeBB | Contributors