My Cocoa Application is created using NSStatusBar with NSTextField inside and in the main window.
Please see the screenshots to understand:
I have two problems:
When I open Menubar, I canโt focus on SearchField (like Spotlight) and I canโt select content with something like [textField selectText: self]
Worst: if my MainWindow is at the front, it works without a problem. If my MainWindow is not on the front, but visible , I cannot edit the TextField . It can be selected with the mouse, but cannot be edited. Why is this?
I tried all the hacks found, but I could not solve the problem.
source share