statusbar getting focus is a very exotic approach.
i'd think you're not looking for the status bar to get focus.
instead you're getting mouse position globally and updating the status bar
Thanks, that is what I am trying to do.
The mouse position is gotten on mousemove (this works fine).
The coordinates are converted into a string (this works fine).
The statusbar is updated to display the string (this does not work).
When debugging, I can see that the string is correct when assigned to statusbar.panels[0].text. The statusbar, however, does not display anything. It works fine in Windows and Linux. If I set the focus, it also works on Mac. I'd be happy to know of a better solution.
The statusbar works fine until I display a modal dialog and dismiss it. Then it stops working. If I switch to the Finder or another program, and back, it starts working again. I will try again to write an example program displaying the issue.