andlabs / andlabs/libui

Bug when disabling windows and getting entries values on macOS

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

Beschreibung

How to reproduce:
- Create a window with entries
- Add a button that: disables the whole window and after prints the entries value
- Run this, enter something in entries, remove focus from these entries (by clicking around), click the button
- Values printed are empty

A way to workaround this is to get these values before disabling the window. Another workaround: get entries values, throw away the returned results, disable the whole window, and get again values.

Beitragsleitfaden

Beitragsleitfaden öffnen

Bewertung

Dieses Issue wurde noch nicht bewertet.

Neue Issues direkt in Ihr Postfach

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