View Issue Details

IDProjectCategoryView StatusLast Update
0001840OpenMPTFeature Requestpublic2024-11-25 18:05
ReporterLachesis Assigned To 
PrioritynormalSeverityfeatureReproducibilityN/A
Status newResolutionopen 
Platformx86-64OSFedora Linux 41 / Wine 9.15OS Version9.15
Product VersionOpenMPT 1.31.12.00 / libopenmpt 0.7.11 (current stable) 
Summary0001840: Option to save/restore sessions of multiple modules
Description

I would like the ability to save sessions consisting of all currently open modules, and to reopen saved sessions. This request is related to/briefly mentioned by 0000863.

Possible features:

  • Save session option under the File menu to save the current session.
  • Load session option under the File menu to reload a saved session, with the option of either replacing the current session or adding the modules from that session to the current session.
    • Replacing the session should prompt saving of modified modules.
  • A list of sessions under the startup menu (0000863) to select from.
  • An option to save the current session on exit and to reload it the next time OpenMPT starts.

Potential issues:

  • Not clear how unsaved modules should be handled: should new/modified modules be stored within the session? Should saving a session force saving or reverting new/modified modules?
  • Not clear how modules modified/renamed/deleted after a session should be handled: should the version on disk be opened if available (preferred) or should a snapshot of the old version be stored in the session?
Additional Information

I usually work on multiple related modules at a time for game soundtracks and it'd be nice to batch-open whichever set I'm currently working on.

Sessions would also be very useful for libxmp development, as often I need to reopen several modules between reboots. Specific example: I've been implementing Protracker instrument swaps in libxmp and there are 9 related OpenMPT test MODs that I've been reopening every time I boot my laptop on the go. This takes up almost the entire history in the File menu, so if I open multiple of the reported modules that are affected by this issue, the next time I restart I have to navigate back to the OpenMPT tests with the open dialog/Explorer/Dolphin and Ctrl select them. It'd be nicer to just batch all 9 OpenMPT tests and the 8 or so reported modules into one session.

TagsNo tags attached.
Has the bug occurred in previous versions?
Tested code revision (in case you know it)

Relationships

related to 0000863 feedbackSaga Musix Behaviour on startup of OpenMPT 

Activities

Saga Musix

Saga Musix

2024-11-25 18:05

administrator   ~0006214

It's not quite the same, and session support would indeed be nice to have, but for now the Quick Start dialog has been augmented with the possibility to select multiple files at once from the recent file / template list (as of r22302). So that adds at least the possibility of resuming the previous session with fewer clicks, without having to immediately come up with answers for those pesky edge cases.

Issue History

Date Modified Username Field Change
2024-11-23 22:13 Lachesis New Issue
2024-11-24 12:51 Saga Musix Relationship added related to 0000863
2024-11-25 18:05 Saga Musix Note Added: 0006214