openframeworks / openframeworks/openFrameworks
iOS: touch coordinates wrong when started upside down
Nobody has claimed this yet.
- Dominant language
- C++
- Stars
- 10.4k
- Forks
- 2.6k
- Avg merge
- 1d 21h
- Merged PRs (30d)
- 9
Description
when starting an OF app on an upside-down iPad (home button at top), the touch coordinates are wrong. the iPad has to be physically rotated (triggering the accompanying rotation animation) for the coordinates to match screen position. OF-git 20230207, Xcode 14.2 / iOS 16.3.
#6965 discusses different related issues, but I'd like to stick this up as a circumscribed, actionable bug.
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 by reproducing the issue on an upside-down iPad using the reported openFrameworks, Xcode, and iOS versions, then trace the iOS touch-coordinate and orientation handling. Compare coordinates before and after the device is physically rotated. Done means touch coordinates match screen position immediately when the app starts upside down, without requiring a rotation animation.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- cpp, ios
- Domain
- mobile-dev
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100