When the cursor in the text box is active, using the back button or gestures will only close the virtual keyboard, unlike other situations where the current window can be closed directly.
Additionally, triggering the back action after selecting text in a text box will delete the selected text, rather than simply closing the virtual keyboard or window.
This is handled from SDL as we do not handle that event (not even sure if it propagate). Simutrans is not even aware of a virtual keyboard, this is all SDLs doing.
Quote from: prissi on March 28, 2026, 12:11:42 PMThis is handled from SDL as we do not handle that event (not even sure if it propagate). Simutrans is not even aware of a virtual keyboard, this is all SDLs doing.
So... are we just supposed to wait for SDL3 to be released now? ???
Quote from: Mishasama on Yesterday at 01:36:57 AMSo... are we just supposed to wait for SDL3 to be released now? ???
SLD3 has been around between us, the problem is porting Simutrans there. :P
Quote from: Yona-TYT on Yesterday at 01:49:02 AMSLD3 has been around between us, the problem is porting Simutrans there. :P
Could we use AI to accomplish this task? It seems like another huge undertaking. :o