Multi Window Initial Positioning Error

I looked for this bug and didn’t see it logged anywhere. When switching between a multi and single monotor setup, there is an error in the initial window position.

Steps to Reproduce (one way):

  1. Create a project where it can be accessed by two machines (e.g. shared folder, dropbox, whatever)
  2. Open the project on a multi-monitor setup.
  3. Position the Scrivener window on the extended monitor (make sure the monitors are in extended mode and not duplate mode)
  4. Close the project
  5. Open the project on a single monitor setup
  6. Scrivener window is opened ‘off screen’ (e.g. outside the bounds of the single monitor) where you can’t get access to it.
    Expected Behavior: the window opens on the visible screen

Alternate steps (I think this works):

  1. Create a project on a laptop setup with multiple monitors
  2. open the project and positon the scrivener window on the extended monitor (make sure the monitors are in extended mode and not duplicate mode)
  3. close the project & shutdown the laptop
  4. undock the laptop (or otherwise disconnect the extended monitor)
  5. restart the laptop
  6. Open scrivener project - the window will open off screen where it is inaccessable.
    Expected Behavior: the window should open on the visible screen.