fallahn / xygine

2D engine / framework built around SFML
218 stars 19 forks source link

Some undefined behaviour with ImGui windows #108

Closed fallahn closed 5 years ago

fallahn commented 5 years ago

Currently only confirmed on windows: Registering then executing a custom console command which launches a NFD window via xy::FileSystem::openFileDialog() causes the console to immediately and continually return true at this line. The result is perpetual input of empty commands and resulting error message in the console. So far I've ruled out the creation of phantom events, so possibly a memory corruption issue by NFD?

fallahn commented 5 years ago

This apparently happens not just just with NFD, and is reproducible on macOS too. Could be related to the tab control not always opening on the first index - indicative of an uninitialised var or even memory corruption (?) - Should try updating the ImGui source as tabs are now natively supported I think.

fallahn commented 5 years ago

closing this for now - #110 appears to have made it go away