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

Only one viewport will update at a time with puffin_egui on Windows 10 #232

Open
Gonkalbell opened this issue Sep 2, 2024 · 0 comments
Open
Labels
bug Something isn't working

Comments

@Gonkalbell
Copy link

Describe the bug
The separate native window that appears if I use puffin_egui::show_viewport_if_enabled will only update when it's focused. And if it is focused, my main window won't update. So it seems like only one window will update at a time, unless I am clicking and dragging one of the windows.

To Reproduce
run the eframe example with cargo run --example eframe
click the checkboxes for both "Show profiler window" and "Keep repainting this window"

Expected behavior
Both windows should be updating and animating at the same time, even while I am not clicking anything

Video
here's a video I recorded of what's going on:
2024-09-02 14-02-01.webm

Device:

  • OS: Windows 10 Enterprise
  • Version: 22H2

Additional context
This is very likely an underlying issue with egui or with winit itself, but I first noticed it in this crate. Should I close this bug, and report it to one of the upstream dependencies?

@Gonkalbell Gonkalbell added the bug Something isn't working label Sep 2, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant