javaterminal / TerminalFX

Java FX Terminal Emulator
MIT License
274 stars 51 forks source link

Terminal not starting on Windows 10 #54

Open avelblood opened 1 year ago

avelblood commented 1 year ago

OS: Windows 10 21H2 Java: 1.8.0_331

A JavaFX window appears and a tabbar with a tab, but inside the tab there is a white screen and hopeless emptiness.

I run the code from the examples in README .md, it works on other operating systems. Redirected the error stream from webview inside Terminal.java to system output to get this:

Console: [terminalfx/target/classes/hterm.html:60] ReferenceError: Can't find variable: app
Console: [terminalfx/target/classes/hterm_all.js:11340] TypeError: undefined is not an object (evaluating 'this.screen_.style')
Console: [https://getfirebug.com/index.html:1] SyntaxError: Unexpected token '<'

Looks like this

webView.getEngine().getLoadWorker().stateProperty().addListener((observable, oldValue, newValue) -> {
    getWindow().setMember("app", this);
});

is somehow not doing it's job properly.

It appears to be related to https://bugs.openjdk.org/browse/JDK-8289537 that has not been addressed.