phoenicis icon indicating copy to clipboard operation
phoenicis copied to clipboard

Blank Screen on launch

Open skitzo2000 opened this issue 4 years ago • 10 comments

Expected behavior

The ability to see the application on launch.

Actual behavior

I have just a white box for a window. If I resize the window I get brief glimpses of whats in the window. But it disappears as fast as it appears.

Steps to reproduce

Build inside the Linux container on ChromeOS. Install via flatpak and run.

System information

Master Branch * software version (git revision) of phoenicis and scripts repositories ChromeOS inside Linux container * used operating system Java-11 * used Java version

skitzo2000 avatar May 29 '20 15:05 skitzo2000

Can you try with #2216? There is an issue with graal and flatpak (not quite sure if it is what you experience though).

plata avatar May 30 '20 09:05 plata

Rebuilt from source and installed using Deb off Branch 2216 still can't see the Phoenicis main interface. Same behavior: I can briefly see the interface when resizing. I did catch a warning about: "module org.graalvm.truffle does not exist". But it still builds successfully so not sure if that's related or not.

skitzo2000 avatar May 31 '20 14:05 skitzo2000

Full error message on build: [USER]@[HOST]:~/git-stuff/phoenicis/phoenicis-dist/src/scripts$ bash phoenicis-create-package.sh Warning: Version not specified. Reading from pom.xml Using 5.0-SNAPSHOT WARNING: argument [linux-bundle-name] is not supported for current configuration. Creating app bundle: /home/[USER]/git-stuff/phoenicis/phoenicis-dist/src/scripts/../../target/packages/PhoenicisPlayOnLinux Module org.graalvm.truffle does not exist. Module javafx.web does not exist. Module javafx.base does not exist. Module javafx.graphics does not exist. Module javafx.controls does not exist. Module javafx.media does not exist. "Adding modules: [jdk.crypto.ec, java.base, javafx.base, javafx.web, javafx.media, javafx.graphics, javafx.controls, java.naming, java.sql, java.scripting, jdk.internal.vm.ci, org.graalvm.truffle, java.management] to runtime image." Module org.graalvm.truffle does not exist. Module javafx.web does not exist. Module javafx.base does not exist. Module javafx.graphics does not exist. Module javafx.controls does not exist. Module javafx.media does not exist. dpkg-deb: building package 'phoenicis-playonlinux' in 'Phoenicis_5.0-SNAPSHOT.deb'.

skitzo2000 avatar May 31 '20 14:05 skitzo2000

The same if you do the following?

mvn clean package install
cd phoenicis-javafx
mvn exec:java

plata avatar May 31 '20 17:05 plata

Yes the same. But the launch from CLI revealed this message: WARNING: An illegal reflective access operation has occurred WARNING: Illegal reflective access by com.google.inject.internal.cglib.core.$ReflectUtils$1 (file:/usr/share/maven/lib/guice.jar) to method java.lang.ClassLoader.defineClass(java.lang.String,byte[],int,int,java.security.ProtectionDomain) WARNING: Please consider reporting this to the maintainers of com.google.inject.internal.cglib.core.$ReflectUtils$1 WARNING: Use --illegal-access=warn to enable warnings of further illegal reflective access operations WARNING: All illegal access operations will be denied in a future release

skitzo2000 avatar May 31 '20 23:05 skitzo2000

I've never seen this issue. Which Java do you have? OpenJDK?

plata avatar Jun 01 '20 20:06 plata

Open JDK. See below for what I get when I launch and Java version. I will re-note. I can briefly see whats in the window when I re-size it. Even the pop up box to confirm closing the program and can't see. I've just figured out to tab twice and then things close. I'm using an OG Pixelbook with the i5.

Screenshot 2020-06-02 at 7 17 53 PM

Screenshot 2020-06-02 at 7 16 21 PM

skitzo2000 avatar Jun 02 '20 23:06 skitzo2000

Do you know if other JavaFX applications have the same issue on your setup?

plata avatar Jun 03 '20 21:06 plata

I am not sure. I don't know that I'm using any other JavaFX apps on that machine.

skitzo2000 avatar Jun 04 '20 19:06 skitzo2000

Could you try? Would be interesting to know if it's a general issue with JavaFX.

plata avatar Jun 06 '20 09:06 plata