Since v4.4.3 - XYscope has odd sizing bug and small examples alphabetical order issue
Dieses Issue hat noch niemand übernommen.
Bewertung
- Schwierigkeit
- 4/5
- Geschätzter Aufwand
- 3-5 Tage
- Anfängerfreundlichkeit
- 32/100
- Issue-Typ
- Bug
- Klarheit
- Größtenteils klar
- Aktivitätsstatus
- Veraltet
- Tech-Stack
- java
- Bereich
- computer-graphics, desktop
Rechercherichtung
Beginne damit, die Beispiele XYscope calibration, basic_drawing und clock unter Processing 4.4.2 und 4.4.3 zu reproduzieren, und untersuche anschließend die Änderungen in Core/Environment/Rendering im verknüpften Commit-Bereich. Prüfe, ob die Regression bei der Größenbestimmung und die Regression bei der Reihenfolge von Contributed Libraries separate Ursachen haben. Als abgeschlossen gilt die Aufgabe, wenn die Beispiele ihre erwarteten Abmessungen beibehalten und die Bibliotheksliste konsistent alphabetisch sortiert ist.
Vom Indexierungsmodell aus dem Issue-Text verfasst.
Beschreibung
Most appropriate sub-area of Processing 4?
Core/Environment/Rendering
Processing version
4.4.3
Operating system
MacOS 13.6.5
Bug description
An issue was brought up on the XYscope repo about the size of shapes changing and going off screen.. did some version checking and discovered a bug was introduced in v4.4.3 of Processing. Prior to 4.4.2, my examples for 1_getting_started > calibration (or basic_drawing or clock) all worked fine, keeping the graphics within the 512x512 window. Since 4.4.3, the shapes seem to be 4x bigger... the sizing magnitude change is especially noticeable with the basic_drawing example where the mouseX/Y no longer match.. Odd that about half the sketches aren't affected.. so I'm guessing it's semi related to pushMatrix()/popMatrix() or translate()... really not sure.. Tried looking into the changelog, but perhaps someone working close on the project has an idea from the commit log what it might have been? The issue has lingered up until the latest 4.4.6 release.
v4.4.2, calibration example
v4.4.3, calibration example (scale issue)
On a small side note, another small issue that was introduced in 4.4.2, was the alphabetical order listing of the Contributed Libraries within the examples window. Previously XYscope was usually at the very bottom of this list, but now it looks like some other bits from the folder aren't being filtered? - aha, it's placing all lowercase libs at the bottom after any Titlecase ones...
v4.4.1, examples window
v4.4.2, examples window (alphabetical issue)
Steps to reproduce this
-
Install
XYscopelibrary -
compare example
calibrationusing v4.4.2 (or lower) and v4.4.3
snippet
/*
calibration
circle + square + lines to help center/adjust oscilloscpe display
cc teddavis.org 2023
*/
import ddf.minim.*; // minim req to gen audio
import xyscope.*; // import XYscope
XYscope xy; // create XYscope instance
void setup() {
size(512, 512);
xy = new XYscope(this); // define XYscope instance
//xy.getMixerInfo(); // lists all audio devices
}
void draw() {
background(0);
xy.clearWaves(); // clear waves similar to background
pushMatrix();
translate(width/2, height/2);
pushMatrix();
rotate(radians(180));
xy.circle(0, 0, width);
popMatrix();
xy.rectMode(CENTER);
xy.rect(0, 0, width);
xy.line(-width/2, 0, width/2, 0);
xy.line(0, height/2, 0, -height/2);
popMatrix();
xy.buildWaves(); // build audio from shapes
xy.drawAll(); // draw all analytics
}
Additional context
No response
Would you like to work on the issue?
No, I’m just reporting the issue
- Vorherrschende Sprache
- Java
- Sterne
- 497
- Forks
- 183
- Ø Merge
- 4 Std. 39 Min.
- Gemergte PRs (30 T.)
- 3
Beitragsleitfaden
Erste Schritte
- Lesen Sie das ganze Issue und danach den Beitragsleitfaden des Projekts.
- Schreiben Sie ins Issue, dass Sie es übernehmen — das erspart doppelte Arbeit.
- Forken Sie das Repository und arbeiten Sie in einem Branch.
- Öffnen Sie einen Pull Request, der die Issue-Nummer nennt.
Mehr aus processing/processing4
-
bug
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 64/100
processing/processing4#1554 · 1 Kommentar ·
-
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 76/100
processing/processing4#1515 · 1 Reaktion ·
-
bug
Schwierigkeit 3/5 1-2 Tage Anfängerfreundlichkeit 55/100
processing/processing4#1573 ·
-
startup error Offen
Schwierigkeit 4/5 3-5 Tage Anfängerfreundlichkeit 25/100
processing/processing4#1569 · 7 Kommentare ·
-
Binaries under bin directory lack executable permissions for the snap and .deb packages for Linux Offenbug
processing/processing4#1567 · 3 Kommentare · 1 Reaktion · 1 zugewiesene Person ·
Alle Issues in processing/processing4
Ähnliche Issues
-
executions.Query — startDate and timeRange filters are sent with inverted comparison operators Offenarea/plugin
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 75/100
kestra-io/plugin-kestra#190 ·
-
litertlm-android AAR ships no consumer ProGuard rules → "mid == null" SIGABRT in minified apps Offen
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 70/100
google-ai-edge/LiteRT-LM#3739 ·
-
bug
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 75/100
-
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 75/100
integra-team-red/meet-map#249 ·
-
[Studio][Bug] Cancelled create-user dialog keeps the password and admin switch for the next attempt Offen
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 75/100
apache/rocketmq-dashboard#5064 ·