[GH-ISSUE #1048] [Issue]: Gacha Forge 1.8.5 — the "Landscape only" notice covers the Engine's own panels on a phone #537

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

Originally created by @SonaGat3 on GitHub (Sep 23, 2026).
Original GitHub issue: https://github.com/Pasta-Devs/Marinara-Agents/issues/1048

Originally assigned to: @SpicyMarinara on GitHub.

Summary

On a phone held upright, Gacha Forge's own "Landscape only" notice is drawn on top of Marinara
itself: with the game open, the Characters panel — and anything else the Engine opens over it —
cannot be reached or scrolled. A player reported it with a photo; it is a bug in this package, not
in the Engine.

Affected package

gacha-forge (the notice lives in the package's own shell stylesheet).

Expected behavior

The notice belongs to the game and should stay inside the game's own box. Opening an Engine panel
over Gacha Forge should cover the game, notice included, and the panel should be usable.

Actual behavior

The notice covers the whole screen below the Engine's tab row and takes every press with it. The
player's words: "On Firefox Mobile, I still see Gacha Forge block my access to other modes
(character view, etc.) with the Landscape warning."

It is not Firefox — the same thing reproduces in Chrome. Measured at 412×915 with a coarse pointer,
against the Engine's own panel (fixed, z-50, top = calc(env(safe-area-inset-top) + 3rem), from
AppShell.tsx), document.elementFromPoint in the middle of the screen returns
marinara-capability-gacha-forge, not the panel. Two separate causes, both of them assumptions this
package had written down as facts:

  • The notice is anchored to the VIEWPORT, not to the game. It hangs off the package's arena, and
    the arena was position: static. container-type: size does not make an element the
    containing block of an absolutely positioned descendant.
  • Its z-index: 70 outranks the panel's z-50. A shadow root does not isolate stacking by
    itself, so a z-index written inside the package competes in the host document's stacking context.

The game's own fullscreen button paints over the panel as well, which shows the notice was never a
special case.

This is the second time the notice has reached outside the package. The first time it covered the
Engine's navigation, and the fix was to start it env(safe-area-inset-top) + 3rem down the SCREEN —
the Engine's own constants, copied in because a package cannot import them. That treated the symptom
and only looked right because the Engine's bar happens to be exactly 3rem tall.

Steps to reproduce

  1. Open Marinara on a phone (or a desktop browser with touch emulation), portrait, and open Gacha
    Forge from the Home browser. The "Landscape only" notice appears, which is correct.
  2. Without rotating, open the Characters panel from the Engine's tab row.
  3. The panel opens behind the notice: its rows cannot be tapped or scrolled.

Environment

  • Marinara Engine version: 2.4.6 (staging)
  • Package version: 1.8.5 (the version currently in staging)
  • Install type: source
  • OS + version: Android (reporter) — also reproduced on Windows 11 with touch emulation
  • Browser or app shell: Firefox for Android (reporter); reproduced in Chrome 412×915, coarse pointer

Logs, screenshots, or video

The reporter's photo: the Characters panel visible but dimmed, with "LANDSCAPE ONLY" and "PLAY IN
LANDSCAPE" drawn over it.

Additional context

Fix, in the package's shell stylesheet: the arena declares the package's box twice —
position: relative, so everything absolute inside is contained by it, and isolation: isolate, so
no z-index the package writes can leave it — and the notice then measures against the arena
(inset: 0), which drops the two constants copied from the Engine's layout. Only the first
declaration is not enough: the notice stays inside the box and still paints over the panel.

The package's existing rule was "no sheet may declare position: fixed". It was necessary and not
sufficient; both new declarations are now checked by the package's own bench.

PR: branch SonaGat3:feature/gacha-forge-1.8.6 → Pasta-Devs:staging, one commit, 11 files, no art
and no server change.

Template check

Please uncheck (untick) the box below before submitting so we know you read the template. It is
intentionally pre-checked:

  • I DID NOT read this template and provide the requested details.
Originally created by @SonaGat3 on GitHub (Sep 23, 2026). Original GitHub issue: https://github.com/Pasta-Devs/Marinara-Agents/issues/1048 Originally assigned to: @SpicyMarinara on GitHub. ## Summary On a phone held upright, Gacha Forge's own "Landscape only" notice is drawn on top of Marinara itself: with the game open, the Characters panel — and anything else the Engine opens over it — cannot be reached or scrolled. A player reported it with a photo; it is a bug in this package, not in the Engine. ## Affected package `gacha-forge` (the notice lives in the package's own shell stylesheet). ## Expected behavior The notice belongs to the game and should stay inside the game's own box. Opening an Engine panel over Gacha Forge should cover the game, notice included, and the panel should be usable. ## Actual behavior The notice covers the whole screen below the Engine's tab row and takes every press with it. The player's words: *"On Firefox Mobile, I still see Gacha Forge block my access to other modes (character view, etc.) with the Landscape warning."* It is not Firefox — the same thing reproduces in Chrome. Measured at 412×915 with a coarse pointer, against the Engine's own panel (`fixed`, `z-50`, `top = calc(env(safe-area-inset-top) + 3rem)`, from `AppShell.tsx`), `document.elementFromPoint` in the middle of the screen returns `marinara-capability-gacha-forge`, not the panel. Two separate causes, both of them assumptions this package had written down as facts: - **The notice is anchored to the VIEWPORT, not to the game.** It hangs off the package's arena, and the arena was `position: static`. `container-type: size` does **not** make an element the containing block of an absolutely positioned descendant. - **Its `z-index: 70` outranks the panel's `z-50`.** A shadow root does not isolate stacking by itself, so a z-index written inside the package competes in the host document's stacking context. The game's own fullscreen button paints over the panel as well, which shows the notice was never a special case. This is the second time the notice has reached outside the package. The first time it covered the Engine's navigation, and the fix was to start it `env(safe-area-inset-top) + 3rem` down the SCREEN — the Engine's own constants, copied in because a package cannot import them. That treated the symptom and only looked right because the Engine's bar happens to be exactly 3rem tall. ## Steps to reproduce 1. Open Marinara on a phone (or a desktop browser with touch emulation), portrait, and open Gacha Forge from the Home browser. The "Landscape only" notice appears, which is correct. 2. Without rotating, open the Characters panel from the Engine's tab row. 3. The panel opens behind the notice: its rows cannot be tapped or scrolled. ## Environment - Marinara Engine version: 2.4.6 (`staging`) - Package version: 1.8.5 (the version currently in `staging`) - Install type: source - OS + version: Android (reporter) — also reproduced on Windows 11 with touch emulation - Browser or app shell: Firefox for Android (reporter); reproduced in Chrome 412×915, coarse pointer ## Logs, screenshots, or video The reporter's photo: the Characters panel visible but dimmed, with "LANDSCAPE ONLY" and "PLAY IN LANDSCAPE" drawn over it. ## Additional context Fix, in the package's shell stylesheet: the arena declares the package's box twice — `position: relative`, so everything absolute inside is contained by it, and `isolation: isolate`, so no z-index the package writes can leave it — and the notice then measures against the arena (`inset: 0`), which drops the two constants copied from the Engine's layout. Only the first declaration is not enough: the notice stays inside the box and still paints over the panel. The package's existing rule was "no sheet may declare `position: fixed`". It was necessary and not sufficient; both new declarations are now checked by the package's own bench. PR: branch `SonaGat3:feature/gacha-forge-1.8.6` → `Pasta-Devs:staging`, one commit, 11 files, no art and no server change. ## Template check Please **uncheck (untick)** the box below before submitting so we know you read the template. It is intentionally pre-checked: - [ ] I DID NOT read this template and provide the requested details.
bsakaguchi 2026-10-20 17:28:24 +07:00
  • closed this issue
  • added the
    bug
    label
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-Agents#537
No description provided.