From b52260a4b2d4f56c1d78083d392faad0575fae23 Mon Sep 17 00:00:00 2001 From: Ben Fry Date: Tue, 22 Jun 2021 19:54:36 -0400 Subject: [PATCH] tallying up the javafx fixes --- todo.txt | 46 +++++++++++++++++++++++++--------------------- 1 file changed, 25 insertions(+), 21 deletions(-) diff --git a/todo.txt b/todo.txt index a3e86deb3..8bcb90c97 100755 --- a/todo.txt +++ b/todo.txt @@ -38,13 +38,14 @@ X opting not to do so X https://github.com/processing/processing4/issues/210 X changes to how getFont() works for Preferences X this may have been the cause of the old ghost NPEs on startup? - X turn off chooser.files.native on macOS -# We were shutting this off on macOS because it broke Copy/Paste: -# https://github.com/processing/processing/issues/1035 -# https://github.com/processing/processing4/issues/77 -# But changing this for 4.0 alpha 5, because the JFileChooser is awful, -# and even worse on Big Sur, and worse than the Copy/Paste issue. +X We were shutting this off on macOS because it broke Copy/Paste: +o https://github.com/processing/processing/issues/1035 +o https://github.com/processing/processing4/issues/77 +X But changing this for 4.0 alpha 5, because the JFileChooser is awful, +X and even worse on Big Sur, and worse than the Copy/Paste issue. +X "Could not run" "For more information, read revisions.txt and Help → Troubleshooting." +X need to drop revisions.txt here and just reference Troubleshooting javafx X move JavaFX to its own library, too many weird quirks that it includes @@ -54,6 +55,20 @@ X add JavaFX library to IntelliJ X #@$*$& the JavaFX jars are ever-so-slightly different between platforms X Only specify --modules-path when running JavaFX apps X https://github.com/processing/processing4/issues/209 +X JavaFX now throws Exception on run b/c natives aren't present +X why are the jars even there? how is module path getting set? +o gonna have to cut loose running Tools from the PDE +o or make it possible to embed a JavaFX sketch, and the rest will work? +X working from the PDE, though not FX2D sketches +X debug JavaFX and Export to Application on Windows +X this was working on Saturday, now broken after the move to a separate library +/ now "Art Station" is broken because it actually creates an FX2D sketch +X (and FX2D isn't on the classpath by default) +X debug JavaFX and Export to Application on Linux +X fix modules path warning for Tools in the PDE +X "WARNING: Unsupported JavaFX configuration" when running Tools that use JavaFX +X we were probably spared the warnings because the older JARs were hanging around +X update modules path when exporting application _ lots more cleanup to do in javafx/build.xml major font cleanup @@ -64,29 +79,18 @@ X processing.mono used in preferences.txt X remove Preferences.getFont(), deal with incorrect usage X getFont("editor.font") was returning getFont("editor.font.size") +_ better default fonts for Swing; argh +_ file an issue with the images +https://www.pushing-pixels.org/2017/01/17/using-san-francisco-font-in-swing-applications-on-a-mac.html for next release -_ JavaFX now throws Exception on run b/c natives aren't present -_ why are the jars even there? how is module path getting set? -_ gonna have to cut loose running Tools from the PDE -_ or make it possible to embed a JavaFX sketch, and the rest will work? -_ debug JavaFX and Export to Application on Windows -_ this was working on Saturday, now broken after the move to a separate library -_ now "Art Station" is broken because it actually creates an FX2D sketch -_ (and FX2D isn't on the classpath by default) -_ debug JavaFX and Export to Application on Linux -_ fix modules path warning for Tools in the PDE -_ "WARNING: Unsupported JavaFX configuration" when running Tools that use JavaFX -_ we were probably spared the warnings because the older JARs were hanging around -_ update modules path when exporting application _ automatically import JavaFX if FX2D is in sketch? or tell user? _ Code completion not working _ https://github.com/processing/processing4/issues/177 _ confirmed not working from Sam's repo either -_ "Could not run" "For more information, read revisions.txt and Help → Troubleshooting." -_ need to drop revisions.txt here and just reference Troubleshooting _ fix height of font size dropdown +_ You need to use "Import Library" to add processing.javafx.PGraphicsJavaFX _ do a test to see if PApplet extends PSketch breaks libraries