Search Issue Tracker
Fixed in 2019.2.X
Votes
1
Found in
2017.4.13f1
2018.3.0b4
2019.1.0a13
2019.2.0a1
2019.2.0a4
Issue ID
1126208
Regression
No
[Linux] Empty characters are created in text fields when using CTRL shortcuts
How to reproduce:
1. Download, extract and open attached project (1126208repro.zip)
2. Open 'SampleScene'
3. Click on the TMP object in the Hierarchy and click on Text Mesh Pro's Text field
4. Press CTRL+Z a couple of times
Expected result: The shortcut functionality gets carried out (in this case - undo)
Actual result: For each shortcut, an empty character is generated in the text field
Reproducible in: 2017.4.20f2, 2018.3.5f1, 2019.1.0b3, 2019.2.0a4
Note: This works for Text (Script) component as well, but only TextMeshPro visualizes it.
Note 2: There are more combinations that reproduce the issue, such as CTRL+B, CTRL+SHIFT+A, CTRL+SHIFT+S and so on.
-
Advis91
Feb 12, 2019 17:57
Note3: Empty character is also placed when editing GameObject names, file or folder names, string type fields. And arrow key movement wont jump over these characters.
It doesn't seem to happen on playmode as TextMeshPro TextField or normal TextField dont get new characters with Ctrl + M.
Though Editor has so many shortcuts that selection kept jumping everywhere and it was hard to find a shortcut that stayed on field. ;)
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
- Inconsistent behaviour when interacting with different dropdown types with pointer events on parent Visual Element
- Hidden GameObjects won't re-enable when they have call "DontDestroyOnLoad" function
- Overlay Canvas are rendered on each split-screen camera when HDR is enabled
- [Android] The Player loses focus when using UnityEngine.Handheld.StartActivityIndicator() with Facebook SDK
- Build fails with "Building Library/Bee/artifacts/MacStandalonePlayerBuildProgram/gahcy/hj9mx3z/951.0 failed with output:..." errors when Scripting Backend is set to IL2CPP
Resolution Note (fix version 2019.2):
Fixed non-printable characters being allowed in GUI text objects in the Linux Editor.