openframeworks / openframeworks/openFrameworks

mouseX/mouseY not updated when hovering over ofxPanel

Open
#3,707 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

addon regression
Dominant language
C++
Stars
10.4k
Forks
2.6k
Avg merge
1d 21h
Merged PRs (30d)
9

Description

if you create an ofxGui ofxPanel and move your mouse over it, the ofxPanel captures the mouse event somehow and the mouse position doesn't get updated via mouseX/mouseY.

however, the ofGetMouseX()/ofGetMouseY() still works, which makes me think this has to do with the multi-window features.

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

Start by reproducing the issue with an ofxGui ofxPanel and compare mouseX/mouseY with ofGetMouseX()/ofGetMouseY() while hovering over the panel. Trace the mouse-event and multi-window handling used by ofxPanel; done means mouseX and mouseY update consistently over the panel.

Written by the indexing model from the issue text.

Assessment

Tech stack
cpp
Domain
desktop
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.