Invisible Character 0x08 (backslash) accidentally inserted
| Originator: | francybiga | ||
| Number: | rdar://26698036 | Date Originated: | 08/06/2016 |
| Status: | State:OpenProduct | Resolved: | no |
| Product: | OS X | Product Version: | 10.11.5 |
| Classification: | Reproducible: | yes |
The key combination: Arrow UP + Shift + Delete inserts the 0x08 (backslash) control character (which most of apps doesn't visualize). I can reproduce this sistematically in Apple apps (Xcode 7.3, Safari 9.1.1, Calendar) and in some 3rd party (but not all of them, for example it doesn't occurs in Sublime Text). This is very annoying writing code (but is catched by the compiler) and could be very harmful for non-compiled file (es. with localized string this character causes no error but strings defined after it are ignored, thus not found at runtime). Steps to Reproduce: 1. Open Xcode 7.3.1 2. Type some text 3. Quickly press "up arrow" + "shift" + "delete" (in this order) 4. Select Editor > Show Invisibles 5. You'll see that an invisible backslash character is inserted Expected Results: This combination of keys should not insert the 0x08 character Actual Results: Nothing seems to happen visually (exept if you are writing some code, for example some swift in a project) but if you enable "Show invisibles" or copy/paste code in an editor which visualize invisible characters (I use Sublime Text 2). You see that the backslash character is inserted
Comments
Please note: Reports posted here will not necessarily be seen by Apple. All problems should be submitted at bugreport.apple.com before they are posted here. Please only post information for Radars that you have filed yourself, and please do not include Apple confidential information in your posts. Thank you!
The bug happens using ANY arrow (up /right / left / down) in combination with shift and delete