Hello
I have same bug in different apps.
When I'm refreshing my data sources then galleries that use them as a data source should refresh as well.
The problem is that quite often after I perform a refresh operation the gallery is not showing any data (is empty) and it requires an additional refresh (sometimes multiple refreshes) to get data shown in the gallery again.


It happens with collections as well.
And those Search functions doesnt cause the problem, it occurs also without Search.
Filter variable stays the same.
Example code of gallery "Items" property:
Search(
Search(
Search(
Search(
SortByColumns(
Search(
AddColumns(
Filter(
Töökäsu_tooriku_pakid,
'Broneeringu selgitus' = sel_tk_nr
),
"Pingis",
U_Piirkond = "Tootmine"
),
c_search_2.Search1,
"PakiNr"
),
"Pingis",
Descending
),
tx_fil_puu_2.Text,
"Artikkel"
),
tx_fil_paksus_2.Text,
"Artikkel"
),
tx_fil_laius_2.Text,
"Artikkel"
),
tx_fil_pikkus_2.Text,
"Artikkel"
)
And example code of refresh operation called with a button click:
Refresh(Töökäsu_tooriku_pakid);
Thanks for your help in advance!