-
Notifications
You must be signed in to change notification settings - Fork 12
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Default sound for ComboBoxListBox does not supports dynamic order and visibility of items. #862
Comments
Assigning to @zepumph @brent-phet and @kathy-phet to decide whether this needs to be rolled into https://github.com/phetsims/phet-io/issues/1974. Assigning to @jbphet to investigate a UI sound solution that supports dynamic order and visibility of listBox items. |
It seems most important to have a fix on main. Then we can see how straight forward it would be to roll into the PhET-iO MR. @brent-phet let me know if you want to discuss anything else to determine priority. |
I'm keeping track of everything for my MR in https://github.com/phetsims/phet-io/issues/1974#issue-1997765227. Until told otherwise, I have noted that we aren't adding this to the MR, let me know if/when that changes. |
I've implemented a fix for this and reviewed it with @pixelzoom, who helped to improve it substantially. Unfortunately, it is comprised of two commits because I found an issue after committing it. @pixelzoom and I tested removing and reordering list box items in My Solar System and verified that the behavior for the default sounds is correct. We also added tested adding a custom sound for an item and verified that it moved with the item. I also regression tested on other sims that use combo boxes. Since @pixelzoom has already been through the code he feels like it has been adequately reviewed. Turning over to @zepumph for possible inclusion in an upcoming maintenance release. |
@zepumph note that this fix DOES need to be patched into my-solar-system 1.3, which is currently in RC testing. |
…o#1974, getPhetioOverridesFile, phetsims/phet-io#1974, createFromStandardPhetioWrapper: phetsims/phet-io#1974, getDOMElementID: phetsims/phet-io#1974, SIMULATION_VERSION_STRING: phetsims/phet-io#1974, phetmarks-perennial-url: phetsims/phet-io#1974, SIMULATION_VERSION_MAJOR_MINOR_STRING1: phetsims/phet-io#1974, unlinkIndex: phetsims/phet-io#1974, getSimulationURL: phetsims/phet-io#1974, addSimulationInitializedListener: phetsims/phet-io#1974, launchSimulation: phetsims/phet-io#1974, displaySimulation: phetsims/phet-io#1974, setSimulationStartedMetadata: phetsims/phet-io#1974, clientGuide: phetsims/phet-io#1974, getPhetioElementState: phetsims/phet-io#1974, keyboardTraversal: phetsims/sun#859, phetsims/sun#861, phetsims/sun#862, phetioClientRename: phetsims/phet-io#1965
This was confirmed fixed by QA for all MR sims with a Combo Box. Closing |
…o#1974, getPhetioOverridesFile, phetsims/phet-io#1974, createFromStandardPhetioWrapper: phetsims/phet-io#1974, getDOMElementID: phetsims/phet-io#1974, SIMULATION_VERSION_STRING: phetsims/phet-io#1974, phetmarks-perennial-url: phetsims/phet-io#1974, SIMULATION_VERSION_MAJOR_MINOR_STRING1: phetsims/phet-io#1974, unlinkIndex: phetsims/phet-io#1974, getSimulationURL: phetsims/phet-io#1974, addSimulationInitializedListener: phetsims/phet-io#1974, launchSimulation: phetsims/phet-io#1974, displaySimulation: phetsims/phet-io#1974, setSimulationStartedMetadata: phetsims/phet-io#1974, clientGuide: phetsims/phet-io#1974, getPhetioElementState: phetsims/phet-io#1974, keyboardTraversal: phetsims/sun#859, phetsims/sun#861, phetsims/sun#862, phetioClientRename: phetsims/phet-io#1965, phetsims/studio#317
…o#1974, getPhetioOverridesFile, phetsims/phet-io#1974, createFromStandardPhetioWrapper: phetsims/phet-io#1974, getDOMElementID: phetsims/phet-io#1974, SIMULATION_VERSION_STRING: phetsims/phet-io#1974, SIMULATION_VERSION_MAJOR_MINOR_STRING1: phetsims/phet-io#1974, unlinkIndex: phetsims/phet-io#1974, getSimulationURL: phetsims/phet-io#1974, addSimulationInitializedListener: phetsims/phet-io#1974, launchSimulation: phetsims/phet-io#1974, displaySimulation: phetsims/phet-io#1974, setSimulationStartedMetadata: phetsims/phet-io#1974, clientGuide: phetsims/phet-io#1974, getPhetioElementState: phetsims/phet-io#1974, keyboardTraversal: phetsims/sun#859, phetsims/scenery#1550, phetsims/sun#864, phetsims/sun#861, phetsims/sun#862, phetioClientRename: phetsims/phet-io#1965, phetsims/studio#317
…o#1974, getPhetioOverridesFile, phetsims/phet-io#1974, createFromStandardPhetioWrapper: phetsims/phet-io#1974, getDOMElementID: phetsims/phet-io#1974, SIMULATION_VERSION_STRING: phetsims/phet-io#1974, phetmarks-perennial-url: phetsims/phet-io#1974, SIMULATION_VERSION_MAJOR_MINOR_STRING1: phetsims/phet-io#1974, unlinkIndex: phetsims/phet-io#1974, getSimulationURL: phetsims/phet-io#1974, addSimulationInitializedListener: phetsims/phet-io#1974, launchSimulation: phetsims/phet-io#1974, displaySimulation: phetsims/phet-io#1974, setSimulationStartedMetadata: phetsims/phet-io#1974, clientGuide: phetsims/phet-io#1974, getPhetioElementState: phetsims/phet-io#1974, keyboardTraversal: phetsims/sun#859, phetsims/sun#861, phetsims/sun#862, phetioClientRename: phetsims/phet-io#1965, phetsims/studio#317
…o#1974, getPhetioOverridesFile, phetsims/phet-io#1974, createFromStandardPhetioWrapper: phetsims/phet-io#1974, getDOMElementID: phetsims/phet-io#1974, SIMULATION_VERSION_STRING: phetsims/phet-io#1974, SIMULATION_VERSION_MAJOR_MINOR_STRING1: phetsims/phet-io#1974, unlinkIndex: phetsims/phet-io#1974, getSimulationURL: phetsims/phet-io#1974, addSimulationInitializedListener: phetsims/phet-io#1974, launchSimulation: phetsims/phet-io#1974, displaySimulation: phetsims/phet-io#1974, setSimulationStartedMetadata: phetsims/phet-io#1974, clientGuide: phetsims/phet-io#1974, getPhetioElementState: phetsims/phet-io#1974, keyboardTraversal: phetsims/sun#859, phetsims/scenery#1550, phetsims/sun#861, phetsims/sun#862, phetioClientRename: phetsims/phet-io#1965, phetsims/studio#317
…o#1974, getPhetioOverridesFile, phetsims/phet-io#1974, createFromStandardPhetioWrapper: phetsims/phet-io#1974, getDOMElementID: phetsims/phet-io#1974, SIMULATION_VERSION_STRING: phetsims/phet-io#1974, SIMULATION_VERSION_MAJOR_MINOR_STRING1: phetsims/phet-io#1974, unlinkIndex: phetsims/phet-io#1974, getSimulationURL: phetsims/phet-io#1974, addSimulationInitializedListener: phetsims/phet-io#1974, launchSimulation: phetsims/phet-io#1974, displaySimulation: phetsims/phet-io#1974, setSimulationStartedMetadata: phetsims/phet-io#1974, clientGuide: phetsims/phet-io#1974, getPhetioElementState: phetsims/phet-io#1974, keyboardTraversal: phetsims/sun#859, phetsims/scenery#1550, phetsims/sun#861, phetsims/sun#862, phetioClientRename: phetsims/phet-io#1965, phetsims/studio#317
…o#1974, getPhetioOverridesFile, phetsims/phet-io#1974, createFromStandardPhetioWrapper: phetsims/phet-io#1974, getDOMElementID: phetsims/phet-io#1974, SIMULATION_VERSION_STRING: phetsims/phet-io#1974, SIMULATION_VERSION_MAJOR_MINOR_STRING1: phetsims/phet-io#1974, unlinkIndex: phetsims/phet-io#1974, getSimulationURL: phetsims/phet-io#1974, addSimulationInitializedListener: phetsims/phet-io#1974, launchSimulation: phetsims/phet-io#1974, displaySimulation: phetsims/phet-io#1974, setSimulationStartedMetadata: phetsims/phet-io#1974, clientGuide: phetsims/phet-io#1974, getPhetioElementState: phetsims/phet-io#1974, keyboardTraversal: phetsims/sun#859, phetsims/scenery#1550, phetsims/sun#861, phetsims/sun#862, phetioClientRename: phetsims/phet-io#1965, phetsims/studio#317
…o#1974, getPhetioOverridesFile, phetsims/phet-io#1974, createFromStandardPhetioWrapper: phetsims/phet-io#1974, getDOMElementID: phetsims/phet-io#1974, SIMULATION_VERSION_STRING: phetsims/phet-io#1974, SIMULATION_VERSION_MAJOR_MINOR_STRING1: phetsims/phet-io#1974, unlinkIndex: phetsims/phet-io#1974, getSimulationURL: phetsims/phet-io#1974, addSimulationInitializedListener: phetsims/phet-io#1974, launchSimulation: phetsims/phet-io#1974, displaySimulation: phetsims/phet-io#1974, setSimulationStartedMetadata: phetsims/phet-io#1974, clientGuide: phetsims/phet-io#1974, getPhetioElementState: phetsims/phet-io#1974, keyboardTraversal: phetsims/sun#859, phetsims/scenery#1550, phetsims/sun#864, phetsims/sun#861, phetsims/sun#862, phetioClientRename: phetsims/phet-io#1965, phetsims/studio#317
…o#1974, getPhetioOverridesFile, phetsims/phet-io#1974, createFromStandardPhetioWrapper: phetsims/phet-io#1974, getDOMElementID: phetsims/phet-io#1974, SIMULATION_VERSION_STRING: phetsims/phet-io#1974, SIMULATION_VERSION_MAJOR_MINOR_STRING1: phetsims/phet-io#1974, unlinkIndex: phetsims/phet-io#1974, getSimulationURL: phetsims/phet-io#1974, addSimulationInitializedListener: phetsims/phet-io#1974, launchSimulation: phetsims/phet-io#1974, displaySimulation: phetsims/phet-io#1974, setSimulationStartedMetadata: phetsims/phet-io#1974, clientGuide: phetsims/phet-io#1974, getPhetioElementState: phetsims/phet-io#1974, keyboardTraversal: phetsims/sun#859, phetsims/scenery#1550, phetsims/sun#861, phetsims/sun#862, phetioClientRename: phetsims/phet-io#1965, phetsims/studio#317
…o#1974, getPhetioOverridesFile, phetsims/phet-io#1974, createFromStandardPhetioWrapper: phetsims/phet-io#1974, getDOMElementID: phetsims/phet-io#1974, SIMULATION_VERSION_STRING: phetsims/phet-io#1974, phetmarks-perennial-url: phetsims/phet-io#1974, SIMULATION_VERSION_MAJOR_MINOR_STRING1: phetsims/phet-io#1974, unlinkIndex: phetsims/phet-io#1974, getSimulationURL: phetsims/phet-io#1974, addSimulationInitializedListener: phetsims/phet-io#1974, launchSimulation: phetsims/phet-io#1974, displaySimulation: phetsims/phet-io#1974, setSimulationStartedMetadata: phetsims/phet-io#1974, clientGuide: phetsims/phet-io#1974, getPhetioElementState: phetsims/phet-io#1974, keyboardTraversal: phetsims/sun#859, phetsims/sun#861, phetsims/sun#862, phetioClientRename: phetsims/phet-io#1965, phetsims/studio#317
…o#1974, getPhetioOverridesFile, phetsims/phet-io#1974, createFromStandardPhetioWrapper: phetsims/phet-io#1974, getDOMElementID: phetsims/phet-io#1974, SIMULATION_VERSION_STRING: phetsims/phet-io#1974, phetmarks-perennial-url: phetsims/phet-io#1974, SIMULATION_VERSION_MAJOR_MINOR_STRING1: phetsims/phet-io#1974, unlinkIndex: phetsims/phet-io#1974, getSimulationURL: phetsims/phet-io#1974, addSimulationInitializedListener: phetsims/phet-io#1974, launchSimulation: phetsims/phet-io#1974, displaySimulation: phetsims/phet-io#1974, setSimulationStartedMetadata: phetsims/phet-io#1974, clientGuide: phetsims/phet-io#1974, getPhetioElementState: phetsims/phet-io#1974, keyboardTraversal: phetsims/sun#859, phetsims/sun#861, phetsims/sun#862, phetioClientRename: phetsims/phet-io#1965, phetsims/studio#317
…io#1974, getPhetioOverridesFile, phetsims/phet-io#1974, createFromStandardPhetioWrapper: phetsims/phet-io#1974, getDOMElementID: phetsims/phet-io#1974, SIMULATION_VERSION_STRING: phetsims/phet-io#1974, phetmarks-perennial-url: phetsims/phet-io#1974, SIMULATION_VERSION_MAJOR_MINOR_STRING1: phetsims/phet-io#1974, unlinkIndex: phetsims/phet-io#1974, getSimulationURL: phetsims/phet-io#1974, addSimulationInitializedListener: phetsims/phet-io#1974, launchSimulation: phetsims/phet-io#1974, displaySimulation: phetsims/phet-io#1974, setSimulationStartedMetadata: phetsims/phet-io#1974, clientGuide: phetsims/phet-io#1974, getPhetioElementState: phetsims/phet-io#1974, keyboardTraversal: phetsims/sun#859, phetsims/sun#861, phetsims/sun#862, phetioClientRename: phetsims/phet-io#1965, phetsims/studio#317
…o#1974, getPhetioOverridesFile, phetsims/phet-io#1974, createFromStandardPhetioWrapper: phetsims/phet-io#1974, getDOMElementID: phetsims/phet-io#1974, SIMULATION_VERSION_STRING: phetsims/phet-io#1974, phetmarks-perennial-url: phetsims/phet-io#1974, SIMULATION_VERSION_MAJOR_MINOR_STRING1: phetsims/phet-io#1974, unlinkIndex: phetsims/phet-io#1974, getSimulationURL: phetsims/phet-io#1974, addSimulationInitializedListener: phetsims/phet-io#1974, launchSimulation: phetsims/phet-io#1974, displaySimulation: phetsims/phet-io#1974, setSimulationStartedMetadata: phetsims/phet-io#1974, clientGuide: phetsims/phet-io#1974, getPhetioElementState: phetsims/phet-io#1974, keyboardTraversal: phetsims/sun#859, phetsims/sun#861, phetsims/sun#862, phetioClientRename: phetsims/phet-io#1965, phetsims/studio#317
… getPhetioOverridesFile, phetsims/phet-io#1974, createFromStandardPhetioWrapper: phetsims/phet-io#1974, getDOMElementID: phetsims/phet-io#1974, SIMULATION_VERSION_STRING: phetsims/phet-io#1974, phetmarks-perennial-url: phetsims/phet-io#1974, SIMULATION_VERSION_MAJOR_MINOR_STRING1: phetsims/phet-io#1974, unlinkIndex: phetsims/phet-io#1974, getSimulationURL: phetsims/phet-io#1974, addSimulationInitializedListener: phetsims/phet-io#1974, launchSimulation: phetsims/phet-io#1974, displaySimulation: phetsims/phet-io#1974, setSimulationStartedMetadata: phetsims/phet-io#1974, clientGuide: phetsims/phet-io#1974, getPhetioElementState: phetsims/phet-io#1974, keyboardTraversal: phetsims/sun#859, phetsims/sun#861, phetsims/sun#862, phetioClientRename: phetsims/phet-io#1965, phetsims/studio#317
… getPhetioOverridesFile, phetsims/phet-io#1974, createFromStandardPhetioWrapper: phetsims/phet-io#1974, getDOMElementID: phetsims/phet-io#1974, SIMULATION_VERSION_STRING: phetsims/phet-io#1974, SIMULATION_VERSION_MAJOR_MINOR_STRING1: phetsims/phet-io#1974, unlinkIndex: phetsims/phet-io#1974, getSimulationURL: phetsims/phet-io#1974, addSimulationInitializedListener: phetsims/phet-io#1974, launchSimulation: phetsims/phet-io#1974, displaySimulation: phetsims/phet-io#1974, setSimulationStartedMetadata: phetsims/phet-io#1974, clientGuide: phetsims/phet-io#1974, getPhetioElementState: phetsims/phet-io#1974, keyboardTraversal: phetsims/sun#859, phetsims/scenery#1550, phetsims/sun#864, phetsims/sun#861, phetsims/sun#862, phetioClientRename: phetsims/phet-io#1965, phetsims/studio#317
… getPhetioOverridesFile, phetsims/phet-io#1974, createFromStandardPhetioWrapper: phetsims/phet-io#1974, getDOMElementID: phetsims/phet-io#1974, SIMULATION_VERSION_STRING: phetsims/phet-io#1974, phetmarks-perennial-url: phetsims/phet-io#1974, SIMULATION_VERSION_MAJOR_MINOR_STRING1: phetsims/phet-io#1974, unlinkIndex: phetsims/phet-io#1974, getSimulationURL: phetsims/phet-io#1974, addSimulationInitializedListener: phetsims/phet-io#1974, launchSimulation: phetsims/phet-io#1974, displaySimulation: phetsims/phet-io#1974, setSimulationStartedMetadata: phetsims/phet-io#1974, clientGuide: phetsims/phet-io#1974, getPhetioElementState: phetsims/phet-io#1974, keyboardTraversal: phetsims/sun#859, phetsims/sun#861, phetsims/sun#862, phetioClientRename: phetsims/phet-io#1965, phetsims/studio#317
… getPhetioOverridesFile, phetsims/phet-io#1974, createFromStandardPhetioWrapper: phetsims/phet-io#1974, getDOMElementID: phetsims/phet-io#1974, SIMULATION_VERSION_STRING: phetsims/phet-io#1974, SIMULATION_VERSION_MAJOR_MINOR_STRING1: phetsims/phet-io#1974, unlinkIndex: phetsims/phet-io#1974, getSimulationURL: phetsims/phet-io#1974, addSimulationInitializedListener: phetsims/phet-io#1974, launchSimulation: phetsims/phet-io#1974, displaySimulation: phetsims/phet-io#1974, setSimulationStartedMetadata: phetsims/phet-io#1974, clientGuide: phetsims/phet-io#1974, getPhetioElementState: phetsims/phet-io#1974, keyboardTraversal: phetsims/sun#859, phetsims/scenery#1550, phetsims/sun#861, phetsims/sun#862, phetioClientRename: phetsims/phet-io#1965, phetsims/studio#317
… getPhetioOverridesFile, phetsims/phet-io#1974, createFromStandardPhetioWrapper: phetsims/phet-io#1974, getDOMElementID: phetsims/phet-io#1974, SIMULATION_VERSION_STRING: phetsims/phet-io#1974, SIMULATION_VERSION_MAJOR_MINOR_STRING1: phetsims/phet-io#1974, unlinkIndex: phetsims/phet-io#1974, getSimulationURL: phetsims/phet-io#1974, addSimulationInitializedListener: phetsims/phet-io#1974, launchSimulation: phetsims/phet-io#1974, displaySimulation: phetsims/phet-io#1974, setSimulationStartedMetadata: phetsims/phet-io#1974, clientGuide: phetsims/phet-io#1974, getPhetioElementState: phetsims/phet-io#1974, keyboardTraversal: phetsims/sun#859, phetsims/scenery#1550, phetsims/sun#861, phetsims/sun#862, phetioClientRename: phetsims/phet-io#1965, phetsims/studio#317
… getPhetioOverridesFile, phetsims/phet-io#1974, createFromStandardPhetioWrapper: phetsims/phet-io#1974, getDOMElementID: phetsims/phet-io#1974, SIMULATION_VERSION_STRING: phetsims/phet-io#1974, SIMULATION_VERSION_MAJOR_MINOR_STRING1: phetsims/phet-io#1974, unlinkIndex: phetsims/phet-io#1974, getSimulationURL: phetsims/phet-io#1974, addSimulationInitializedListener: phetsims/phet-io#1974, launchSimulation: phetsims/phet-io#1974, displaySimulation: phetsims/phet-io#1974, setSimulationStartedMetadata: phetsims/phet-io#1974, clientGuide: phetsims/phet-io#1974, getPhetioElementState: phetsims/phet-io#1974, keyboardTraversal: phetsims/sun#859, phetsims/scenery#1550, phetsims/sun#861, phetsims/sun#862, phetioClientRename: phetsims/phet-io#1965, phetsims/studio#317
… getPhetioOverridesFile, phetsims/phet-io#1974, createFromStandardPhetioWrapper: phetsims/phet-io#1974, getDOMElementID: phetsims/phet-io#1974, SIMULATION_VERSION_STRING: phetsims/phet-io#1974, SIMULATION_VERSION_MAJOR_MINOR_STRING1: phetsims/phet-io#1974, unlinkIndex: phetsims/phet-io#1974, getSimulationURL: phetsims/phet-io#1974, addSimulationInitializedListener: phetsims/phet-io#1974, launchSimulation: phetsims/phet-io#1974, displaySimulation: phetsims/phet-io#1974, setSimulationStartedMetadata: phetsims/phet-io#1974, clientGuide: phetsims/phet-io#1974, getPhetioElementState: phetsims/phet-io#1974, keyboardTraversal: phetsims/sun#859, phetsims/scenery#1550, phetsims/sun#864, phetsims/sun#861, phetsims/sun#862, phetioClientRename: phetsims/phet-io#1965, phetsims/studio#317
… getPhetioOverridesFile, phetsims/phet-io#1974, createFromStandardPhetioWrapper: phetsims/phet-io#1974, getDOMElementID: phetsims/phet-io#1974, SIMULATION_VERSION_STRING: phetsims/phet-io#1974, SIMULATION_VERSION_MAJOR_MINOR_STRING1: phetsims/phet-io#1974, unlinkIndex: phetsims/phet-io#1974, getSimulationURL: phetsims/phet-io#1974, addSimulationInitializedListener: phetsims/phet-io#1974, launchSimulation: phetsims/phet-io#1974, displaySimulation: phetsims/phet-io#1974, setSimulationStartedMetadata: phetsims/phet-io#1974, clientGuide: phetsims/phet-io#1974, getPhetioElementState: phetsims/phet-io#1974, keyboardTraversal: phetsims/sun#859, phetsims/scenery#1550, phetsims/sun#861, phetsims/sun#862, phetioClientRename: phetsims/phet-io#1965, phetsims/studio#317
… getPhetioOverridesFile, phetsims/phet-io#1974, createFromStandardPhetioWrapper: phetsims/phet-io#1974, getDOMElementID: phetsims/phet-io#1974, SIMULATION_VERSION_STRING: phetsims/phet-io#1974, phetmarks-perennial-url: phetsims/phet-io#1974, SIMULATION_VERSION_MAJOR_MINOR_STRING1: phetsims/phet-io#1974, unlinkIndex: phetsims/phet-io#1974, getSimulationURL: phetsims/phet-io#1974, addSimulationInitializedListener: phetsims/phet-io#1974, launchSimulation: phetsims/phet-io#1974, displaySimulation: phetsims/phet-io#1974, setSimulationStartedMetadata: phetsims/phet-io#1974, clientGuide: phetsims/phet-io#1974, getPhetioElementState: phetsims/phet-io#1974, keyboardTraversal: phetsims/sun#859, phetsims/sun#861, phetsims/sun#862, phetioClientRename: phetsims/phet-io#1965, phetsims/studio#317
… getPhetioOverridesFile, phetsims/phet-io#1974, createFromStandardPhetioWrapper: phetsims/phet-io#1974, getDOMElementID: phetsims/phet-io#1974, SIMULATION_VERSION_STRING: phetsims/phet-io#1974, phetmarks-perennial-url: phetsims/phet-io#1974, SIMULATION_VERSION_MAJOR_MINOR_STRING1: phetsims/phet-io#1974, unlinkIndex: phetsims/phet-io#1974, getSimulationURL: phetsims/phet-io#1974, addSimulationInitializedListener: phetsims/phet-io#1974, launchSimulation: phetsims/phet-io#1974, displaySimulation: phetsims/phet-io#1974, setSimulationStartedMetadata: phetsims/phet-io#1974, clientGuide: phetsims/phet-io#1974, getPhetioElementState: phetsims/phet-io#1974, keyboardTraversal: phetsims/sun#859, phetsims/sun#861, phetsims/sun#862, phetioClientRename: phetsims/phet-io#1965, phetsims/studio#317
…, getPhetioOverridesFile, phetsims/phet-io#1974, createFromStandardPhetioWrapper: phetsims/phet-io#1974, getDOMElementID: phetsims/phet-io#1974, SIMULATION_VERSION_STRING: phetsims/phet-io#1974, phetmarks-perennial-url: phetsims/phet-io#1974, SIMULATION_VERSION_MAJOR_MINOR_STRING1: phetsims/phet-io#1974, unlinkIndex: phetsims/phet-io#1974, getSimulationURL: phetsims/phet-io#1974, addSimulationInitializedListener: phetsims/phet-io#1974, launchSimulation: phetsims/phet-io#1974, displaySimulation: phetsims/phet-io#1974, setSimulationStartedMetadata: phetsims/phet-io#1974, clientGuide: phetsims/phet-io#1974, getPhetioElementState: phetsims/phet-io#1974, keyboardTraversal: phetsims/sun#859, phetsims/sun#861, phetsims/sun#862, phetioClientRename: phetsims/phet-io#1965, phetsims/studio#317
… getPhetioOverridesFile, phetsims/phet-io#1974, createFromStandardPhetioWrapper: phetsims/phet-io#1974, getDOMElementID: phetsims/phet-io#1974, SIMULATION_VERSION_STRING: phetsims/phet-io#1974, phetmarks-perennial-url: phetsims/phet-io#1974, SIMULATION_VERSION_MAJOR_MINOR_STRING1: phetsims/phet-io#1974, unlinkIndex: phetsims/phet-io#1974, getSimulationURL: phetsims/phet-io#1974, addSimulationInitializedListener: phetsims/phet-io#1974, launchSimulation: phetsims/phet-io#1974, displaySimulation: phetsims/phet-io#1974, setSimulationStartedMetadata: phetsims/phet-io#1974, clientGuide: phetsims/phet-io#1974, getPhetioElementState: phetsims/phet-io#1974, keyboardTraversal: phetsims/sun#859, phetsims/sun#861, phetsims/sun#862, phetioClientRename: phetsims/phet-io#1965, phetsims/studio#317
Discovered while working on #861 …
The default sound design for ComboBoxListBox assigns sound with descending pitch. This is done in the constructor, and is based the order of the items argument.
ComboBoxListBox does not consider whether items are initially visibile Items are assigned a sound regardless of visibility. This is a problem with sims like My Solar System, where
orbitalSystemComboBox.listBox
contains 4 presets that are initially invisible, designed to be configured and made visible only by PhET-iO clients.PhET-iO allows you to change the visibility of items, and the order of items (via the Up/Down UI in Studio). Sounds are not reassigned as visibility and order are changed. So a custom wrapper can end up breaking the sound design — no correlation between pitch and an item’s position in the listBox.
This is a problem in any published PhET-iO sim that has a ComboBox and supports UI sound. Since that includeds many sims, we will not consider this blocking for My Solar System 1.3, and will address it in whatever MR addresses other sims.
The text was updated successfully, but these errors were encountered: