Search Issue Tracker
Fixed in 2020.1.X
Fixed in 2019.2.X, 2019.3.X
Votes
0
Found in
2019.1
2019.2
2019.2.3f1
2019.3
2020.1
Issue ID
1184623
Regression
Yes
[UWP][Hololens] TouchScreenKeyboard's shift key duplicates last typed character
How to reproduce:
1. Open user's attached project -or- download newest Mixed reality toolkit for unity
2. Open "HandInteractionUnityUIExample.unity" scene
3. Set that scene to be the only loaded scene for the build
4. Check that build target is UWP
5. Build and deploy to Hololens
6. Select Input Field "Try selecting this text."
7. Type in one character
8. Press shift
Actual result: Next character you will type gonna be capitalized
Expected result: Last typed character gets duplicated
Reproducible with: 2019.1.14f1, 2019.2.6f1, 2019.3.0b4, 2020.1.0a4
Could not test with: 2017.4.x (errors), 2018.4 (keyboard failed to instantiate)
Notes:
- was not able to reproduce the issue with a small example project
- in the small example, project keyboard instantiates right on 2018.4
-
larsonmattr
Oct 31, 2019 01:02
What version of Unity 2019.1 or 2019.2 has this fix? The latest as of 10/30/2019, version 2019.2.10f was not showing this fixed on the HoloLens/UWP platform.
Add comment
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- NullReferenceException when setting 'isTextObjectScaleStatic' to false on a disabled TextMeshPro GameObject
- Shader Stripping Custom Options disappear when exiting Play mode without reloading Domain
- Decals do not get projected when 'Rendering Layer Mask' on a GameObject is 23rd Layer or above due to encoding/decoding issues
- Deriving from SearchContextAttribute doesn't always work
- Scripting API documentation is missing for macOS editor extensions
Resolution Note (fix version 2020.1):
This issue was caused by passing invalid data into CoreTextEditContext::NotifyTextChanged for the 'newSelection' parameter. Due to a uint overflow bug, the newSelection argument contained a "negative range", were endPos < startPos. Fixing the overflow bug addressed this issue.
NOTE: This issue doesn't occur on UWP Desktop, hence the overflow bug when unnoticed. It appears the HoloLens implementation of this API doesn't validate parameters as the Desktop version does.