default to using native file selector on all platforms (#5122)

This commit is contained in:
Ben Fry
2017-06-12 15:43:49 -04:00
parent 1872211d12
commit 18a64d1b30
4 changed files with 6 additions and 7 deletions
-2
View File
@@ -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
# !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
+3 -5
View File
@@ -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;
+1
View File
@@ -1,4 +1,5 @@
0262 (3.3.5 or 3.4)
X default to using native select on all platforms
_ shell discussion with gohai
+2
View File
@@ -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