gluonhq / substrate

Create native Java(FX) apps for desktop, mobile and embedded
GNU General Public License v2.0
372 stars 51 forks source link

JavaFX media / web support for Windows, MacOs, Linux (native image) #1230

Open credmond opened 10 months ago

credmond commented 10 months ago

Windows Native Image supports one third of JavaFX, going by this image, and MacOS, two thirds. And I believe the Linux "web" green tick is incorrect, it is also not supported, and this was discussed in another issue (documentation still needs updating).

image

What / where are the challenges in adding more desktop support and is it on the roadmap (realistically)...?

I feel like supporting desktop should not really be optional or a "nice-to-have" (even if there's less $$$ there), it should come first given JavaFX is built primarily for desktop. This mobile-first approach alienates the 14+ year old JavaFX community who will understandably just migrate to Elektron, if not already.

Expected Behavior

GluonFX should support desktop native images to the same level as mobile.

Current Behavior

GluonFX focuses on mobile, and so none (or almost none) of mobile/web JavaFX stuff can be used in Windows, MacOS, Linux with native image.

natsufumij commented 9 months ago

Hello, friend. I noticed that JavaFX media's native image on Windows didn't work because it didn't seem to pay much attention to the content of the Windows platform for a long time. I'm not blaming the people at Gluon for not doing things, but just regretting that they don't spend a little more time on the desktop. It is well known that the use of the Windows operating system accounts for the majority of the use of PC platforms worldwide, so isn't this an important area? The above words represent my personal views only. If you want to see some different JavaFX Media Native Image content, yesterday I worked overnight to liver a project that compiles normally, if you need to go to view: project link 以上,真挚地希望gluon官方能对JavaFX的桌面版重视起来!

credmond commented 9 months ago

Thanks -- and why do you think GluonFX is missing this, if it's "only" jni and reflect configurations? Well done on figuring it out.

Good luck getting a response. Seems like the 15 or so "important" JavaFX projects are ran by the same 1 or 2 people now and almost everything gets ignored. I don't blame those 1 or 2 individuals, but the C-level folk making the decisions. The community is dead and the downfall will be self-inflicted.