A couple weeks ago kylekrack reported:

kylekrack: So I'm encountering a weird bug on mac with Nightly 20190306 where 
using options like Test Game and Compile Scripts causes custom to freeze until 
I click the X to close out the program.
kylekrack: Restarting Custom stops the problem
kylekrack: It appears to have something to do with changing the scale/window 
size
kylekrack: I can't replicate it consistently, though

https://cdn.discordapp.com/attachments/429686966507012108/603329849913769985/ohrfreezebug.mov

I think the blame is most likely with SDL 1.2, which has always had problems 
with spawning programs on Windows and Linux too, despite a lot of attempted 
workarounds.
Modifying the window (resizing/changing zoom, fullscreening and toggling 
resizability) also cause possible key input problems in SDL 1.2, all call 
gfx_sdl_set_screen_mode which calls SDL_SetVideoMode which recreates the 
window, apparently possibly causing SDL's internal keyboard/mouse state to 
become inconsistent. The SDL 2 API is different, it has functions to do those 
things without recreating the window. Since kylekrack mentioned changing the 
window size, I'm very hopeful that gfx_sdl2 is the solution to this problem. In 
the last few days I've been working on getting gfx_sdl2 running on Mac, and 
hope that's the solution. (Not for Fulfuns, obviously.)
I don't know whether the other spawning problems are fixed/better in SDL 2.

Aside, another possible source of problems is the way we spawn Game on Unix 
(popen/pclose : see bug #22), but that's not used for HSpeak so can't be the 
problem here.

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/ohrrpgce/ohrrpgce/issues/23
_______________________________________________
Ohrrpgce mailing list
ohrrpgce@lists.motherhamster.org
http://lists.motherhamster.org/listinfo.cgi/ohrrpgce-motherhamster.org

Reply via email to