I've reproduced the error again. I’ve created a super simple app with three screens: A, B, and C. I’ve added three tables from Azure SQL Server: Customers, Products, and Projects.
Screen B has a gallery with the Projects table as its items.
In App.Formulas i've added:
GlobalMenuItems = Table(
{
name: "a",
screen: Screen1
},
{
name: "b",
screen: Screen2
},
{
name: "c",
screen: Screen3
}
);
Then, I’ve added a gallery to each screen with GlobalMenuItems in the "Items" property.
- Gallery1:
Control: Gallery
Variant: galleryVertical
Properties:
Items: =GlobalMenuItems
DelayItemLoading: =true
Height: =350
Layout: =Layout.Vertical
LoadingSpinner: =LoadingSpinner.Data
TemplateSize: =104
Width: =440
X: =835
Y: =418
Children:
- Label1:
Control: Label
Properties:
OnSelect: =Select(Parent)
Text: =ThisItem.name
X: =40
Y: =40
The monitor always shows: LoadDependentScreens (Screen1 -> Screen2, Screen3).
And it always displays "Requested 100 rows. Received 100 rows" from Screen2 (but I've visited only Screen1).
The problem occurs when I add the Screen control as the value of a property in GlobalMenuItems.
I am sure that Power Apps did not behave this way in previous versions.
I also do not understand how it is possible to create a navigation menu in Power Apps without including a reference to the Screen control inside a variable.