Synopsis: When I change the Screen Name (screen generated by Power Apps, "Start from Data"), some of my containers disappear -- their Height values (in property panel) are 0 despite Height property being defined as varStyle.topBarHeight (=52).
(I do have a workaround for this:
Change the Screen Name as intended, save and exit, reopen and Voila! All is well -- the missing components are back.
But this sure seems like a bug.)
I have "Modern controls" turned on.
I started a Canvas App "from data" so it basically created the whole interface for me.
Including a Screen name and New Record button on the left, and delete/edit toolbar on the top.
All is well at first:
- Height for those top containers is set to varStyle.topBarHeight (a system-controlled value), which is set to 52.
- Container height shows as 52

Then I changed the Screen Name from Screen1 to Participants.
When I did those three top containers disappeared from view: Participants, New Item button, and the Toolbar.
- The container's Height displays as 0 (below, on right panel), even though the property (below, upper) shows varStyle.typeBarHeight which is still valued at 52.

Changing the name to Screen1 didn't fix it. I had to do an Undo.
I think the root of the problem is varStyle variable. It is a context variable.
When the screen is initially created, a "set" of values is created under the name Screen1 (see the {fx} panel / Context Variables)
When the screen name is changed (Participant Maint),
- it correctly changes the Context variable name in the {fx} panel from "Screen1" to "Participant Maint"
- But I think the container's Height property is still referencing Screen1.varstyle.topBarHeight which no longer exists, causing it to render as 0.
My workaround is to make the Screen Name change, grit my teeth, Save and Exit, and re-open the app.
When I do, everything is as it should be.
Wondering if anyone else has encountered this and has a better solution or can authoritatively say it's a bug (and they're looking into it....)