Closed KatieWoe closed 1 year ago
navigationBar.titleText.visibleProperty
is no longer instrumented. So natural-selection-migration-rules.ts (and other sims) contain this rule:
// These elements in the navigationBar no longer exist because we do not automatically instrument visibleProperty for Text and RichText.
// See https://github.com/phetsims/scenery/issues/1447
new TandemFragmentDelete( `${simName}.general.view.navigationBar.titleText.visibleProperty` ),
This was a common-code change related to https://github.com/phetsims/scenery/issues/1447. As is, I don't see how we can do anything other ignore it via TandemFragmentDelete
. But it does prevent the client from being able to hide the title in the navigation bar, and I don't know if that was a conscious decision or an accidental side-effect.
Assigning to @arouinfar and @zepumph for comment, and to decide whether anything needs to be done here.
But it does prevent the client from being able to hide the title in the navigation bar, and I don't know if that was a conscious decision or an accidental side-effect.
I can't remember if this was explicitly discussed, but I am okay with this behavior. I don't think we should be making it easy for clients to hide the sim name. It's still possible if you set enough StringProperties to an empty string, so a motivated client could still do it if they wanted to.
Closing as "won't fix".
Test device Samsung Operating System Win 11 Browser Chrome Problem description For https://github.com/phetsims/qa/issues/967 If you hide the title text in 1.4 with
naturalSelection.general.view.navigationBar.titleText.visibleProperty
and then migrate, the title text is still there in 1.5.Visuals
Troubleshooting information: