Investigation Music Options Don't Reset

Issue #182 resolved
Enthalpy created an issue

Suppose you have no music and then open the Dialogue → Settings tab. No music groups will be available. Now go the music tab, create a track, and then go back to frames. The option to select music from the tracks you already have will not exist! Now will newly created tracks appear in “Music already used.”

When switching tabs, this select needs to be rebuilt.

Comments (2)

  1. Enthalpy reporter

    The core of this bug is that when leaving the Frames tab, the contents are saved in a variable, which is reloaded to the screen when moving back to the Frames tab (see initRowSectionContent). Although the frame row data won't change while off the Frames tab, the frames tab depends on other fields, meaning elements of the Frames tab may need to be re-loaded. This bug is the result of frames depending on music by means of a music selector. The simplest fix is to simply reload everything, but I suspect that not using this temp variable trick would be a nightmare for load times in large trials. I'll need to test it.

    I have a bad feeling this bug will be exceedingly difficult to fix.

  2. Arnaud Vié

    added music editor to scene editor (fixes #182) added optionalcallback parameter to editorBuild that is called when the editor is closed if set forced scene editor to refresh upon closing screen or music editor (fixes #45)

    → <<cset ebf610882df6>>

  3. Log in to comment