egui icon indicating copy to clipboard operation
egui copied to clipboard

eframe: Problems resizing native window

Open axdank opened this issue 3 years ago • 6 comments
trafficstars

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

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

axdank avatar May 11 '22 22:05 axdank

Tested on Arch Linux with Intel integrated graphics and the demo app runs perfectly. Maybe a Windows 11 issue?

newcomb-luke avatar May 12 '22 02:05 newcomb-luke

Works perfectly on my Windows 10 machine as well. NVIDIA graphics though, but I doubt that is the issue.

newcomb-luke avatar May 12 '22 03:05 newcomb-luke

I tested a project in WSL (Ubuntu 20.04) and it ran without problems, as for egui_demo_app, I have some problem with the version of opengl (GLSL), although visualizing everything is fine. I think Windows 11 is the problem.

image

image

axdank avatar May 12 '22 03:05 axdank

no problem W11 with R5 5500U integrated Radeon gfx. maybe it from nvidia or intel driver isuue ? you should include mesa with D3D12 backend.

KentaTheBugMaker avatar May 12 '22 06:05 KentaTheBugMaker

I think it is definitely a bug in the Intel UHD Graphics 630 driver in windows 11, I tried forcibly assigning egui_demo_app.exe (debug) to use the nvidia graphics card and it ran without problems. Today I ran the intel updater and installed the latest version of the driver, but it still didn't work.

gpu_bug

axdank avatar May 12 '22 14:05 axdank

I checkout latest example and run cargo run --bin custom_window_frame I can not close the window and can not change dark and light of the example custom_window_frame GUI. I use NVIDIA GeForce GTX 960 card don't know whether related issue?

skydig avatar May 14 '22 07:05 skydig