FIX: The "Add Control Scheme..." popup now requires explicit Save/Close user action (case ISXB-1131) #2044
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Description
Previously clicking outside the popup window (anywhere in the editor) would close the popup window.
This would leave a new blank (unnamed, orphaned) control scheme populating the UI - this was confusing.
Now this popup will persist until the user explicitly chooses to Save or Cancel.
Testing status & QA
Manually testing the UI using the reproduction steps provided.
Local and automated testing.
Overall Product Risks
Comments to reviewers
This issue manifested when the Input System started using the newer UIToolkit implementation of its UI.
It was a result of fixing another issue in this PR.
Discussions with @Pauliusd01 and @lyndon-unity led to this choice of behaviour change of this popup window:
Checklist
Before review:
Changed
,Fixed
,Added
sections.Area_CanDoX
,Area_CanDoX_EvenIfYIsTheCase
,Area_WhenIDoX_AndYHappens_ThisIsTheResult
.During merge:
NEW: ___
.FIX: ___
.DOCS: ___
.CHANGE: ___
.RELEASE: 1.1.0-preview.3
.After merge: