Xcode: Right arrow key toggles the "Swift" icon in Open Quickly
| Originator: | guillaume.algis | ||
| Number: | rdar://32647696 | Date Originated: | 2017-06-08 |
| Status: | Duplicate of 32436168 | Resolved: | |
| Product: | Xcode | Product Version: | 9.0 beta (9M136h) |
| Classification: | Usability/UI | Reproducible: | Always |
Summary: While I understand the intent, I think using the right arrow key to toggle the "Open as Swift bridging header" button in the Open Quickly dialog is a very discutable UI choice. In particular, it results in a inconsistent UX when the whole string in the box is selected. Steps to Reproduce: 1. Open a Xcode project with mixed Objective-C and Swift files 2. Open the Open Quickly dialog with Cmd + Shift + O 3. Type something 4. Open a result file by pressing Enter 5. Reopen the dialog with Cmd + Shift + O. The whole texte typed at step 2. is selected (normal behavior). 6. Press the Right arrow key Expected Results: Everywhere else on macOS when a text fragment is selected, pressing the right arrow key moves the cursor at the end of the selection. Observed Results: In the new Open Quickly dialog, pressing the right arrow key keeps the selection unchanged (so impossible to complete the file name without grabbing the mouse and clicking, as typing will overwrite the selected text) and instead toggle the little Swift icon on the right of the dialog. Version: Xcode 9.0 beta (9M136h) macOS 10.12.4 (16E195) Notes: Attached is a screencast of the boggus behavior Configuration:
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!