From ff596dc161005cea31edbb56e9f4f28411dcac1f Mon Sep 17 00:00:00 2001 From: benfry Date: Tue, 8 Mar 2011 00:47:44 +0000 Subject: [PATCH] fix present mode on os x --- core/src/processing/core/PApplet.java | 3 ++- core/todo.txt | 13 +++++-------- 2 files changed, 7 insertions(+), 9 deletions(-) diff --git a/core/src/processing/core/PApplet.java b/core/src/processing/core/PApplet.java index 120599e01..29f0ca8f2 100644 --- a/core/src/processing/core/PApplet.java +++ b/core/src/processing/core/PApplet.java @@ -7382,7 +7382,8 @@ public class PApplet extends Applet frame.setBackground(backgroundColor); if (exclusive) { displayDevice.setFullScreenWindow(frame); - frame.setExtendedState(java.awt.Frame.MAXIMIZED_BOTH); + // this trashes the location of the window on os x + //frame.setExtendedState(java.awt.Frame.MAXIMIZED_BOTH); fullScreenRect = frame.getBounds(); } else { DisplayMode mode = displayDevice.getDisplayMode(); diff --git a/core/todo.txt b/core/todo.txt index 5d72a9bb5..c91a60d2a 100644 --- a/core/todo.txt +++ b/core/todo.txt @@ -14,8 +14,12 @@ X changing PDF to use textMode(SHAPE) by default X saving a PGraphics as jpg using save() makes a cmyk file X need to shut off the alpha channel when writing X http://code.google.com/p/processing/issues/detail?id=415 +X present mode is no longer centering on macosx +X problem with setExtendedState(), which doesn't seem to be necessary +o only top left 100 x 100 pixels are displayed in presentation mode (Linux 1.1+) +o also was just crashing in main() for me, check on this later +o http://dev.processing.org/bugs/show_bug.cgi?id=1560 -_ present mode is no longer centering on macosx _ bug: textAlign(RIGHT) is shutting off native fonts _ makes salaryper super ugly @@ -54,9 +58,6 @@ Unfortunately I don't really understand the true cause of the underlying problem _ Seeming problem displaying SVG data when layer data is grouped _ http://code.google.com/p/processing/issues/detail?id=388 -_ check glyph code < 0 instead of Font.canDisplay() -_ OS X claims that it can display more glyphs because of substitutions - _ bug in SVG parser for shorthand curves (T/t and S/s) _ http://code.google.com/p/processing/issues/detail?id=350 @@ -96,10 +97,6 @@ _ transparency issue (might just be a bug in their code?) _ http://dev.processing.org/bugs/show_bug.cgi?id=1280 _ http://code.google.com/p/processing/issues/detail?id=182 -_ only top left 100 x 100 pixels are displayed in presentation mode (Linux 1.1+) -_ also was just crashing in main() for me, check on this later -_ http://dev.processing.org/bugs/show_bug.cgi?id=1560 - _ need to make sure the createFont() reference is up to date for charset _ make determination on shape(x,y,z,w,h,d) or no