Re: [Ohrrpgce] [ohrrpgce/ohrrpgce] Mac: Custom getting stuck when spawning a program after changing window size (#23)
In my original comment I said I suspected that this is similar to #932 (stuck keys after when spawning programs). It's even more similar to #1173 (stuck keys after changing window zoom level in Custom). -- 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#issuecomment-691508675___ Ohrrpgce mailing list ohrrpgce@lists.motherhamster.org http://lists.motherhamster.org/listinfo.cgi/ohrrpgce-motherhamster.org
Re: [Ohrrpgce] [ohrrpgce/ohrrpgce] Mac: Custom getting stuck when spawning a program after changing window size (#23)
kylekrack reports this happened again running wip 20200809.11943 gfx_sdl 64-bit on Mac OS 10.14.4 with SDL 1.2.14 (note, that's not the latest SDL 1.2 version), but it sounds like it didn't happen for a long time: > kylekrack: Ah there we go. Clicked the close window button and it jogged it > back into action > kylekrack: But it's doing it consistently now, when I try to test game. This > feels familiar... I think I've reported this before > Ravancloak: recently, it freezes for me when I test my game and it isn't able > to communicate with game - until I close game Ravancloak (who's on Mac) then downloaded the latest gfx_sdl2 Mac build and reported the same thing still happens. Ravancloak's problem (which I don't think I've heard before) sounds similar enough to potentially be the same, so I'm disappointed that gfx_sdl2 didn't fix it. Fixing the "Could not communicate" bug (#1172) would mostly work around it. kylekrack also sent me c_debug.txt while Custom was stuck. It shows "Successfully opened IPC channel lump_updates.txt" at the end, which is the only thing Custom prints when spawning Game. -- 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#issuecomment-691505096___ Ohrrpgce mailing list ohrrpgce@lists.motherhamster.org http://lists.motherhamster.org/listinfo.cgi/ohrrpgce-motherhamster.org
[Ohrrpgce] [ohrrpgce/ohrrpgce] Mac: Custom getting stuck when spawning a program after changing window size (#23)
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