processing/processing4

Resizable Window has rendering Bug

Offen

#1.003 geöffnet am 24.03.2025

 (10 Kommentare) (0 Reaktionen) (1 zugewiesene Person)Java (176 Forks)auto 404
bugcorehelp wantedlinux

Repository-Metriken

Stars
 (439 Sterne)
PR-Merge-Metriken
 (PR-Metriken ausstehend)

Beschreibung

Most appropriate sub-area of Processing 4?

Core/Environment/Rendering

Processing version

1295

Operating system

Linux Mint 22.1 x86_64; Kernel: 6.8.0-54-generic

Steps to reproduce this

  1. Download Source Code from https://github.com/processing/processing4/releases/tag/processing-1297-4.3.4

  2. Open Project in IntelliJ and run Ant Target Linux (See Picture in Additional context for Configuration)

  3. Paste Code from the Example of setResizable() into the IDE and run (See Picture in Additional context)

  4. Resize the window

snippet

void setup() {
  size(200, 200);
  surface.setTitle("Hello World!");
  surface.setResizable(true);
  surface.setLocation(100, 100);
}

void draw() {
  background(204);
  line(0, 0, width, height);
  line(width, 0, 0, height); 
}

Additional context

Image

Image

Would you like to work on the issue?

No

Contributor Guide