Ted Felix - 2024-07-17

There are two key routines related to this:

  • RosegardenDocument::setModified()
  • RosegardenDocument::slotDocumentModified()

I've been erring toward marking as modified, and yeah, it's a bit overzealous. There are numerous other situations where the modified flag is set but shouldn't be. This is tangled up with the need to inform the UI that there have been changes and it needs to update itself. A review and redesign is definitely needed so there is a clear separation between UI updates with and without setting the document modified flag/star.

The fact that a prompt to save is not triggered for a "non-change" means we've got partial support for this already in there. But it needs work.