blast007 | wouldn't even need that else since the break would leave the loop immediately | 00:06 |
---|---|---|
blast007 | starting to test that here | 00:07 |
blast007 | macsforme: I fixed the issue where it didn't restore the resolution on exit in Linux. Making sure that works with SDL 1 too. | 00:25 |
macsforme | ah, true | 00:26 |
macsforme | okay that's good... I was just looking at the F4 issue... so far, I saw that it creates a window resize event when minimizing, but purging that event doesn't correct the issue... still investigating further | 00:29 |
BZNotify | bzflag: macsforme synchronized pull request #251 "Fix multiple issues with SDL 2 window creation" (https://git.io/JfnZO) | 00:39 |
blast007 | okay, so I guess SDL 1 (or at least our SDL 1 code) does not like multiple displayc because it just displays spanned across both displays, acting like it's one giant display | 01:24 |
blast007 | leaves it real broken if I change display modes and then exit too :D | 01:27 |
blast007 | (this isn't anything with your PR - this is our stock code too) | 01:27 |
blast007 | do we want to get rid of all non-SDL2 platform code for 2.4.22? | 01:28 |
BZNotify | bzflag: blast007 synchronized pull request #251 "Fix multiple issues with SDL 2 window creation" by macsforme (https://git.io/JfnZO) | 01:44 |
*** I_Died_Once <I_Died_Once!~I_Died_On@unaffiliated/idiedonce/x-1828535> has quit IRC (Ping timeout: 260 seconds) | 01:47 | |
macsforme | that was simple :-P | 02:57 |
blast007 | :) | 03:00 |
blast007 | now I think it's just the iconify issue | 03:00 |
macsforme | even if I purge all events right after minimizing (which gets rid of one resize event), there is still another resize event coming through afterwards... I haven't found where yet, but I think that's the issue | 03:06 |
macsforme | and obviously, purging all events isn't the long-term solution... we may just need another event filter to skip resize events until the window is restored | 03:08 |
*** I_Died_Once <I_Died_Once!~I_Died_On@unaffiliated/idiedonce/x-1828535> has joined #bzflag | 03:25 | |
*** brlcad <brlcad!~sean@104.225.5.10> has quit IRC (*.net *.split) | 04:08 | |
*** moriah <moriah!~quassel@unaffiliated/kierra> has quit IRC (*.net *.split) | 04:08 | |
*** bier <bier!~bier@helixnetworks.de> has quit IRC (*.net *.split) | 04:08 | |
*** Swant <Swant!swant@freenode/staff/ikea> has quit IRC (*.net *.split) | 04:08 | |
*** ChanServ <ChanServ!ChanServ@services.> has quit IRC (*.net *.split) | 04:08 | |
*** Sgeo <Sgeo!~Sgeo@ool-18b982ad.dyn.optonline.net> has quit IRC (*.net *.split) | 04:08 | |
*** the_map <the_map!~the_map@unaffiliated/the-map/x-1795707> has quit IRC (*.net *.split) | 04:08 | |
*** ruskie <ruskie!ruskie@sourcemage/mage/ruskie> has quit IRC (*.net *.split) | 04:08 | |
*** blast007 <blast007!~blast007@bzflag/developer/Blast> has quit IRC (*.net *.split) | 04:08 | |
*** EvilJStoker <EvilJStoker!jstoker@unaffiliated/jstoker> has quit IRC (*.net *.split) | 04:08 | |
*** Cobra_Fast <Cobra_Fast!~coprah@wtwrp.de> has quit IRC (*.net *.split) | 04:08 | |
*** BulletCatcher <BulletCatcher!~bc@bzflag/developer/BulletCatcher> has quit IRC (*.net *.split) | 04:08 | |
*** dcat <dcat!~dcat@c-98-244-106-246.hsd1.va.comcast.net> has quit IRC (*.net *.split) | 04:08 | |
*** cods <cods!~fred@tuxee.net> has quit IRC (*.net *.split) | 04:08 | |
*** TD-Linux <TD-Linux!~Thomas@about/essy/indecisive/TD-Linux> has quit IRC (*.net *.split) | 04:08 | |
*** disco- <disco-!~disco@unaffiliated/disco-> has quit IRC (*.net *.split) | 04:08 | |
*** alezakos <alezakos!~kongr45gp@bzflag/developer/alezakos> has quit IRC (*.net *.split) | 04:08 | |
*** dngor <dngor!abuse@p3m/dngor> has quit IRC (*.net *.split) | 04:08 | |
*** L4m3r <L4m3r!~l4m3r@bzflag/developer/L4m3r> has quit IRC (*.net *.split) | 04:08 | |
*** catay <catay!~smertens@valyria.catay.be> has quit IRC (*.net *.split) | 04:08 | |
*** Delusional <Delusional!~Delusiona@unaffiliated/delusional> has quit IRC (*.net *.split) | 04:08 | |
*** Chestal <Chestal!~thilo@vmax.unix-ag.uni-siegen.de> has quit IRC (*.net *.split) | 04:08 | |
*** infobot <infobot!ibot@96-86-209-99-static.hfc.comcastbusiness.net> has quit IRC (*.net *.split) | 04:08 | |
*** ukiki <ukiki!ukiki@2600:3c03::f03c:91ff:fe70:30aa> has quit IRC (*.net *.split) | 04:08 | |
*** macsforme <macsforme!~macsforme@bzflag/developer/Constitution> has quit IRC (*.net *.split) | 04:08 | |
*** blast007[m] <blast007[m]!blast007ma@gateway/shell/matrix.org/x-ipplrkajurqkitie> has quit IRC (*.net *.split) | 04:08 | |
*** User49 <User49!~FieldSobe@unaffiliated/user49> has quit IRC (*.net *.split) | 04:08 | |
*** The_Noah <The_Noah!~The_Noah@47.185.228.152> has quit IRC (*.net *.split) | 04:08 | |
*** sam_ <sam_!foobar@poulet.zoy.org> has quit IRC (*.net *.split) | 04:08 | |
*** FastLizard4 <FastLizard4!fastlizard@wikipedia/pdpc.active.FastLizard4> has quit IRC (*.net *.split) | 04:08 | |
*** tupone <tupone!~alfredo@gentoo/developer/tupone> has quit IRC (*.net *.split) | 04:08 | |
*** allejo <allejo!~allejo@bzflag/developer/allejo> has quit IRC (*.net *.split) | 04:08 | |
*** tw1sted <tw1sted!~tw1sted@104.236.87.240> has quit IRC (*.net *.split) | 04:08 | |
*** CaptainRoberts[m <CaptainRoberts[m!generalpur@gateway/shell/matrix.org/x-qpahfsmktjyfpvjw> has quit IRC (*.net *.split) | 04:08 | |
*** nitroxis <nitroxis!n@nxs.re> has quit IRC (*.net *.split) | 04:08 | |
*** macsforme <macsforme!~macsforme@bzflag/developer/Constitution> has joined #bzflag | 04:13 | |
*** ukiki <ukiki!ukiki@2600:3c03::f03c:91ff:fe70:30aa> has joined #bzflag | 04:13 | |
*** cods <cods!~fred@tuxee.net> has joined #bzflag | 04:13 | |
*** dcat <dcat!~dcat@c-98-244-106-246.hsd1.va.comcast.net> has joined #bzflag | 04:13 | |
*** BulletCatcher <BulletCatcher!~bc@bzflag/developer/BulletCatcher> has joined #bzflag | 04:13 | |
*** TD-Linux <TD-Linux!~Thomas@about/essy/indecisive/TD-Linux> has joined #bzflag | 04:13 | |
*** dngor <dngor!abuse@p3m/dngor> has joined #bzflag | 04:13 | |
*** alezakos <alezakos!~kongr45gp@bzflag/developer/alezakos> has joined #bzflag | 04:13 | |
*** disco- <disco-!~disco@unaffiliated/disco-> has joined #bzflag | 04:13 | |
*** tupone <tupone!~alfredo@gentoo/developer/tupone> has joined #bzflag | 04:13 | |
*** FastLizard4 <FastLizard4!fastlizard@wikipedia/pdpc.active.FastLizard4> has joined #bzflag | 04:13 | |
*** sam_ <sam_!foobar@poulet.zoy.org> has joined #bzflag | 04:13 | |
*** The_Noah <The_Noah!~The_Noah@47.185.228.152> has joined #bzflag | 04:13 | |
*** User49 <User49!~FieldSobe@unaffiliated/user49> has joined #bzflag | 04:13 | |
*** CaptainRoberts[m <CaptainRoberts[m!generalpur@gateway/shell/matrix.org/x-qpahfsmktjyfpvjw> has joined #bzflag | 04:13 | |
*** blast007[m] <blast007[m]!blast007ma@gateway/shell/matrix.org/x-ipplrkajurqkitie> has joined #bzflag | 04:13 | |
*** nitroxis <nitroxis!n@nxs.re> has joined #bzflag | 04:13 | |
*** Swant <Swant!swant@freenode/staff/ikea> has joined #bzflag | 04:13 | |
*** ChanServ <ChanServ!ChanServ@services.> has joined #bzflag | 04:13 | |
*** tw1sted <tw1sted!~tw1sted@104.236.87.240> has joined #bzflag | 04:13 | |
*** allejo <allejo!~allejo@bzflag/developer/allejo> has joined #bzflag | 04:13 | |
*** egan.freenode.net sets mode: +ovov macsforme BulletCatcher ChanServ allejo | 04:13 | |
*** Delusional <Delusional!~Delusiona@unaffiliated/delusional> has joined #bzflag | 04:13 | |
*** Chestal <Chestal!~thilo@vmax.unix-ag.uni-siegen.de> has joined #bzflag | 04:13 | |
*** egan.freenode.net sets mode: +o Chestal | 04:13 | |
*** bier <bier!~bier@helixnetworks.de> has joined #bzflag | 04:14 | |
*** EvilJStoker <EvilJStoker!jstoker@unaffiliated/jstoker> has joined #bzflag | 04:14 | |
*** Cobra_Fast <Cobra_Fast!~coprah@wtwrp.de> has joined #bzflag | 04:14 | |
*** Sgeo <Sgeo!~Sgeo@ool-18b982ad.dyn.optonline.net> has joined #bzflag | 04:14 | |
*** the_map <the_map!~the_map@unaffiliated/the-map/x-1795707> has joined #bzflag | 04:14 | |
*** ruskie <ruskie!ruskie@sourcemage/mage/ruskie> has joined #bzflag | 04:14 | |
*** blast007 <blast007!~blast007@bzflag/developer/Blast> has joined #bzflag | 04:14 | |
*** L4m3r <L4m3r!~l4m3r@bzflag/developer/L4m3r> has joined #bzflag | 04:14 | |
*** catay <catay!~smertens@valyria.catay.be> has joined #bzflag | 04:14 | |
*** egan.freenode.net sets mode: +v L4m3r | 04:14 | |
*** brlcad <brlcad!~sean@104.225.5.10> has joined #bzflag | 04:15 | |
*** moriah <moriah!~quassel@unaffiliated/kierra> has joined #bzflag | 04:15 | |
*** blast007[m] <blast007[m]!blast007ma@gateway/shell/matrix.org/x-ipplrkajurqkitie> has quit IRC (Ping timeout: 241 seconds) | 04:15 | |
*** CaptainRoberts[m <CaptainRoberts[m!generalpur@gateway/shell/matrix.org/x-qpahfsmktjyfpvjw> has quit IRC (Ping timeout: 257 seconds) | 04:15 | |
*** infobot <infobot!ibot@96.86.209.99> has joined #bzflag | 04:18 | |
*** ChanServ sets mode: +v infobot | 04:18 | |
*** CaptainRoberts[m <CaptainRoberts[m!generalpur@gateway/shell/matrix.org/x-vireadpsczsnysqb> has joined #bzflag | 04:22 | |
*** Sgeo <Sgeo!~Sgeo@ool-18b982ad.dyn.optonline.net> has quit IRC (Read error: Connection reset by peer) | 04:28 | |
*** Sgeo <Sgeo!~Sgeo@ool-18b982ad.dyn.optonline.net> has joined #bzflag | 04:37 | |
*** blast007[m] <blast007[m]!blast007ma@gateway/shell/matrix.org/x-cqjdgksyyzevoajc> has joined #bzflag | 04:45 | |
*** Sgeo <Sgeo!~Sgeo@ool-18b982ad.dyn.optonline.net> has quit IRC (Read error: Connection reset by peer) | 07:45 | |
*** infobot <infobot!ibot@96.86.209.99> has quit IRC (Quit: cyal8r) | 08:30 | |
*** infobot <infobot!ibot@96-86-209-99-static.hfc.comcastbusiness.net> has joined #bzflag | 08:31 | |
*** ChanServ sets mode: +v infobot | 08:31 | |
*** the_map <the_map!~the_map@unaffiliated/the-map/x-1795707> has quit IRC (*.net *.split) | 11:23 | |
*** ruskie <ruskie!ruskie@sourcemage/mage/ruskie> has quit IRC (*.net *.split) | 11:23 | |
*** blast007 <blast007!~blast007@bzflag/developer/Blast> has quit IRC (*.net *.split) | 11:23 | |
*** the_map <the_map!~the_map@unaffiliated/the-map/x-1795707> has joined #bzflag | 11:27 | |
*** ruskie <ruskie!ruskie@sourcemage/mage/ruskie> has joined #bzflag | 11:27 | |
*** blast007 <blast007!~blast007@bzflag/developer/Blast> has joined #bzflag | 11:27 | |
macsforme | these are the SDL events triggering the unwanted window restoration, and the SDL events following a correct window restoration for comparison: https://pastebin.com/gYuPSmrR | 16:21 |
macsforme | the two options I see are 1) filter and block any SDL_WINDOW_EVENT_RESIZED events occurring between SDL_WINDOWEVENT_MINIMIZED and SDL_WINDOWEVENT_SHOWN, or 2) change the window resolution back to the native screen resolution before minimizing, and put it back to the correct size when restoring | 16:24 |
*** Sgeo <Sgeo!~Sgeo@ool-18b982ad.dyn.optonline.net> has joined #bzflag | 17:32 | |
macsforme | hmmm, also need to filter out the resize after an alt-tab to a different application... | 17:41 |
macsforme | the issue (in both cases) is that the unwanted resize event comes before the minimize and hidden events... long enough beforehand that the resize is already processed by the game before SDL puts the other events in the event queue, from what I can tell | 18:29 |
blast007 | macsforme: if we switch to windowed before minimizing, does that work? | 19:07 |
blast007 | I can't recall if I had the issue when I was in windowed mode | 19:08 |
*** spldart is now known as short_circuit | 19:14 | |
*** ChanServ sets mode: -v short_circuit | 19:14 | |
blast007 | I'll have to play around with SDL_PumpEvents and delays in my platform code rewrite and see if that helps | 19:15 |
blast007 | I had previously tried putting an SDL_PumpEvents() between every other SDL_* function call out of desperation, but I hadn't ever added any delays | 19:16 |
Sgeo | Why would I have UDP issues some times but not other times? | 19:51 |
Sgeo | Got kicked for not using UDP, but was playing last night just fine | 19:51 |
blast007 | are you using wifi? | 21:17 |
blast007 | macsforme: I'm also going to try using KDE instead of Gnome and see if there's a difference in the behavior for any of this stuff | 21:29 |
Sgeo | blast007, yes | 21:34 |
blast007 | could just be a bad connection | 21:45 |
Generated by irclog2html.py 2.17.3.dev0 by Marius Gedminas - find it at https://mg.pov.lt/irclog2html/!