IRC logs of Freenode #BZFlag for Saturday, 2020-11-28

*** EvilJStoker <EvilJStoker!jstoker@unaffiliated/jstoker> has quit IRC (Ping timeout: 272 seconds)03:17
*** EvilJStoker <EvilJStoker!jstoker@unaffiliated/jstoker> has joined #bzflag03:18
*** bryjen <bryjen!~bryjen@cpe-74-140-75-218.columbus.res.rr.com> has joined #bzflag03:39
*** SpringTank <SpringTank!~quassel@69-154-138-57.lightspeed.rcsntx.sbcglobal.net> has quit IRC (Quit: https://quassel-irc.org - Chat comfortably. Anywhere.)03:55
*** Zehra <Zehra!~Keiki_Han@unaffiliated/zehra> has quit IRC (Quit: Quit)04:00
*** SpringTank <SpringTank!~quassel@69-154-138-57.lightspeed.rcsntx.sbcglobal.net> has joined #bzflag04:00
*** bryjen <bryjen!~bryjen@cpe-74-140-75-218.columbus.res.rr.com> has quit IRC (Quit: Leaving)05:58
*** BulletCatcher <BulletCatcher!~bc@bzflag/developer/BulletCatcher> has left #bzflag ("tank sank")06:00
*** BulletCatcher <BulletCatcher!~bc@bzflag/developer/BulletCatcher> has joined #bzflag07:08
*** ChanServ sets mode: +v BulletCatcher07:08
*** Sgeo <Sgeo!~Sgeo@ool-18b982ad.dyn.optonline.net> has quit IRC (Read error: Connection reset by peer)10:23
*** Kissee80 <Kissee80!~maeganeat@185.180.14.152> has joined #bzflag12:41
*** I_Died_Once <I_Died_Once!~I_Died_On@unaffiliated/idiedonce/x-1828535> has quit IRC (Read error: Connection reset by peer)17:26
macsformeblast007: I poked around a bit with issue #268 (the offset viewport when restoring a minimized window on macOS)... so far it seems to be yet another SDL 2 quirk17:50
macsformewhat I observed was, when it behaves correctly (when you click on the minimized window itself to restore), the very first event is SDL_WINDOWEVENT_MOVED to the position 0, 0... when you click on the app icon to restore, or command tab, the move event comes last, and it's to a position of half the difference between the scaled and the native resolutions17:52
macsformee.g., my native resolution is 1440 x 900, my scaled resolution is 800 x 500, and the move event position is 320, -20017:54
macsformeI hoped for an easy workaround... so far, SDL_SetWindowPosition(window, 0, 0) right after the event does fix the X offset but not the Y offset for some reason... and furthermore, SDL_GetWindowPosition() returns 0,0 even when the offset is in effect, so that isn't a reliable way to test for the condition17:57
*** Zehra <Zehra!~Keiki_Han@unaffiliated/zehra> has joined #bzflag18:16
macsformewe may need to destroy and re-create the window to fix it18:21
macsformeI should try building in Big Sur and/or with SDL bleeding edge code to see if either of those fix it18:50
*** Agatha <Agatha!~agatha@2601:681:527f:e8f0:c8ad:21c3:5846:3b4b> has quit IRC (Read error: Connection reset by peer)19:05
*** Agatha <Agatha!~agatha@2601:681:527f:e8f0:5cca:22f2:6e60:ff2> has joined #bzflag20:54
*** Sgeo <Sgeo!~Sgeo@ool-18b982ad.dyn.optonline.net> has joined #bzflag21:26
*** ChanServ <ChanServ!ChanServ@services.> has quit IRC (*.net *.split)22:55
*** ChanServ <ChanServ!ChanServ@services.> has joined #bzflag23:01
*** egan.freenode.net sets mode: +o ChanServ23:01

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