andlabs / andlabs/libui

uiTableModelInsertRow() causes invalid rows to be accessed (on windows)

Offen
#416 0 Kommentare 0 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen
Vorherrschende Sprache
C
Sterne
10.9k
Forks
612
PR-Merge-Kennzahlen
Keine gemergten PRs in 30 T.

Beschreibung

If uiTableModelInsertRow() is called on an active uiTable, the table will then try to fetch one row more than what the model provides.
If the table already has a lot of content, the invalid fetch won't occur until you scroll right down to bring the last row into view.

Seems to be windows-specific.

example here:
https://github.com/bcampbell/libui/blob/destruc-table/examples/destruc-table/main.c

Beitragsleitfaden

Beitragsleitfaden öffnen

Bewertung

Dieses Issue wurde noch nicht bewertet.

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.