[BLUEJ-1335] FXML MenuBar Issue on JavaFX Application
Using an fxml-File on some Windows machines (but not all) the Menu-Items of a MenuBar are not (or rather only once for an instant) shown when clicked. Using Mnemonics (Alt..) they unfold. After using Mnemonics, the Menu-Items again flicker once for an instant when clicked again.
This only happens when running the Application on JavaFX Thread (Right click on View class -> Run JavaFX Application). When run on a seperate Thread via “ new Thread(() -> Application.launch(View.class)).start(); “ (Right click on View class -> void main(…)) it works.
Following setup was used: BlueJ 5.0.0 (Java-Version 11.0.2), OpenJDK 64-Bit Server VM 11.0.2+9 (Oracle Corporation), Windows 10 10.0 (amd64)
The issue exists on several Windows machines, but not all (same setup). We couldn’t find a criteria when it would work. Maybe some machines had a fresh Bluej 5 install and others used an upgraded version?
I have a minimal working (or not working) example project: https://cloud.gebert.eu/s/owJGqsgsZgrS2fY
Issue metadata
- Issue type: Bug
- Priority: Medium
- Fix versions: 5.0.2