magic-context icon indicating copy to clipboard operation
magic-context copied to clipboard

dashboard not work on windows

Open gabszap opened this issue 5 months ago • 1 comments

Short description

dashbord just flashes and dont open

What happened?

As the title says, the dashboard simply won't open; it just shows a blank screen for a moment and then closes immediately

Diagnostics


Plugin version

0.23.0

OpenCode version

1.17.3

Platform

windows 11

Client

OpenCode TUI (CLI)

Log output (optional)


gabszap avatar Jun 11 '26 19:06 gabszap

Couldn't reproduce this on our Windows test machine — the dashboard opens normally — so we need a bit more from your environment to pin it down.

A flash-then-exit on Windows is most commonly a missing or corrupted WebView2 Runtime (the system component Windows apps use to render web UIs; if its registry entry exists but the files are gone — which a failed Edge update can cause — apps exit silently exactly like you describe). Could you run these in PowerShell and paste the output?

# 1. Is the WebView2 runtime actually installed and intact?
$ver = (Get-ItemProperty "HKLM:\SOFTWARE\WOW6432Node\Microsoft\EdgeUpdate\Clients\{F3017226-FE2A-4295-8BDF-00C3A9A7E4C5}" -ErrorAction SilentlyContinue).pv
"registry version: $ver"
Test-Path "C:\Program Files (x86)\Microsoft\EdgeWebView\Application\$ver"

# 2. Any crash details Windows recorded for the dashboard?
Get-WinEvent -FilterHashtable @{LogName='Application'; Id=1000,1026} -MaxEvents 30 |
  Where-Object { $_.Message -match 'magic-context|dashboard' } |
  Format-List TimeCreated, Message

Also useful:

  • Are you on Windows 11 ARM or x64? (Settings → System → About → System type)
  • Did you install via the .exe (NSIS) or .msi?
  • Does it behave differently if you right-click → Run as administrator? (Don't keep using it that way — just a data point.)

If line 1 shows a version but Test-Path says False, that's the known corrupted-runtime state: delete that registry key and reinstall WebView2 from https://go.microsoft.com/fwlink/p/?LinkId=2124703 — the dashboard should open normally afterwards.

alfonso-magic-context avatar Jun 12 '26 11:06 alfonso-magic-context