[GH-ISSUE #1108] [Issue]: New Game Mode sessions can show stale backgrounds from previous games #549

Closed
opened 2026-10-20 17:30:04 +07:00 by bsakaguchi · 0 comments
Owner

Originally created by @cha1latte on GitHub (May 22, 2026).
Original GitHub issue: https://github.com/Pasta-Devs/Marinara-Engine/issues/1108

Originally assigned to: @cha1latte on GitHub.

Summary

Starting a new Game Mode session can briefly load old backgrounds from previous Game Mode games.

Expected behavior

A new Game Mode session should start with the correct current background state and should not show backgrounds from older Game Mode games.

Actual behavior

Old backgrounds from prior Game Mode games appear when starting a new game. The stale backgrounds disappear after deactivating the window and returning to Game Mode.

Steps to reproduce

  1. Use Marinara Engine on the latest staging build.
  2. Run the app through Docker on a Raspberry Pi 4 and access it in Chrome over Tailscale.
  3. Play or load a Game Mode game that uses backgrounds.
  4. Start a new Game Mode game.
  5. Observe that backgrounds from the older Game Mode game can load into the new session.
  6. Deactivate the browser window, then return to Game Mode.
  7. Observe that the stale backgrounds disappear after returning.

Marinara Engine version

Latest version / staging.

Install type

Docker.

OS + version

Raspberry Pi 4 environment; exact OS/version not specified.

Browser or app shell

Chrome over Tailscale.

Screenshots or video

Not provided.

Logs

Not specified.

Additional context

Reporter notes that deactivating the window and returning to Game Mode clears the stale background, which suggests the visible state refreshes correctly after a focus/window lifecycle update.

Template check

  • I provided the required summary, behavior, reproduction, and environment details.
  • If this is a visual/UI bug, blank screen, layout issue, mobile/responsive issue, incorrect image or sprite, broken animation, or unexpected error state, I attached screenshots or video.
Originally created by @cha1latte on GitHub (May 22, 2026). Original GitHub issue: https://github.com/Pasta-Devs/Marinara-Engine/issues/1108 Originally assigned to: @cha1latte on GitHub. ## Summary Starting a new Game Mode session can briefly load old backgrounds from previous Game Mode games. ## Expected behavior A new Game Mode session should start with the correct current background state and should not show backgrounds from older Game Mode games. ## Actual behavior Old backgrounds from prior Game Mode games appear when starting a new game. The stale backgrounds disappear after deactivating the window and returning to Game Mode. ## Steps to reproduce 1. Use Marinara Engine on the latest staging build. 2. Run the app through Docker on a Raspberry Pi 4 and access it in Chrome over Tailscale. 3. Play or load a Game Mode game that uses backgrounds. 4. Start a new Game Mode game. 5. Observe that backgrounds from the older Game Mode game can load into the new session. 6. Deactivate the browser window, then return to Game Mode. 7. Observe that the stale backgrounds disappear after returning. ## Marinara Engine version Latest version / staging. ## Install type Docker. ## OS + version Raspberry Pi 4 environment; exact OS/version not specified. ## Browser or app shell Chrome over Tailscale. ## Screenshots or video Not provided. ## Logs Not specified. ## Additional context Reporter notes that deactivating the window and returning to Game Mode clears the stale background, which suggests the visible state refreshes correctly after a focus/window lifecycle update. ## Template check - [ ] I provided the required summary, behavior, reproduction, and environment details. - [ ] If this is a visual/UI bug, blank screen, layout issue, mobile/responsive issue, incorrect image or sprite, broken animation, or unexpected error state, I attached screenshots or video.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
Pasta-Devs/Marinara-Engine#549
No description provided.