Immediate-Mode-UI / Immediate-Mode-UI/Nuklear
Cannot unhide window
Nobody has claimed this yet.
- Dominant language
- C
- Stars
- 11.4k
- Forks
- 686
- Avg merge
- 4d 1h
- Merged PRs (30d)
- 3
Description
Hello
```d
static int flags = NK_WINDOW_TITLE | NK_WINDOW_MOVABLE | NK_WINDOW_HIDDEN;
if (nk_begin(ctx, "Win 1", nk_rect(50, 50, 200, 200), NK_WINDOW_TITLE | NK_WINDOW_MOVABLE))
{
nk_layout_row_dynamic(ctx, 30, 1);
if (nk_button_label(ctx, `Show`))
flags &= ~NK_WINDOW_HIDDEN;
}
nk_end(ctx);
nk_begin(ctx, "Win 2", nk_rect(50, 50, 200, 200), flags);
nk_end(ctx);
```
After pressing button `Show` Win 2 does not appear, while should
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start at the nk_begin calls in the reproduction and trace how NK_WINDOW_HIDDEN is handled between frames. Verify the flag change after pressing Show, then confirm that Win 2 becomes visible while retaining its title and movable behavior.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- c
- Domain
- desktop
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Quiet
- Clarity
- Mostly clear
- Newbie friendliness
- 68/100