IRC logs of Freenode #BZFlag for Thursday, 2020-05-21

*** Flash <Flash!~flash@2601:280:c200:4e39:a05d:60ef:374e:392> has joined #bzflag00:19
*** ChanServ sets mode: +v Flash00:19
the_map>blast007++00:44
*** I_Died_Once <I_Died_Once!~I_Died_On@unaffiliated/idiedonce/x-1828535> has quit IRC (Ping timeout: 260 seconds)03:19
*** BZNotify <BZNotify!~BZNotify@bzexcess.com> has joined #bzflag06:25
*** Sgeo <Sgeo!~Sgeo@ool-18b982ad.dyn.optonline.net> has quit IRC (Read error: Connection reset by peer)07:53
*** DTRemenak|RDP <DTRemenak|RDP!~DTRemenak@about/essy/CrazyCoder/DTRemenak> has joined #bzflag08:18
*** ChanServ sets mode: +v DTRemenak|RDP08:18
*** DTRemenak <DTRemenak!~DTRemenak@about/essy/CrazyCoder/DTRemenak> has quit IRC (Ping timeout: 244 seconds)08:21
*** DTRemenak|RDP is now known as DTRemenak08:21
*** I_Died_Once <I_Died_Once!~I_Died_On@unaffiliated/idiedonce/x-1828535> has joined #bzflag10:33
*** Flash <Flash!~flash@2601:280:c200:4e39:a05d:60ef:374e:392> has quit IRC (Ping timeout: 260 seconds)18:25
*** Flash <Flash!~flash@2601:280:c200:4e39:48c7:2f04:6c8a:9a65> has joined #bzflag20:23
*** ChanServ sets mode: +v Flash20:23
*** Sgeo <Sgeo!~Sgeo@ool-18b982ad.dyn.optonline.net> has joined #bzflag21:54
macsformeblast007: do you have any other thoughts on PR #251 as a solution for issue #201? it does seem to work, but I've been pondering whether it's the best method22:21
macsformeunfortunately, with multiple monitors on Linux, you can definitely see the progression of events when creating the window (initial window in the center, second window in one of the corners, then you can see that second window expanded fullscreen)... not awful, but not pretty either22:23
macsformea more generic method might be to attempt normal initialization, and if checking the resolution shows it's wrong then attempt windowed mode and change to fullscreen after, and if that still fails then accept whatever resolution we got and throw a resize event to try to get bz to accept it (though it might not be in the list of resolutions, so that could introduce other complications)22:26
macsformeunfortunately, SDL does not seem to always report correct information when you ask for the resolution of a window you just created... you can see one of my workarounds for that in #251 where I made it filter resize events and fix the resolution because the event info was wrong... so while the "more generic method" might be more robust, I'm not convinced that it's even viable if SDL isn't giving us good information22:30
macsformeso this may be the best we can do for now22:31
blast007yeah, I was having trouble getting it to work the same everywhere22:32
blast007I'd get it working better on Linux, but then it'd be broken on Windows22:32
blast007I'll see about testing it further and making some additional changes this weekend.22:32
macsformekk22:36
*** Flash <Flash!~flash@2601:280:c200:4e39:48c7:2f04:6c8a:9a65> has quit IRC (Ping timeout: 260 seconds)23:55

Generated by irclog2html.py 2.17.3.dev0 by Marius Gedminas - find it at https://mg.pov.lt/irclog2html/!