emilk / emilk/egui

eframe: Problems resizing native window

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

Description

**Describe the Problem:**
When trying to run different projects with egui and its different versions, I get an unexpected problem, the window does not react when resizing or clicking, but if I close and run again, it appears as if I clicked.

**To Reproduce:**
1. Clone egui repository from github.
2. Execute: `cargo run --release -p egui_demo_app`.
3. Problem in the following gif

![2022-05-11 18-23-06_Trim](https://user-images.githubusercontent.com/55039048/167959258-895240c9-e4a7-43dd-a911-b58e5ebb2e42.gif)

**Expected behavior:**
Be able to execute any egui project.
I don't know how to solve this problem.

**Desktop:**
SO: Windows 11
Graphic cards: ( latest version of drivers )

![image](https://user-images.githubusercontent.com/55039048/167960314-17d620ff-5502-458c-92c3-bfe4feb8ba5a.png)

Contributor guide

Open the contributing guide

Research direction

Reproduce the issue on Windows 11 with `cargo run --release -p egui_demo_app` from the egui repository. Observe the attached resizing and click behavior, then trace the native-window event handling to identify why input appears delayed; done means the demo window responds immediately to resizing and clicks without restarting.

Written by the indexing model from the issue text.

Assessment

Tech stack
rust
Domain
desktop
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.