Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Daylight Savings Time triggers an unnecessary File Update Prompt in Windows #84543

Closed
chooper-git opened this issue Nov 6, 2023 · 1 comment
Labels

Comments

@chooper-git
Copy link

Godot version

v4.1.2.stable.official [399c9dc]

System information

Godot v4.1.2.stable - Windows 10.0.19045 - Vulkan (Compatibility) - AMD Radeon(TM) RX Vega 11 Graphics (Advanced Micro Devices, Inc.; 26.20.13028.13) - AMD Ryzen 5 2400G with Radeon Vega Graphics (8 Threads)

Issue description

Project was open with all files saved on my Windows machine the night before Daylight Savings Time (Location: California). The next day with a starting working in my project I was greeted by a Pop-Up dialogue warning me of "Newer scripts on disk" and it presented several options like "Revert", "Save Over" & "Scan". (note: I didn't take pics, so titles and text may not be totally accurate in my description). All my files were "saved" in the project so I closed the window without selecting any of the provided buttons. It soon prompted again, so I decided to "Save Over" and move on as I don't edit my files outside the Godot program, so there was no way the Files On Disk could be newer. Then it dawned on me that perhaps the Window OS was updated at 2am automatically when Daylight Savings switched and caused the files in Godot to be out of temporal sync with the ones on Disk. Had I been working in my Project and selected "Revert" I could have lost data. I posted this to Reddit and the community feels his is indeed a bug limited to Windows and can only occur twice a year with Daylight Savings time adjustments.

Steps to reproduce

Live in a location that obeys Daylight Savings time adjustments
Open a Godot project on a Windows computer with at least one script saved on disk
Leave your project loaded when a Daylight Savings Time adjustment occurs (or maybe this can be simulated)
See the file warning popup daig

Minimal reproduction project

"N/A"

@AThousandShips
Copy link
Member

AThousandShips commented Nov 6, 2023

Thank you for reporting, closing as a duplicate of:

@AThousandShips AThousandShips marked this as a duplicate of #74816 Nov 6, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants