emilk / emilk/egui

App window lags when dragged around the screen on Windows 10

Open
#3,953 2 comments 0 reactions 0 assignees View on GitHub
native-windows
Dominant language
Rust
Stars
30.6k
Forks
2.1k
Avg merge
1d 9h
Merged PRs (30d)
72

Description

Hi, I'm using **Windows 10** (I have **8GB** of **RAM** and **Intel i5**) and the _latest version of Rust, egui and eframe_ (I added them 5 minutes ago) and when I'm experiencing an issue that on I couldn't see on the [video](https://www.youtube.com/watch?v=NtUkr_z7l84).

Basically, when I `cargo run`, the window appears after 20 seconds of loading (I don't know if the wait is normal whenever I make a change on the code), when I drag the window it **lags** like there is a delay in frames.
You can see what happens in the video, I opened notepad and as you can see when I drag the window, it is smooth. Why does this happen with the rust one??

https://github.com/emilk/egui/assets/84017765/3c8fe878-f066-4a87-8bb5-5433f4e91589

(In the video is hard to see, but the eframe window is not smooth as the notepad one. And since I'm coding in Rust it's... Well odd.)

Contributor guide

Open the contributing guide

Research direction

Start by reproducing the reported behavior with the latest Rust, egui, and eframe on Windows 10, using the issue's video as the reference for dragging responsiveness. Compare the eframe window with Notepad and observe the reported 20-second cargo run delay; done means the lag is reproduced, its cause is identified, and the Windows behavior is corrected or the required limitation is documented.

Written by the indexing model from the issue text.

Assessment

Tech stack
rust
Domain
desktop, performance
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.