[Scummvm-tracker] [ScummVM :: Bugs] #12793: MACOSX: When switching between windows created with different graphics types, both may be retained as active windows.

ScummVM :: Bugs trac at scummvm.org
Wed Aug 11 23:57:42 UTC 2021


#12793: MACOSX: When switching between windows created with different graphics
types, both may be retained as active windows.
-------------------+-----------------------------
Reporter:  macca8  |       Owner:  (none)
    Type:  defect  |      Status:  new
Priority:  normal  |   Component:  Port: Mac OS X
 Version:          |  Resolution:
Keywords:          |        Game:
-------------------+-----------------------------
Comment (by criezy):

 Finally a bug that I can partially reproduce!
 But only partially... And only once...

 With my own build using SDL 2.0.14, the first time I tried to reproduce I
 indeed got two windows listed in the Windows menu after I switched from
 OpenGL to Surface SDL graphics mode. Switching multiple times did not add
 more windows. It looked like it had one window for each of the two
 graphics mode.

 However I only ever had one window visible. Selecting the other window in
 the Windows menu removed the focus from the active ScummVM window, but did
 not show the other window.

 And now I can't even reproduce that issue with the window list. I can
 switch between OpenGL and Surface SDL, start a 3D game, come back to the
 launcher. Whatever I do I only have one window listed in the Windows menu.

 This sounds like a libSDL bug. In ScummVM we do call `SDL_DestroyWindow`
 before recreating a new one with `SDL_CreateWindow`, which seems correct
 to me.
-- 
Ticket URL: <https://bugs.scummvm.org/ticket/12793#comment:1>
ScummVM :: Bugs <https://bugs.scummvm.org>
ScummVM


More information about the Scummvm-tracker mailing list