openai / openai/codex

Collapsing a parent folder hides its child folders one by one

Open
#38,374 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

app bug
Dominant language
Rust
Stars
125k
Forks
19.5k
PR merge metrics
PR metrics pending

Description

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

26.803.81509

What subscription do you have?

Plus

What platform is your computer?

Linux 7.1.8-100.fc43.x86_64 x86_64

What issue are you seeing?

When trying to collapse a top-level folder, such as apps, the folder does not collapse immediately.

Instead, each click collapses one of its nested items progressively:

On the first click, the sibling folders api, ui-gallery, and web are hidden.
Subsequent clicks start collapsing the expanded folders nested inside public.
Only after all nested folders have been collapsed does the apps folder itself collapse.

Image
What steps can reproduce the bug?
  1. Open a folder tree
  2. Collapse the main folder
What is the expected behavior?

Clicking the toggle for apps should collapse the apps folder immediately, without changing the expanded/collapsed state of its child folders individually.

Additional information
  • The toggle appears to propagate through the folder tree, collapsing child folders one by one before collapsing the selected parent folder. Or, just collapse the target folder.
  • Using Codex through ChatGPT App in Linux

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 the issue by opening a folder tree in the Codex App on Linux and repeatedly toggling an expanded parent folder. Trace the folder-tree toggle entry point and determine why child expansion state changes before the selected parent collapses. Done means one toggle immediately hides the parent contents without changing child folders one by one, with regression coverage if the existing area has tests.

Written by the indexing model from the issue text.

Assessment

Tech stack
rust
Domain
desktop-dev, frontend
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Quiet
Clarity
Clearly specified
Newbie friendliness
62/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.