diff --git a/build/shared/lib/defaults.txt b/build/shared/lib/defaults.txt index 55dd53e9b..c9c819678 100644 --- a/build/shared/lib/defaults.txt +++ b/build/shared/lib/defaults.txt @@ -74,8 +74,6 @@ recent.count = 10 # Default to the native (AWT) file selector where possible chooser.files.native = true -# native Linux file chooser is atrocious, use Swing instead -chooser.files.native.linux = false # !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! diff --git a/core/src/processing/core/PApplet.java b/core/src/processing/core/PApplet.java index 0ad6380a4..a74383910 100644 --- a/core/src/processing/core/PApplet.java +++ b/core/src/processing/core/PApplet.java @@ -176,12 +176,10 @@ public class PApplet implements PConstants { /** * Whether to use native (AWT) dialogs for selectInput and selectOutput. - * The native dialogs on Linux tend to be pretty awful. With selectFolder() - * this is ignored, because there is no native folder selector, except on - * Mac OS X. On OS X, the native folder selector will be used unless - * useNativeSelect is set to false. + * The native dialogs on some platforms can be ugly, buggy, or missing + * features. For 3.3.5, this defaults to true on all platforms. */ - static public boolean useNativeSelect = (platform != LINUX); + static public boolean useNativeSelect = true; /** The PGraphics renderer associated with this PApplet */ public PGraphics g; diff --git a/core/todo.txt b/core/todo.txt index ada176190..c29d29bf3 100644 --- a/core/todo.txt +++ b/core/todo.txt @@ -1,4 +1,5 @@ 0262 (3.3.5 or 3.4) +X default to using native select on all platforms _ shell discussion with gohai diff --git a/todo.txt b/todo.txt index e0a638703..426cea241 100755 --- a/todo.txt +++ b/todo.txt @@ -1,4 +1,6 @@ 0262 (3.3.5 or 3.4) +X use native Linux file choosers by default +X https://github.com/processing/processing/issues/5122 _ Console window losing text _ https://github.com/processing/processing/issues/5110