They may be related. If Qt can not find its local data path, then Sigil will not find its preferences and therefore no settings ini file would be read or written to which means no window geometry is kept.
Qt uses Windows environment vars to determine its path. Perhaps yours are not set correctly or you have moved it to a network drive (damn ms cloud stuff) which I had a dickens to disable when I last used Windows.
Code:
QString Utility::DefinePrefsDir()
{
// If the SIGIL_PREFS_DIR environment variable override exists; use it.
// It's up to the user to provide a directory they have permission to write to.
if (!SIGIL_PREFS_DIR.isEmpty()) {
return SIGIL_PREFS_DIR;
} else {
return QStandardPaths::writableLocation(QStandardPaths::AppLocalDataLocation);
}
}