[bug] [macos/darwin] Delayed rendering after clicking on combo/calling modal popup
What happend?
giu: f64eda1, cimgui-go: 1d3efee
There are some cases when the UI doesn't get updated after user interaction.
For example, if there's a Combo element and I click on it, it may take up to several seconds for the UI to actually expand the combo element. (but if I trigger an update by moving the mouse cursor, it shows instantly after that).
Sometimes, though, the update is triggered fine right after clicking.
Also happens with other widgets that show some new elements on clicking (context menus, popup modals, color picker etc.).
https://github.com/user-attachments/assets/eb625ea0-c18c-412a-bdb5-f7e27338a4c0
Couldn't reproduce this on Windows (not sure about Linux) - works flawlessly in there.
(giu v0.7.0 didn't have that)
Code example
examples/imguidemo/imguidemo.go examples/widgets/widgets.go
To Reproduce
Poke various widgets that display extra stuff
Version
master
OS
macOS Sonoma 14.6.1
Can confirm - linux (running dwm) does this also sometimes.
@theaino @ioxenus could you check if its somehow better now? I think that #1032 and #1036 might have changed something here.