fix popups with inputboxes cancelling text input#4748
Conversation
Text input is enabled when an inputbox is created and disabled when it's destroyed. If a screen has an inputbox and can trigger a popup that also has an inputbox, then text input is disabled when the popup is closed thereby preventing the original screen's inputbox from working.
|
Setting as draft since, although it addresses a particular problem found on the PXO screens, it doesn't really fix the underlying issue. So this PR may be scrapped in favor of a better solution. Technically A bigger issue is that I think that, at a minimum, handling Tagging @z64555 for his input on this. |
|
The SDL wiki is a little thin on the usage of According to the SDL wiki, the two functions enable/disable certain events from generating, and again the reported behavior would suggest that they are managed in a simplistic way. We may be able to make a case with the SDL dev's or at least check their issue tracker to see if others have come into a similar issue. |
Text input is enabled when an inputbox is created and disabled when it's destroyed. If a screen has an inputbox and can trigger a popup that also has an inputbox, then text input is disabled when the popup is closed thereby preventing the original screen's inputbox from working.