MacOS X: wrong main menu
Bug description:
When opening foo.tex with an associated foo.pdf the main menu is the pdf one despite the tex window has focus.
We have to switch focus to foo.pdf and back to foo.tex.
Then the main menu is correct.
Which version (particularly, which version of Qt) are you using? ("About TeXworks" should be able to tell you).
The reason I'm asking: I could reproduce the problem with the macOS 10.12 compatible build, which uses Qt 5.12.12 LTS. With the build for macOS 10.15 and above (using Qt 6.2.4), everything seemed to work as expected. If that is the case, this is probably a Qt bug that has been fixed (but, sadly, will probably not be back-ported).
You are right, I am building for arm64 OSX with Qt5. I have assigned this issue to myself in order to modify the build instructions once appropriate libraries are available.