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

Silk.Net 2.21 window is stuck after minimizing #2240

Open
Arugin opened this issue Jul 2, 2024 · 6 comments
Open

Silk.Net 2.21 window is stuck after minimizing #2240

Arugin opened this issue Jul 2, 2024 · 6 comments
Labels
bug Something isn't working

Comments

@Arugin
Copy link

Arugin commented Jul 2, 2024

Summary

Window is stuck right after minimizing. Everything works as expected in 2.20

Steps to reproduce

  • Platform: Windows
  • Framework Version: .NET 7
  • API: Vulkan
  1. Get the sample https://github.com/dotnet/Silk.NET/tree/main/src/Lab/Experiments/ImGuiVulkan
  2. Update to SIlk.Net 2.21
  3. Run the sample
  4. Minimize the window
  5. Now it stuck and won't expand back

Comments

If you set the version of Silk.Net and all other libraries to 2.20 everything works as expected.

Probably releated to recent changes of resize?

@Arugin Arugin added the bug Something isn't working label Jul 2, 2024
@qian-o
Copy link

qian-o commented Jul 4, 2024

I have encountered this problem before, where I got stuck in an infinite loop while refactoring the swap chain. This may be related to thread scheduling.

@Arugin
Copy link
Author

Arugin commented Jul 9, 2024

I am not sure about thread scheduling, this issue is reproduced on a simple vulkan imgui sample from Silk.NET repo which is single threaded.

@Perksey
Copy link
Member

Perksey commented Jul 27, 2024

Is there a minimal repro for this?

@Arugin
Copy link
Author

Arugin commented Jul 27, 2024

Yes, as I mentioned in the issue description, it reproduces on Imgui Vulkan sample from this repo: https://github.com/dotnet/Silk.NET/tree/main/src/Lab/Experiments/ImGuiVulkan

@Arugin
Copy link
Author

Arugin commented Sep 5, 2024

@Perksey hey, did you reproduce this issue? I can prepare reproducable project, if this will help.

@Perksey
Copy link
Member

Perksey commented Sep 5, 2024

My Windows PC isn't built atm, I can give it a go soon.

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
Status: Todo
Development

No branches or pull requests

3 participants