emilk / emilk/egui

Window movement is broken on macOS on latest master

Open
#4,977 2 comments 0 reactions 0 assignees View on GitHub
bug egui-winit
Dominant language
Rust
Stars
30.6k
Forks
2.1k
Avg merge
1d 9h
Merged PRs (30d)
72

Description

**Describe the bug**
Window moves faster than the cursor grabbing it. This results in a cursor being offset from the initial grab position.

**To Reproduce**
Steps to reproduce the behavior:
1. Compile demo on the latest master on macOS
2. Grab a window
3. Move it a bit
4. See a position desync between the cursor and the window

**Expected behavior**
The window should exactly follow the cursor.

**Screenshots**
https://github.com/user-attachments/assets/7ec3d599-c97b-446c-b2a4-a3a85367fbe6

**Desktop (please complete the following information):**
- OS: macOS
- Version: latest beta

Contributor guide

Open the contributing guide

Research direction

Start by compiling the demo on macOS using the latest master and reproduce the cursor/window position desync described in the report. Trace the window movement path from the demo while dragging, then verify that the window follows the cursor exactly without an offset.

Written by the indexing model from the issue text.

Assessment

Tech stack
rust
Domain
desktop
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.