bug(web/desktop): Opencode desktop windows getting getComputedStyles error on first message #6858

Closed
opened 2026-02-16 18:05:27 -05:00 by yindo · 3 comments
Owner

Originally created by @ShpetimA on GitHub (Jan 19, 2026).

Originally assigned to: @adamdotdevin on GitHub.

Description

Whenever you create a new session on Windows and type in the first message we get this error message popping up on windows

Image

Plugins

No response

OpenCode version

No response

Steps to reproduce

No response

Screenshot and/or share link

I found this on a coworkers windows pc. I don't have a windows pc it was found on a coworkers.
But I ran a debug session with OC you might find helpful to check out the findings:
https://opncd.ai/share/7BPjGRKQ

Operating System

Windows 11

Terminal

No response

Originally created by @ShpetimA on GitHub (Jan 19, 2026). Originally assigned to: @adamdotdevin on GitHub. ### Description Whenever you create a new session on Windows and type in the first message we get this error message popping up on windows <img width="923" height="419" alt="Image" src="https://github.com/user-attachments/assets/9f1f816e-dd6d-4746-a496-dcfa8c64d81a" /> ### Plugins _No response_ ### OpenCode version _No response_ ### Steps to reproduce _No response_ ### Screenshot and/or share link I found this on a coworkers windows pc. I don't have a windows pc it was found on a coworkers. But I ran a debug session with **OC** you might find helpful to check out the findings: https://opncd.ai/share/7BPjGRKQ ### Operating System Windows 11 ### Terminal _No response_
yindo added the windowsbugweb labels 2026-02-16 18:05:27 -05:00
yindo closed this issue 2026-02-16 18:05:27 -05:00
Author
Owner

@github-actions[bot] commented on GitHub (Jan 19, 2026):

This issue might be a duplicate of existing issues. Please check:

  • #8666: windows app 1.1.21 TypeError: Failed to execute 'getComputedStyle' on 'Window': parameter 1 is not of type 'Element'.
  • #9215: error Window.getComputedStyle

Both issues report similar getComputedStyle errors that occur when elements are not properly initialized during rendering. Feel free to ignore if your specific case is different.

@github-actions[bot] commented on GitHub (Jan 19, 2026): This issue might be a duplicate of existing issues. Please check: - #8666: windows app 1.1.21 TypeError: Failed to execute 'getComputedStyle' on 'Window': parameter 1 is not of type 'Element'. - #9215: error Window.getComputedStyle Both issues report similar getComputedStyle errors that occur when elements are not properly initialized during rendering. Feel free to ignore if your specific case is different.
Author
Owner

@ProdigyRahul commented on GitHub (Jan 19, 2026):

just reload the app by right clicking on the app after writing prompt. its fixed but we've not shipped it yet. will be live in next client version. thank you!

@ProdigyRahul commented on GitHub (Jan 19, 2026): just reload the app by right clicking on the app after writing prompt. its fixed but we've not shipped it yet. will be live in next client version. thank you!
Author
Owner

@ShpetimA commented on GitHub (Jan 19, 2026):

ill close the issue then @ProdigyRahul I knew of reloading fixing it just didn't see a simliar issue but i guess wasnt poping up in search. It was on a coworkers pc I don't use windows :)

@ShpetimA commented on GitHub (Jan 19, 2026): ill close the issue then @ProdigyRahul I knew of reloading fixing it just didn't see a simliar issue but i guess wasnt poping up in search. It was on a coworkers pc I don't use windows :)
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: anomalyco/opencode#6858