-
Notifications
You must be signed in to change notification settings - Fork 705
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fix NavView issue with SelectionChanged being raised upon displaymode change #1956
Fix NavView issue with SelectionChanged being raised upon displaymode change #1956
Conversation
/azp run |
Azure Pipelines successfully started running 1 pipeline(s). |
/azp run |
Azure Pipelines successfully started running 1 pipeline(s). |
/azp run |
Azure Pipelines successfully started running 1 pipeline(s). |
@chingucoding looks like some of the tests are real... I can't imagine the acrylic brush failures are related but maybe the nav view failures put us in a bad state.. |
@StephenLPeters , I fixed the bug causing the NavigationView test failures. Regarding the Acrylic tests, I guess it is because of the failing NavigationView tests. Strangely, the Acrylic test failures also do not show up on the error list in the "Checks" tab of this PR, they just show up in the Azure portal (well at least on my machine/account). |
/azp run |
Azure Pipelines successfully started running 1 pipeline(s). |
Description
Changed code where we update the settings item to set the m_shouldIgnoreNextSelectionChange flag to true, so SelectionChanged ignores that selection change. Also added a check for
m_shouldIgnoreNextSelectionChange
inChangeSelection()
.Motivation and Context
Fixes #148 , Fixes #1976, Fixes #1956
How Has This Been Tested?
Added new interaction test.
Screenshots (if appropriate):