openai / openai/codex

[Windows] Clicking a generated image shows "hs.setProgressBar is not a function"

Open
#41,178 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

app bug imagen windows-os
Dominant language
Rust
Stars
125k
Forks
19.4k
PR merge metrics
PR metrics pending

Description

What version of the Codex App are you using (From “About Codex” dialog)?

26.820.9563.0

What subscription do you have?

gpt go

What platform is your computer?

OS: Windows Codex desktop app version: 26.820.9563.0 Installation: Microsoft Store / Windows packaged app Model: [luna] Reproducible: Every time when clicking the generated image

What issue are you seeing?

A JavaScript error occurred in the main process

Uncaught Exception:
TypeError: hs.setProgressBar is not a function
    at DownloadItem.<anonymous> (...)
    at DownloadItem.emit (node:events:508:28)

<img width="694" height="229" alt="Image" src="https://github.com/user-attachments/assets/c3c66eb8-6864-417a-975f-127c1156ef37" />

### What steps can reproduce the bug?

1. Open the Codex desktop app on Windows. 2. Generate an image in a chat. 3. Click the generated image or its download action. 4. An error dialog appears. 

### What is the expected behavior?

The image should open or download normally.

### Additional information

The image generation itself succeeds. The error occurs only when trying to open or download the generated image.
Screenshot attached.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Reproduce on the Windows packaged app by generating an image and clicking it or its download action. Trace the main-process DownloadItem handler shown in the stack trace and the hs.setProgressBar call; done means the image opens or downloads normally without the error dialog.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript
Domain
desktop
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Active
Clarity
Mostly clear
Newbie friendliness
62/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.