Dictionary lookup in text views with attachments shifts selection
| Originator: | goetz.fabian | ||
| Number: | rdar://12335731 | Date Originated: | 20-Sep-2012 12:15 PM |
| Status: | Closed | Resolved: | |
| Product: | Mac OS X | Product Version: | 10.8.x |
| Classification: | Bug | Reproducible: | always |
Summary: When doing a dictionary lookup in a text view with attachments, the selection for the looked up word may be shifted. For instance, the attached file (Sample.rtf) contains two images. When selecting a word after the images (e.g. the word "or") and looking up the dictionary entry for the word (using the context menu or the shortcut), the selection is shifted one character to the right and the lookup is done for the string "r ". Steps to Reproduce: 1. Open the attached RTF document in TextEdit. 2. Select the word "or". 3. Do a dictionary lookup for the selected word. Actual Results: An overlay for the dictionary entry "r " is displayed (see attached screenshot). Expected Results: An overlay for the dictionary entry "or" is displayed. Regression: n/a Notes: The number of shifted characters seems to depend on the text in front of the word. Sometimes, the selection is shifted to the right, sometimes to the left.
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!