question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Stylesheets not working in TFX2

See original GitHub issue

I cannot get Stylesheets to work in the jdk10 branch. As far as I can tell, it appears to have something to do with FX.osgiAvailable always returning true, so detectAndInstallUrlHandler() in the init block of Stylesheet never runs.

init {
    if (!FX.osgiAvailable) {
        detectAndInstallUrlHandler()
    }
}

If I comment out the check, it works fine.

This happens even when running the tests in TornadoFX (for example, the NewViewTransition.kt tests).

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Comments:8 (3 by maintainers)

github_iconTop GitHub Comments

1reaction
edvincommented, Oct 17, 2019

Yeah, just return false for now, and I’ll pick up OSGi support down the line 😃 I still have a few apps using it, and they need to be updated in a while, so I’ll get to it eventually. In the mean time, OSGi support is used by very few comparatively speaking, so I don’t feel bad about breaking it in 2.0.0 at least.

0reactions
ruckustboomcommented, Oct 17, 2019

Merged in workaround #1098

Read more comments on GitHub >

github_iconTop Results From Across the Web

Stylesheet not applying to button control · Issue #1150 - GitHub
I have gone through the page on how to apply css classes programmatically by extending the Stylesheet class. The problem I am having, ......
Read more >
Stylesheets not working - WordPress.org
I'm trying to create stylesheets for my blocks. I've made a stylesheet in the same folder as the php files for the black....
Read more >
CSS not working in stylesheet - Stack Overflow
I have a set of Styles that were first created inside the style attribute on a page. I want to move it from...
Read more >
Stylesheet not working properly when pushing from ...
We ran into a problem yesterday when pushing from Integration to our Preproduction environment. The stylesheet data is either getting ...
Read more >
Style sheet & Ui page why my link not working - ServiceNow
Hello guys, I'm working on a popUp window, this one is working then I would to style it with some CSS. So I...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found