[GH-ISSUE #1281] [Issue]: Game status bars shift left/right when a side context menu expands after being repositioned #628

Closed
opened 2026-10-20 17:30:56 +07:00 by bsakaguchi · 1 comment
Owner

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

Originally assigned to: @SpicyMarinara on GitHub.

Summary

In game mode, the logic governing status bar positioning is unclear. Once a
status bar has been moved from its bot-placed position (typically left or right)
to, for example, top-center, it constantly shifts back toward the left or right
whenever the left or right context menu (side panel) is expanded.

Expected behavior

A status bar the user has repositioned (e.g. to top-center) should stay where it
was placed, regardless of whether a left/right context menu is expanded or
collapsed.

Actual behavior

Expanding the left or right context menu causes the repositioned status bar to
shift left/right, away from where the user placed it.

Steps to reproduce

  1. In game mode, move a status bar from its default left/right position to
    top-center.
  2. Expand the left or right context menu / side panel.
  3. Observe the status bar shifts left/right instead of staying at top-center.

Impact area

  • App shell, navigation, startup, or providers
  • Catalog resources
  • Chat mode
  • Roleplay mode
  • Game mode
  • Shared mode UI
  • Runtime systems: generation, world-state, visuals, tracker, or haptics
  • Professor Mari or shell tools
  • React-free engine behavior, contracts, agents, or capability ports
  • Shared API wrapper or remote runtime routing
  • Tauri/Rust storage, assets, LLM, integrations, security, imports, or HTTP runtime
  • Docs, contributor workflow, or templates

Environment

  • Branch or commit: not provided
  • Run mode: not specified
  • OS + version: not specified
  • Node + pnpm versions: not provided
  • Rust version, if relevant: not provided
  • Remote Runtime URL configured? not specified
  • Provider, model, or integration, if relevant: not specified

Logs, screenshots, or video

None provided.

Regression notes

Not provided.

Additional context

Source: forum report by Krewetco (2-Star), 5/24/26 10:03 PM. One of four distinct
points in a single post; the others are filed separately.

Triage pointer (from a scan, not from the reporter): status/tracker panels use a
left/right anchor concept — trackerPanelSide with "Panel anchored left/right"
in src/features/runtime/tracker/components/TrackerSidebarHeader.tsx. The
repositioned status/stat bars appear to react to side-panel (context menu)
expansion. The exact owner of the user-repositionable game status bars and how
their position is recomputed when a side panel opens should be confirmed.

Template check

Please uncheck 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 @GetBeholder on GitHub (May 26, 2026). Original GitHub issue: https://github.com/Pasta-Devs/Marinara-Engine/issues/1281 Originally assigned to: @SpicyMarinara on GitHub. ## Summary In game mode, the logic governing status bar positioning is unclear. Once a status bar has been moved from its bot-placed position (typically left or right) to, for example, top-center, it constantly shifts back toward the left or right whenever the left or right context menu (side panel) is expanded. ## Expected behavior A status bar the user has repositioned (e.g. to top-center) should stay where it was placed, regardless of whether a left/right context menu is expanded or collapsed. ## Actual behavior Expanding the left or right context menu causes the repositioned status bar to shift left/right, away from where the user placed it. ## Steps to reproduce 1. In game mode, move a status bar from its default left/right position to top-center. 2. Expand the left or right context menu / side panel. 3. Observe the status bar shifts left/right instead of staying at top-center. ## Impact area - [ ] App shell, navigation, startup, or providers - [ ] Catalog resources - [ ] Chat mode - [ ] Roleplay mode - [x] Game mode - [ ] Shared mode UI - [x] Runtime systems: generation, world-state, visuals, tracker, or haptics - [ ] Professor Mari or shell tools - [ ] React-free engine behavior, contracts, agents, or capability ports - [ ] Shared API wrapper or remote runtime routing - [ ] Tauri/Rust storage, assets, LLM, integrations, security, imports, or HTTP runtime - [ ] Docs, contributor workflow, or templates ## Environment - Branch or commit: not provided - Run mode: not specified - OS + version: not specified - Node + pnpm versions: not provided - Rust version, if relevant: not provided - Remote Runtime URL configured? not specified - Provider, model, or integration, if relevant: not specified ## Logs, screenshots, or video None provided. ## Regression notes Not provided. ## Additional context Source: forum report by Krewetco (2-Star), 5/24/26 10:03 PM. One of four distinct points in a single post; the others are filed separately. Triage pointer (from a scan, not from the reporter): status/tracker panels use a left/right anchor concept — `trackerPanelSide` with "Panel anchored left/right" in `src/features/runtime/tracker/components/TrackerSidebarHeader.tsx`. The repositioned status/stat bars appear to react to side-panel (context menu) expansion. The exact owner of the user-repositionable game status bars and how their position is recomputed when a side panel opens should be confirmed. ## Template check Please uncheck 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:30:56 +07:00
  • closed this issue
  • added the
    client
    bug
    labels
Author
Owner

@SpicyMarinara commented on GitHub (May 27, 2026):

Fixed on refactor in 8058f66dd4: draggable game panels now store viewport anchors and restore them after parent layout changes, preventing status widgets from shifting when side menus expand. Validated with pnpm check.

<!-- gh-comment-id:4555720014 --> @SpicyMarinara commented on GitHub (May 27, 2026): Fixed on refactor in 8058f66dd4affb1e74e4bdbce3b7d4580554fb9b: draggable game panels now store viewport anchors and restore them after parent layout changes, preventing status widgets from shifting when side menus expand. Validated with pnpm check.
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#628
No description provided.