Control-click does not work the same as right-click for subviews without own menu

Originator:textmate
Number:rdar://20200363 Date Originated:2015-03-18
Status:Open Resolved:
Product:OS X Product Version:10.9.5
Classification:Other Bug Reproducible:Always
 
Summary:
Normally control-clicking a view and right-clicking it will send menuForEvent: to the view, and the view will return its context menu.

If the view has no custom menu, it will ask its superview, though *only* if right-clicking. When control-clicking the menuForEvent: is not passed to its superview.

Steps to Reproduce:
1. Open Safari and create a few tabs
2. Right-click a close-button and notice the menu that appear
3. Control-click a close-button and the tab closes


Expected Results:
For #3 I expect the same menu to appear. This would be consistent with control-clicking anywhere else on the tab (perhaps with the exception of the overflow button).

Actual Results:
The tab closes when control-clicking its close button.

Version:
OS X 10.9.5 / Build 13F1066

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!