View Issue Details
|ID||Project||Category||View Status||Date Submitted||Last Update|
|0001456||OpenMPT||General||public||2021-05-06 17:07||2021-05-06 17:14|
|Reporter||Saga Musix||Assigned To|
|Priority||normal||Severity||minor||Reproducibility||have not tried|
|Target Version||OpenMPT 1.?? (long term goals)|
|Summary||0001456: Rethink mod conversion|
Currently, converting between various module formats can have surprising results, e.g. when invoking Undo. It's probably known to most users that this kind of conversion is almost always lossy, but the results can still be surprising.
Alternative approaches should be explored, e.g. always creating a new CModDoc as a result of a format change. This way, the old module would stay open and editable, and the user can more easily compare what has changed. If a conversion is more lossy than the user expected, they can still easily go back to the previous state even if they forgot to save the file before conversion. Technically this approach would require some refactoring because many objects cannot simply be copied between different CSoundFiles.
|Tags||No tags attached.|
|Has the bug occurred in previous versions?|
|Tested code revision (in case you know it)|
The logical step would be to implement a working copy-constructor for CSoundFile, and nothing else. Then, nothing of the existing conversion code would even need to be touched.