Description
Most appropriate sub-area of Processing 4?
Core/Environment/Rendering
Processing version
4.3 and 4.3.1
Operating system
Window 11, with Nvidia RTXA4000
Steps to reproduce this
"1. I use Processing 4.3 and 4.3.1. I find that I cannot resize the
Processing window if I use Java2D as the renderer. This situation does
not always happen. After many tests on different machines, I find that it
specifically happens under this settings: "Window + desktop + with
Nvidia graphic card". The problem does not happen on notebook with
Nvidia card and not happen on Mac. I believe that the Java2D renderer
has certain problem to work with the high-end graphic card (e.g. Nvidia
RTX A4000 which is the GPU on my PC desktop ). Running the following
sample program and resize the window can let you experience the problem
(but the problem only happened by running it in window desktop with high end Nvidia card)
-
I find that the problem can be eased (but not solved) if I change the
frameRate() to '1' during window resize and resume it back to "60" after
resize. Then the window sometimes can be resize without problem but not
every time. I tried many other approaches but all of them not working.
By the way, if I use other renderer like P2D, OpenGL, this problem does
not exist. For example, changing the renderer to P2D in the following sample program
and run it again in my PC desktop, I can resize the window without problem. -
I sincerely hope that the development team can handle this bug in the
new release of Processing. I am now relying Processing to build a
software with multiple window and this problem gives me a lot of
inconvenience which is not a problem that i am capable to solve from my
side. The scale of my software is too big and not possible to change the
renderer to others. Thus I hope your team can try solving this issues in the new version
in future. If you need any more information please let me know. Many thanks in
advance.
"
snippet
// Paste your code below :)
int i=0;
void setup()
{
size(800, 600);
surface.setResizable(true);
}
void draw()
{
background(i%256);
i++;
line(0, 0, width, height);
line(width, 0, 0, height);
}
Additional context
No response
Would you like to work on the issue?
yes, i can try