Skip to content

Changing Timezones is generating a popup that the file has been modified. #3969

@D3niz

Description

@D3niz

Description of the Issue

With Notepad++ open and any file open, changing the computers timezone then gives a warning in Notepad++ with a popup "This file has been modified by another program, Do you want to reload it and lose the changes made in Notepad++?" or "This file has been modified by another program, Do you want to reload it"

This becomes annoying since it hasn't been changed and the time hasn't changed (still the same time UTC) only the time zone has changed.

Steps to Reproduce the Issue

  1. Change your computer Timezone, e.g. set to +10
  2. Open notepad++ and any text file (the file needs to be saved, not just new file within notepad++)
  3. Change the Timezone to UTC
  4. go back to notepad++
  5. this pop up comes up "This file has been modified by another program, Do you want to reload it and lose the changes made in Notepad++?" or "This file has been modified by another program, Do you want to reload it"

Expected Behavior

Don't display pop up if it is just a timezone change and the file hasn't been modified.
Haven't looked at code but I guess it should be always looking at the UTC time so it is consistent and timezone changes become irrelevant.

Debug Information

Notepad++ v7.5.1 (64-bit)
Build time : Aug 29 2017 - 02:38:44
Path : C:\Program Files\Notepad++\notepad++.exe
Admin mode : OFF
Local Conf mode : OFF
OS : Windows 10 (64-bit)
Plugins : mimeTools.dll NppConverter.dll

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions