Opened 7 months ago

Last modified 6 months ago

#15006 closed defect

GRAPHICS: MACGUI: Screen can change between menu is activated and menu is drawn, causing glitches — at Version 1

Reported by: eriktorbjorn Owned by:
Priority: normal Component: Video
Version: Keywords:
Cc: Game: Indiana Jones 3

Description (last modified by eriktorbjorn)

I don't know which games this will affect, but I've managed to reproduce it reliably with the Macintosh version of Indiana Jones and the Last Crusade.

When the menu is activated (by moving the mouse to the top of the screen), it will make a copy of the screen and flag the menu as visible. When the menu is closed, the screen is restored to that copy. But if the screen changes in the brief time between the menu is activated and it's first drawn, it will have saved an outdated version of the screen.

Try this in Last Crusade:

Walk from one room to another. There is a quick graphics transition. While the transition is running, quickly move the mouse to the top of the screen. If you time it right, you will have caused it to save the screen while it was still mostly black.

When the menu closes again, your screen may look something like this:


So instead of copying the screen right away, it should probably set a flag that the screen should be copied, and then do that right before the menu is actually drawn. But I'm a bit fuzzy on exactly how the Mac Window Manager class works.

Change History (3)

by eriktorbjorn, 7 months ago

comment:1 by eriktorbjorn, 7 months ago

Description: modified (diff)

by eriktorbjorn, 7 months ago

Attachment: macgui-menu-corruption.txt added
Note: See TracTickets for help on using tickets.