emilk / egui

egui: an easy-to-use immediate mode GUI in Rust that runs on both web and native
https://www.egui.rs/
Apache License 2.0
21.76k stars 1.57k forks source link

Window movement is broken on macOS on latest master #4977

Open polina4096 opened 1 month ago

polina4096 commented 1 month ago

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):

emilk commented 3 weeks ago

I fail to reproduce on my mac. Maybe a winit bug?

polina4096 commented 3 weeks ago

Not sure, it might be. Tested once again on the now latest master and still having the same problem.