Bugzilla – Bug 1505
Window size not restored on launch (using virtual desktop)
Last modified: 2018-08-20 11:45:49 UTC
Window resizing not remembered between sessions. Seen with Windows executable. Happens in 2.1.2. Does not happen in 2.1.1. Happens with Dexpot virtual desktop.
DEVEL - FIX MADE https://github.com/audacity/audacity/commit/576020f203e692ccddc065268c6607bdc26b0b72 emails with the affected user established that the root of the problem was a project window that was very near the edge. He was staying on 2.1.1 rather than upgrading to 2.1.2 because of this issue.
I "think" this is not specific to virtual desktops or Windows but is cross-platform. It was a residual P3/P4 from this fix http://bugzilla.audacityteam.org/show_bug.cgi?id=1243#c19 that never got onto Bugzilla. What it amounted to was that if you dragged any part of the Audacity window even slightly off screen then did File > Close or Exit, the next Audacity window was centred at default size. Cursory testing suggest this does fix what I describe above, so this wants testing on all platforms.
(In reply to James Crook from comment #1) Testing on macOS Sierra 10.12.6 with 53c3adf 03Aug17 3e39771 and on W10 audacity-win-ra45f3bb-2.2.0-alpha-22-jul-17 Window sizes on both platforms appear to be remembered and restored correctly.
(In reply to Peter Sampson from comment #3) But NOT SO if you drag the window partly off-screen So flagged as minus on Mac and Win and marked the bug as REOPENED
For Comment #4 to be valid the steps to reproduce would need updating. They have not been. The original issue per comment 0 and comment 1 and current steps to reproduce are, per comment 3 fixed. Comment #2 is a request for a change in behaviour to not fix-up partly off screen windows. That's wrong. We should do. It's almost off screen windows that we should not 'fix up'. RESOLVED FIXED based on a fix by me and the test by Peter in comment 3. Comment 4 does not belong in this bug (unless the steps are changed, wherupon I mark the bug as invalid, since it is a request for a change in behaviour and not an actual bug).