andlabs / andlabs/libui

Bug when disabling windows and getting entries values on macOS

Open
#196 3 comments 0 reactions 0 assignees View on GitHub
bug
Dominant language
C
Stars
10.9k
Forks
612
PR merge metrics
No merged PRs in 30d

Description

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.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.