Welcome._searchFilter saves value on each welcome page, however, the Welcome.SetVisibilityBySearch method is used to assign a value to RepositoryNode.IsVisible to control whether to display it. RepositoryNode is loaded through Preference.Instance.RepositoryNodes in Welcome, so RepositoryNode and its display status are in all Shared on the Welcome page. This results in SearchFilter possibly having different values but the same search results in different Welcome pages.
For example, after searching in a Welcome page and then opening a Welcome page, there is input in the search box of the first one but not in the second one, but the second Welcome page still displays the previous search results.
Welcome._searchFilter
saves value on each welcome page, however, theWelcome.SetVisibilityBySearch
method is used to assign a value toRepositoryNode.IsVisible
to control whether to display it.RepositoryNode
is loaded throughPreference.Instance.RepositoryNodes
inWelcome
, soRepositoryNode
and its display status are in all Shared on theWelcome
page. This results inSearchFilter
possibly having different values but the same search results in differentWelcome
pages. For example, after searching in aWelcome
page and then opening aWelcome
page, there is input in the search box of the first one but not in the second one, but the secondWelcome
page still displays the previous search results.