NSTokenField completions appear in wrong place

Originator:aufflick
Number:rdar://10386822 Date Originated:3/11/11
Status:Duplicate/9841193 Resolved:9/11/11
Product: Product Version:
Classification: Reproducible:
 
03-Nov-2011 08:59 AM Mark Aufflick:
'NSTokenFieldTest.zip' was successfully uploaded

03-Nov-2011 08:59 AM Mark Aufflick:
Summary:

If you have an NSTokenField in a layer-backed view, the completions appear below the bottom left of the first layer in the hierarchy.

Steps to Reproduce:

1. Make a layer-backed view.
2. Place an NSTokenField in that view.
3. Implement the completion delegate.
4. Run the application & partially enter a completable-string into the tokenfield

Expected Results:

The completion options appear directly beneath the token field

Actual Results:

The completion options appear below the enclosing layer backed view

Regression:

This didn't happen, as far as I recall, under 10.6.

Notes:

Sample minimal project attached showing the issue.

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!