This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2021-02-15
Channels
- # announcements (27)
- # architecture (15)
- # aws (2)
- # babashka (5)
- # beginners (77)
- # calva (42)
- # cider (22)
- # clj-kondo (47)
- # cljfx (7)
- # clojure (66)
- # clojure-australia (1)
- # clojure-europe (32)
- # clojure-france (10)
- # clojure-israel (2)
- # clojure-italy (1)
- # clojure-nl (8)
- # clojure-uk (53)
- # clojurescript (29)
- # conjure (28)
- # core-async (2)
- # cursive (26)
- # data-science (1)
- # datascript (11)
- # datomic (33)
- # emacs (4)
- # fulcro (5)
- # girouette (3)
- # helix (1)
- # jobs (2)
- # leiningen (17)
- # luminus (2)
- # malli (15)
- # music (2)
- # off-topic (51)
- # pathom (3)
- # rdf (91)
- # remote-jobs (1)
- # reveal (7)
- # sci (6)
- # shadow-cljs (10)
- # spacemacs (3)
- # sql (23)
- # tools-deps (52)
- # uncomplicate (2)
- # vim (3)
- # xtdb (9)
regarding webviews, I found it to be "mostly working until it doesn't" the WebKit version is rather outdated, if you don't mind (non affiliated) paying for a dependency https://jxbrowser-support.teamdev.com/ is an option that is trivially integrated in cljfx. Jxbrowser is a full up-to-date chromium renderer, not sure if better or worse in a lot of cases but it does work as advertised
@joelkuiper there is also “cef” that supposedly can be integrated into javafx https://bitbucket.org/chromiumembedded/java-cef/src/master/
I'll check it out! Thanks! it shouldn't be too hard I reckon to build it from scratch based off of the webview source code (swap out the renderer, basically). But it would require a lot of knowledge of both the java, c/c++ and webkit implementation details, so it's probably better to leave that to someone else 😉 Although JXbrowser "full speed" (rather than the off-canvas option) is a bit of a cheat, it just puts a window with the correct dimensions on top of your scene
I think @wilkerlucio had some success with trial version of jxbrowser
I got it to work as well, only real issue was the google dependency thing for which deps.edn support is/was somewhat lacking, the difference between it and the webview was night and day though. It could actually render pdf.js without glitches or crashing the whole runtime 😛
@joelkuiper @vlaaad I remember having no big issues to do that, unfortunally I'm not finding the code (I think I deleted it once my trial license expired), if I find it out I'll be happy to share