Engine icon indicating copy to clipboard operation
Engine copied to clipboard

Bug: Hammer autosave dialog box continuously appears

Open KiwifruitDev opened this issue 2 years ago • 0 comments

Describe the bug

When auto save is not configured correctly within Hammer, there is a helper dialog box that appears to let the user know that auto save is disabled as the current directory is not an absolute path.

image

This dialog box continuously appears over time when the computer is idle. I noticed that my computer was making noises in the background, and discovered multiple dialog boxes open when alt+tabbing.

image

To Reproduce

  1. Reset Hammer's configuration.
    • My Hammer instance was freshly installed.
  2. Open Hammer directly from exe file.
  3. Click File -> New, do not save.
    • I did not save a document, I infer that this bug only occurs without saving.
  4. Wait an undetermined amount of time to auto save.
  5. A dialog box should pop up, do not dismiss it.
    • I haven't dismissed any dialog boxes (or even tabbed into them) as my computer was idle.
  6. Over time, more dialog boxes will appear.

Issue Map

I assume that this issue is caused by new maps that haven't been saved to a file yet.

Further testing is required to determine if this bug occurs with different configurations.

Expected Behavior

When Hammer tries to auto save, it should only pop up one error modal at a time. Otherwise, it is quite disruptive when left alone.

Operating System

Windows 11 Version 21H2 (OS Build 22000.978)

KiwifruitDev avatar Sep 16 '22 22:09 KiwifruitDev