Skip to content

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

Description

@ioxenus

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.).

giu_macos_update_delay.mp4

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions