Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

5% cpu usage After sending ViewportCommand::Visible (false) #3902

Open
khassar00 opened this issue Jan 27, 2024 · 0 comments
Open

5% cpu usage After sending ViewportCommand::Visible (false) #3902

khassar00 opened this issue Jan 27, 2024 · 0 comments
Labels
bug Something is broken

Comments

@khassar00
Copy link

The following text was generated by automatic translation:
Describe the bug
If focus on the egui window,Continuously produces the following events after sending ViewportCommand::Visible (false).

winit event: NewEvents(Poll)
winit event: AboutToWait

The program has 5% usage in the background, On a Ryzen 5900x with 12 cores and 24 threads.
This does not happen if the window is not in focus or after it is minimized

Expected behavior
Same cpu usage as window minimization.

Desktop (please complete the following information):

  • OS: Windows 10 LTSC 19044.3693
  • Version: master
@khassar00 khassar00 added the bug Something is broken label Jan 27, 2024
khassar00 pushed a commit to khassar00/egui_fork that referenced this issue Apr 30, 2024
try to solve:emilk#3902.
Add Context::fonts_mut() to make it easier to modify fonts at runtime.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something is broken
Projects
None yet
1 participant