SDL icon indicating copy to clipboard operation
SDL copied to clipboard

Cocoa_StopTextInput causes a freeze

Open KyleKrein opened this issue 1 year ago • 1 comments

I use ImGui with SDL3 and I started to get freezes on MacOS, when SDL_StopTextInput is called. I investigated and found out that in Cocoa_StartTextInput data.fieldEdit is removed from Superview and then in Cocoa_StopTextInput it tries to remove data.fieldEdit from Superview again. On that line my app freezes, so I guess it needs to have some kind of check, that it was not removed already.

KyleKrein avatar May 23 '24 01:05 KyleKrein

Are you still seeing this? I'm not seeing any way for the fieldEdit to be removed and not get a new parent. Is ImGui modifying the view heirarchy or fieldEdit outside of SDL?

slouken avatar Dec 07 '24 00:12 slouken