Steps to Reproduce: 1. have some view state in a file (e.g. collapsed regions, selection, cursors) 2. rename the file or move it somewhere else (or its parent) => the file opens without the previous viewstate