giu icon indicating copy to clipboard operation
giu copied to clipboard

[bug] [macos/darwin] Delayed rendering after clicking on combo/calling modal popup

Open ioxenus opened this issue 1 year ago • 2 comments

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

ioxenus avatar Oct 19 '24 18:10 ioxenus

Can confirm - linux (running dwm) does this also sometimes.

theaino avatar May 23 '25 18:05 theaino

@theaino @ioxenus could you check if its somehow better now? I think that #1032 and #1036 might have changed something here.

gucio321 avatar Oct 10 '25 13:10 gucio321