Re: [External] : Re: Dependencies on java.desktop

2021-05-19 Thread Philip Race
Did someone mention my name ? Implementing FX printing on top of 2D printing was always a pragmatic way of delivering in FX 8. Never something that was done because we wanted to for any reason. A new native implementation will still cost the same amount of work that we put off in JDK 8. So

Re: [External] : Re: Dependencies on java.desktop

2021-05-19 Thread Kevin Rushforth
That's an interesting idea, although splitting it up to the degree you listed below would be unwieldy at best and likely unworkable (due to split package issues and interdependencies). It also would be wrong to create any implementation modules unless they are 100% hidden from the application

Re: [External] : Re: Dependencies on java.desktop

2021-05-19 Thread Tom Schindl
Hi, Well I looked a bit closer now and the situation and you are right. I think need to do that one by one. I think getting rid of HostServices::showDocument is quite easy as the code in Java-AWT is just 1 JNI-Method so copying that to OpenJFX should be fairly easy. Now on the printing

Re: [External] : Re: Dependencies on java.desktop

2021-05-18 Thread Kevin Rushforth
As noted in the thread you quoted below, removing the dependency on java.desktop from javafx.base isn't a particularly hard problem, and is tracked by JDK-8240844 [1]. And even though it will require a spec change (meaning a CSR), it doesn't result in any loss of functionality, since in order