client: what native draws for a UI image whose texture failed to load
Maintainer antworten meist innerhalb von 1 Tag
Dieses Issue hat noch niemand übernommen.
Bewertung
- Schwierigkeit
- 4/5
- Geschätzter Aufwand
- 3-5 Tage
- Anfängerfreundlichkeit
- 18/100
- Issue-Typ
- Bug
- Klarheit
- Größtenteils klar
- Aktivitätsstatus
- Aktiv
- Tech-Stack
- typescript, wasm
Rechercherichtung
Start in resources.ts, where a manifest-absent image is sent to missing and its quad is left blank, and compare that with the native path described in the issue (CTextBoard_SetTexturePath, CIFWnd_RenderTexturedFace, CIFWnd_RenderBackgroundTexture). The first open question is the UI texture stage-0 colour/alpha state, which the issue says is not yet traced, so it must be traced before any port change. Done means the device calls before 0x53F584 are documented and the port draws the same for an absent image, with a test, or the issue is closed with the trace showing native draws nothing.
Vom Indexierungsmodell aus dem Issue-Text verfasst.
Beschreibung
Found while tracing #3407 in the v1.150 client.
The port draws nothing for a UI image the build lacks (resources.ts: a manifest-absent image goes to missing and its quad is blank). Native keeps drawing the face:
CTextBoard_SetTexturePath0x53FF00 storesResourceManager_GetTextureByPath's result at +0xD8 (null for a missing file) and sets the path flag +0xFC.CIFWnd_RenderTexturedFace0x5405DF draws when +0xFC is set, whether or not the texture loaded.CIFWnd_RenderBackgroundTexture0x53F4E1→0x53F4F8 binds +0xD8 as is (null included) and draws the quad (0x53F584).
So with no texture, native draws the quad with no texture bound. What that looks like (vertex colour, white or black) depends on the texture stage state the UI sets for stage 0, which hasn't been traced yet.
Done when
- The UI's stage-0 colour/alpha ops are traced (the device calls before 0x53F584), so we know what a null-texture quad shows in native.
- The port draws the same for an absent image, with a test. If native shows nothing, close with that trace instead.
- Vorherrschende Sprache
- Go
- Sterne
- 97
- Forks
- 61
- Ø Merge
- 4 Std. 14 Min.
- Gemergte PRs (30 T.)
- 913
Entwicklungsumgebung
- Kein Dockerfile und keine Docker-Compose-Datei
- Hat eine Pull-Request-Vorlage
- Beitragsleitfaden lesen
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 opensro-dev/opensro
-
area: client enhancement priority: low
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 75/100
opensro-dev/opensro#3681 ·
Maintainer antworten meist innerhalb von 1 Tag
-
area: client bug priority: low
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 78/100
opensro-dev/opensro#3228 · 1 Kommentar ·
Maintainer antworten meist innerhalb von 1 Tag
-
Format one minified client file with dprint (ongoing: one file per PR)Evtl. vergeben Ein verknüpfter Pull Request ist offen oder bereits gemergt. Offenarea: client enhancement good first issue priority: low
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 75/100
opensro-dev/opensro#1 · 1 Kommentar ·
Maintainer antworten meist innerhalb von 1 Tag
-
area: server bug priority: medium
Schwierigkeit 3/5 Ein halber Tag Anfängerfreundlichkeit 55/100
opensro-dev/opensro#3687 ·
Maintainer antworten meist innerhalb von 1 Tag
-
area: ops bug priority: high
Schwierigkeit 4/5 3-5 Tage Anfängerfreundlichkeit 32/100
opensro-dev/opensro#3685 ·
Maintainer antworten meist innerhalb von 1 Tag
Alle Issues in opensro-dev/opensro
Ähnliche Issues
-
area/networking kind/bug
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 69/100
siderolabs/talos#14972 ·
Maintainer antworten meist innerhalb von 1 Tag
-
Schwierigkeit 1/5 Unter einer Stunde Anfängerfreundlichkeit 72/100
Maintainer antworten meist innerhalb von 1 Tag
-
kubectl wait outputs cryptic "error: unrecognized condition: []" when --for is omittedEvtl. vergeben @muskan-creates352 hat das heute übernommen. Offenkind/bug needs-triage
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 84/100
kubernetes/kubectl#1910 · 1 Kommentar ·
-
needs-triage
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 66/100
stacklok/toolhive-catalog#1967 ·
Maintainer antworten meist innerhalb von 1 Tag
-
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 66/100
unbound-force/gaze#353 ·
Maintainer antworten meist innerhalb von 1 Tag