Cursor misaligns when display scaling is changed
Open
Nobody has claimed this yet.
🐛 Type: Bug
- Dominant language
- TypeScript
- Stars
- 44.7k
- Forks
- 3.6k
- Avg merge
- 21m
- Merged PRs (30d)
- 1
Description
- I am on the latest Hyper.app version
- I have searched the issues of this repo and believe that this is not a duplicate
- OS version and name: MacOS Mojave 10.14.5
- Hyper.app version: 3.0.2 (stable)
- Link of a Gist with the contents of your .hyper.js: https://gist.github.com/jakubka/7b08efc99a92845433e52e84a95a538c
- Relevant information from devtools (CMD+ALT+I on macOS, CTRL+SHIFT+I elsewhere): N/A
- The issue is reproducible in vanilla Hyper.app: Yes, I don't have any plugins and I am using default .hyper.js config
Issue
When display scaling is changed on a Mac, the cursor is no longer where it should be.
Display scaling settings can be found in System Preferences -> Display -> Display tab -> Resolution: scaled.
This screencast will explain it better:

Notes:
- this only happens with webgl renderer
- it breaks even when the hyper app isn't open
- restarting hyper or even the whole mac doesn't fix it
Contributor guide
No contributing guide indexed for this repository
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
The issue names no source file or test; first reproduce it in Hyper's WebGL renderer by changing macOS display scaling, then locate the cursor coordinate-handling entry point. Done means the cursor remains aligned after scaling changes, including when Hyper is restarted.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- macos, typescript
- Domain
- computer-graphics, desktop
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100