-[IMKCandidates showAnnotation:] doesn't work

Originator:mzpppp
Number:rdar://34911503 Date Originated:October 10 2017
Status:Duplicate/34917360 Resolved:
Product:macOS + SDK Product Version:
Classification:Bug Reproducible:Always
 
Summary:
-[IMKCandidates showAnnotation:] doesn't show annotation.

Steps to Reproduce:
Use example code at https://developer.apple.com/library/content/qa/qa1644/_index.html

https://github.com/mzp/NumberInput_IMKit_Sample

Expected Results:
Show annotation window

Actual Results:
Doesn't appear anything.

Version/Build:
- macOS 10.13.1 Beta (17B25c)
- Version 9.0 (9A235)

Configuration:

Other:
I disassemble InputMethodKit.framework by otool, and obtain following code:

     -[IMKCandidates showAnnotation:]:                                                                                  
     1 0000000000055b24. pushq.%rbp                                                                                       
     2 0000000000055b25. movq. %rsp, %rbp                                                                                 
     3 0000000000055b28. popq. %rbp                                                                                       
     4 0000000000055b29. retq    

So, I think this method doesn't do anything.

Comments

DUPLICATE OF radr://34917360

radr://34917360


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!