OpenFunscripter / OFS

A tool to create funscripts
GNU General Public License v3.0
90 stars 38 forks source link

File not found dialog shown behind main window #82

Open scriptingsentinel opened 1 year ago

scriptingsentinel commented 1 year ago

Not a serious issue since the file not found dialog isn't modal, but I thought I should write an issue report anyways.

Steps to reproduce:

  1. Create or open a project.
  2. Exit OFS.
  3. Move the project folder.
  4. Open OFS.

OFS will now try to load the latest project and this doesn't exist in the location specified by recent files anymore. The file not found dialog is therefore shown, but it is shown behind the main OFS window and you only hear the exclamation sound from Windows.

Zalunda commented 1 year ago

If I can add something related to this. When the "File not found" is shown and closed by the user, could the 'last opened file' be cleared as well so that the message can't be shown again? Sometimes I keep getting the message on multiple startups until I start a new project.