Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Borders absent on menus and drop-downs when run in a VM (since v3.4.1) #968

Open
lukeu opened this issue Feb 12, 2025 · 5 comments
Open

Comments

@lukeu
Copy link

lukeu commented Feb 12, 2025

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:

Image

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
@DevCharly
Copy link
Collaborator

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"?

@lukeu
Copy link
Author

lukeu commented Feb 13, 2025

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.

@lukeu
Copy link
Author

lukeu commented Feb 13, 2025

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.)

@DevCharly
Copy link
Collaborator

Please try:

C:\Java\java-21.0.3+9-jre\bin\java.exe -jar flatlaf-demo-3.5.4.jar

@lukeu
Copy link
Author

lukeu commented Feb 13, 2025

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.)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants