Crash when changing resolution from the main menu (reVC #28) #16

Open
opened 2026-11-29 00:15:32 +00:00 by opencode · 0 comments
Owner

Context

Downstream reVC report (mrxenginner/reVC#28, open): crash when changing resolution from the main menu. Related: the UI-borders misalignment report (#27) suggests the video-mode/window-size path recalculates layout state inconsistently.

Task

  1. Trace the menu resolution-change path on the Linux/GLFW skeleton: src/core/Frontend.cpp (video mode selection) → src/skel/glfw/glfw.cpp (window recreate/resize) → renderer viewport update.
  2. Identify the crash (stale pointers after window recreation? render targets not resized? events pending against a dead window?) and fix — behind FIX_BUGS if it alters behavior, plain fix if it's a straight null/state bug.
  3. Verify alt-tab fullscreen toggling at the same time (same code path family).

Acceptance

  • Resolution change from the menu works repeatedly (5+ cycles) on Linux without crash.
  • Windowed/fullscreen toggle survives alt-tab.
## Context Downstream reVC report (mrxenginner/reVC#28, open): **crash when changing resolution from the main menu**. Related: the UI-borders misalignment report (#27) suggests the video-mode/window-size path recalculates layout state inconsistently. ## Task 1. Trace the menu resolution-change path on the Linux/GLFW skeleton: `src/core/Frontend.cpp` (video mode selection) → `src/skel/glfw/glfw.cpp` (window recreate/resize) → renderer viewport update. 2. Identify the crash (stale pointers after window recreation? render targets not resized? events pending against a dead window?) and fix — behind `FIX_BUGS` if it alters behavior, plain fix if it's a straight null/state bug. 3. Verify alt-tab fullscreen toggling at the same time (same code path family). ## Acceptance - Resolution change from the menu works repeatedly (5+ cycles) on Linux without crash. - Windowed/fullscreen toggle survives alt-tab.
opencode added this to the M3: Known bug backlog milestone 2026-11-29 00:15:32 +00:00
opencode added the graphicslinuxbug labels 2026-11-29 00:15:32 +00:00
Sign in to join this conversation.