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

Can't access modena-touch.css #744

Closed
jperedadnr opened this issue Oct 2, 2024 · 0 comments · Fixed by #745
Closed

Can't access modena-touch.css #744

jperedadnr opened this issue Oct 2, 2024 · 0 comments · Fixed by #745
Assignees
Labels
bug Something isn't working

Comments

@jperedadnr
Copy link
Collaborator

jperedadnr commented Oct 2, 2024

Not only after the modular changes from #720, but also before it, if modena-touch or other similar styles are set via preferences, loading them fails with:

WARNING: resolveRuntimeImport cannot resolve: com/sun/javafx/scene/control/skin/modena/modena.css
Oct 02, 2024 2:04:27 PM com.sun.javafx.css.StyleManager loadStylesheetUnPrivileged
INFO: Could not find stylesheet: jar:file:///Users/user/.m2/repository/com/gluonhq/scenebuilder/kit/24.0.0-SNAPSHOT/kit-24.0.0-SNAPSHOT.jar!/com/oracle/javafx/scenebuilder/kit/util/css/modena/com/sun/javafx/scene/control/skin/modena/modena.css
Oct 02, 2024 2:04:27 PM javafx.css.CssParser handleImport
WARNING: CSS Error parsing jar:file:///Users/user/.m2/repository/com/gluonhq/scenebuilder/kit/24.0.0-SNAPSHOT/kit-24.0.0-SNAPSHOT.jar!/com/oracle/javafx/scenebuilder/kit/util/css/modena/modena-touch.css: Could not import "com/sun/javafx/scene/control/skin/modena/modena.css"
WARNING: resolveRuntimeImport cannot resolve: com/sun/javafx/scene/control/skin/modena/touch.css
Oct 02, 2024 2:04:27 PM com.sun.javafx.css.StyleManager loadStylesheetUnPrivileged
INFO: Could not find stylesheet: jar:file:///Users/user/.m2/repository/com/gluonhq/scenebuilder/kit/24.0.0-SNAPSHOT/kit-24.0.0-SNAPSHOT.jar!/com/oracle/javafx/scenebuilder/kit/util/css/modena/com/sun/javafx/scene/control/skin/modena/touch.css
Oct 02, 2024 2:04:27 PM javafx.css.CssParser handleImport
WARNING: CSS Error parsing jar:file:///Users/user/.m2/repository/com/gluonhq/scenebuilder/kit/24.0.0-SNAPSHOT/kit-24.0.0-SNAPSHOT.jar!/com/oracle/javafx/scenebuilder/kit/util/css/modena/modena-touch.css: Could not import "com/sun/javafx/scene/control/skin/modena/touch.css"

Expected Behavior

The css should be imported

Current Behavior

The css is not imported

Steps to Reproduce

Open Scene Builder, go to File -> Preferences, select Modena Touch, close preferences, restart Scene Builder and just open an empty FXML.

Your Environment

Screenshots

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant