From 3bd7ffed178d8f54a094c281302a7ea0b10bbd9d Mon Sep 17 00:00:00 2001 From: Ben Fry Date: Sat, 18 Feb 2023 16:33:27 -0500 Subject: [PATCH] more work on resolutions and full screen --- core/src/processing/opengl/PSurfaceJOGL.java | 7 ++++--- core/todo.txt | 5 +++++ 2 files changed, 9 insertions(+), 3 deletions(-) diff --git a/core/src/processing/opengl/PSurfaceJOGL.java b/core/src/processing/opengl/PSurfaceJOGL.java index 7a77bc757..2ef18cc05 100644 --- a/core/src/processing/opengl/PSurfaceJOGL.java +++ b/core/src/processing/opengl/PSurfaceJOGL.java @@ -808,10 +808,11 @@ public class PSurfaceJOGL implements PSurface { if (sketchWidth != sketchWidthRequested || sketchHeight != sketchHeightRequested) { if (!sketch.sketchFullScreen()) { // don't show the message when using fullScreen() - PGraphics.showWarning("The sketch has been resized from " + + PGraphics.showWarning( + "The sketch has been resized from " + "%dx%d to %dx%d by the operating system.%n" + - "This is happening outside Processing, " + - "and is probably a limitation of the OS or window manager.", + "This happened outside Processing, " + + "and may be a limitation of the OS or window manager.", sketchWidthRequested, sketchHeightRequested, sketchWidth, sketchHeight); } } diff --git a/core/todo.txt b/core/todo.txt index 5ee0d92b8..a26cb9d50 100644 --- a/core/todo.txt +++ b/core/todo.txt @@ -5,6 +5,11 @@ X Support chained decimals during SVG Parsing X https://github.com/processing/processing4/pull/659 X https://github.com/processing/processing4/issues/515 +_ has been resized from 100?100 to 116?100 by the window manager + +_ fullScreen(P2D) from an executable does not work properly +_ partially fixed, but now need to sort out hidpi issues +_ https://github.com/processing/processing4/issues/514 _ args passed to main() aren't working _ (there was a bug report for this already?)