Coder Social home page Coder Social logo

Comments (8)

pacher avatar pacher commented on May 15, 2024 2

So, there is no need to waste time on fixing this.

Please do waste time on fixing this.
I just saw the announcement and will start to migrate to Compose from JavaFx today. But it can not be all done in once, there will be things missing etc. So Compose and JavaFx will co-exist for quite some time for me (I am planning to have JavaFx in different pop-up windows)

And anyway it is quite puzzling to me how is the simple presence of different dispatcher can cause an issue. What if I want to write or use other non-standard dispatchers? What causes the issue? What to look out for?

from compose-multiplatform.

olonho avatar olonho commented on May 15, 2024 1

@igordmn IIRC you had simple fix with more explicit dispatcher selector. Can we apply it and check if it helps?

from compose-multiplatform.

pacher avatar pacher commented on May 15, 2024 1

Wild guess: just find and replace Dispatchers.Main with Dispatchers.Swing in compose codebase?

from compose-multiplatform.

olonho avatar olonho commented on May 15, 2024

Interesting problem, seems Swing (used by Compose) and JavaFX coroutine dispatchers cannot coexist. So not sure, if such a config is supported. Is it possible to not use JFX coroutine dispatcher?

from compose-multiplatform.

dector avatar dector commented on May 15, 2024

Not a major issue for me TBH - I was going to rewrite JavaFX granulary but now I'll just write Compose GUI as a separate app.

So, there is no need to waste time on fixing this.

from compose-multiplatform.

mel4tonin4 avatar mel4tonin4 commented on May 15, 2024

I'd like to gradually experiment with Compose in a JavaFx application which is the desktop version and the control panel of the supporting service of a mobile application, and this is a showstopper for me, too.
Please, do not ignore this issue.

from compose-multiplatform.

olonho avatar olonho commented on May 15, 2024

@dector could you please check if issue has gone with the build "0.2.0-build123"?

from compose-multiplatform.

dector avatar dector commented on May 15, 2024

@olonho 0.2.0-build123 fixes this issue for my sample.

from compose-multiplatform.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.