Borders absent on menus and drop-downs when run in a VM (since v3.4.1)
When run in clean VM environment, we have observed borders not rendering in all menus, combo-box drop-downs etc.
This can be seen in the demo app:
Using the demo, we found that the issue affects FlatLaF 3.4.1 through 3.5.4, while it was not seen in earlier versions.
Version details:
- VM: VirtualBox 7.1.6 r167084
- Host OS: MS Windows 11 Enterprise 10.0.22631
- Guest (virtual) OS: MS Windows 11 Pro 10.0.22621
Strange...
Is there any output in console if you run the demo from command line? (java -jar flatlaf-demo-<version>.jar)
Does the borders come back if you deselect "Options > Window decorations"?
Is there any output in console if you run the demo from command line? (
java -jar flatlaf-demo-<version>.jar)
Hi, yes there is:
C:\Java\java-21.0.3+9-jre\bin\java.exe java -jar flatlaf-demo-3.5.4.jar
Error: Could not find or load main class java
Caused by: java.lang.ClassNotFoundException: java
Does the borders come back if you deselect "Options > Window decorations"?
There is no change in behaviour when deselected.
Just to note the precise version of Java used is the 21.0.3 JRE from adoptium.net, which may not have all the packages of the JDK distribution. (However I do not believe that is a factor, because the same Java distro on the native machine does not show these symptoms.)
Please try:
C:\Java\java-21.0.3+9-jre\bin\java.exe -jar flatlaf-demo-3.5.4.jar
Apologies! The short answer then is: nothing is logged.
(I'm relaying this from QA, I don't use VirtualBox myself and (despite trying to think where java came from) totally missed this both in testing and when copying it.)
I can confirm that this issue persists with FlatLaf 3.5.4.
Running a clean Windows 11 installation in a VM (UTM) on mac (including all updates).
JDK is Adoptium 21:
openjdk version "21.0.7" 2025-04-15 LTS OpenJDK Runtime Environment Temurin-21.0.7+6 (build 21.0.7+6-LTS) OpenJDK 64-Bit Server VM Temurin-21.0.7+6 (build 21.0.7+6-LTS, mixed mode, sharing)
No logging from FlatLaf (when executing java -jar .\flatlaf-theme-editor-3.5.4.jar).