1
0
mirror of https://github.com/cookiengineer/audacity synced 2025-12-28 15:38:48 +01:00

Bug 2600 - Compact project followed by undo restores the last saved state

Uncompacted projects use up 50% or so more space than they could.
The 'compact' feature as currently implemented is confusing, and does
not merit inclusion given the lowish saving.  So featured disabled/removed.
This commit is contained in:
James Crook
2020-11-27 15:18:05 +00:00
parent 3189d05f87
commit ad85755101

View File

@@ -622,10 +622,15 @@ BaseItemSharedPtr FileMenu()
AudioIONotBusyFlag() ), AudioIONotBusyFlag() ),
Command( wxT("SaveCopy"), XXO("&Backup Project..."), FN(OnSaveCopy), Command( wxT("SaveCopy"), XXO("&Backup Project..."), FN(OnSaveCopy),
AudioIONotBusyFlag() ) AudioIONotBusyFlag() )
), )//,
Command( wxT("Compact"), XXO("Co&mpact Project"), FN(OnCompact), // Bug 2600: Compact has interactions with undo/history that are bound
AudioIONotBusyFlag(), wxT("Shift+A") ) // to confuse some users. We don't see a way to recover useful amounts
// of space and not confuse users using undo.
// As additional space used by aup3 is 50% or so, perfectly valid
// approach to this P1 bug is to not provide the 'Compact' menu item.
//Command( wxT("Compact"), XXO("Co&mpact Project"), FN(OnCompact),
// AudioIONotBusyFlag(), wxT("Shift+A") )
), ),
Section( "Import-Export", Section( "Import-Export",