Accessing the Help menu blocks all further input to the app it was called from

Originator:christian.tietze
Number:rdar://39374865 Date Originated:2018-04-12
Status:Duplicate of 39501568 Resolved:
Product:macOS + SDK Product Version:10.13.4 (17E199)
Classification:Serious Bug Reproducible:Always
 
Area:
Menu Bar

Summary:

On High Sierra, the "Help" main menu takes away key status of the app's windows and does not give it back.

Steps to Reproduce:

- Opening the "Help" menu by clicking on the main menu item
- Hover out of the shown submenu to the bottom, do not exit it by hovering over another main menu item


Expected Results:

As on Sierra, everything in the app is back to normal and you can continue work.


Actual Results:

Hit any key; the currently active app does not accept key events anymore. Clicking into text fields works, but you cannot use the keyboard.

Cmd-tab out and back into the app again (to redraw the window) and you will notice it now is drawn as if it was inactive. 

So something else has key status, probably something from the help menu.

Key status can be obtained back by opening the Help menu again but then hover over an adjacent main menu item, e.g. "Window". This will work. Probably closes the "Search" item in the help for good.


Version/Build:

macOS 10.13.4 (17E199)

Comments

This is a quick-fix:

func menuDidClose(_ menu: NSMenu) {
    if menu.title == "Help" {
        window.makeKey()
    }
}
By christian.tietze at April 12, 2018, 11:25 a.m. (reply...)

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!