rust-windowing / rust-windowing/winit

Hidden cursor appears if the "shake mouse pointer to locate" feature is enabled on macOS.

Open
#3,452 0 comments 1 reaction 0 assignees View on GitHub

Nobody has claimed this yet.

B - bug D - easy DS - appkit
Dominant language
Rust
Stars
6.2k
Forks
1.3k
Avg merge
2d 19h
Merged PRs (30d)
9

Description

I found the cursor hidden by set_cursor_visible(false) can appear by shaking mouse. It would be caused by the "shake mouse pointer to locate" feature I enable. (This Q&A might be a hint to fix it?)

I tested winit v0.29.10 on macOS 11.

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 on macOS 11 with winit v0.29.10: call set_cursor_visible(false), then enable macOS’s “shake mouse pointer to locate” feature and shake the mouse. Read the linked Apple documentation and Stack Overflow Q&A for the relevant platform behavior. Done means a hidden cursor stays hidden when the feature is enabled.

Written by the indexing model from the issue text.

Assessment

Tech stack
macos, rust
Domain
desktop, operating-systems
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.