Immediate-Mode-UI / Immediate-Mode-UI/Nuklear

Overlapped windows or controls are processed.

Open
#250 2 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
C
Stars
11.4k
Forks
686
Avg merge
4d 1h
Merged PRs (30d)
3

Description

First of all, thank you for this great library.

Now to the issue.
~~When two controls overlap, e.g. an expanded combobox overlaps other controls with its panel.
Now I select an element from the ComboBox.
By clicking, the underlying control automatically receives the focus and is processed accordingly.
A button is clicked unintentionally. A checkbox is activated/deactivated.~~
The same happens when two windows overlap and the Close button of both windows are on top of each other.
If I press the Close button there, both windows may be closed.
Depending on which window is processed first.

Is there a solution for this?

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

The issue names no source files, tests, or entry points. Reproduce the problem with overlapping controls and windows, then trace how clicks and focus are processed to identify why both underlying elements receive the event. Done means only the topmost control or window responds to a click.

Written by the indexing model from the issue text.

Assessment

Tech stack
c
Domain
desktop
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.