Context menu only triggered by the first response in a BitOrAssign
- Dominant language
- Rust
- Stars
- 30.6k
- Forks
- 2.1k
- Avg merge
- 1d 9h
- Merged PRs (30d)
- 72
Description
**Describe the bug**
I did a little more digging into my issue: #1959
I created a widget based on the bezier curve and tried to add the context_menu interaction to it, but it seems to be only triggered by the first reponse of the BitOrAssign operation.
`clicked()` and `secondary_clicked()` are triggered but the context menu isn't as you can see on the gif below.
I also checked with master and the bug seems to be still present.
**To Reproduce**
Steps to reproduce the behavior:
The repo to reproduce the bug can be found [here](https://github.com/Stygmates/egui_bezier)
**Expected behavior**
The context menu should open on every part of the bezier curve.
**Screenshots**

**Desktop (please complete the following information):**
- OS: Ubuntu 22.04
- Browser: Not applicable
- Version: Not applicable
**Additional context**
Contributor guide
Research direction
Start by reproducing the issue in the linked egui_bezier repository, using the context_menu interaction on multiple parts of the Bezier curve and checking the BitOrAssign behavior. Trace how context_menu differs from clicked() and secondary_clicked(); done means the context menu opens on every part of the curve, not only the first response.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- rust
- Domain
- frontend
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100