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

Window.FocusChanged inconsistent behaviour on different OS #1156

Open
Beyley opened this issue Nov 22, 2022 · 4 comments
Open

Window.FocusChanged inconsistent behaviour on different OS #1156

Beyley opened this issue Nov 22, 2022 · 4 comments
Labels
area-Windowing bug Something isn't working upstream
Milestone

Comments

@Beyley
Copy link
Contributor

Beyley commented Nov 22, 2022

Summary

Window.FocusChanged is raised to true on window startup on linux, but not on windows, on windows the event is not called to true until you deselect then select the window

Steps to reproduce

  • Platform: Desktop
  • Framework Version: net7 (RID being specifically net7.0-windows)
  • API: DX11
  1. First I launched the app
  2. Then I printed the output of the event

Comments

Not sure whether this is a problem upstream or not (probably is?), or whether its correct to always send a focus event on app start

@Beyley Beyley added the bug Something isn't working label Nov 22, 2022
@Perksey
Copy link
Member

Perksey commented Nov 22, 2022

Yeah this is defo an upstreamer.

@Beyley
Copy link
Contributor Author

Beyley commented Nov 22, 2022

Yeah this is defo an upstreamer.

in that case ill try to repro in C with GLFW and SDL later, then open relavent issue in their repos

@Beyley
Copy link
Contributor Author

Beyley commented Nov 24, 2022

confirmed to happen with raw GLFW using this gist, reporting upstream https://gist.github.com/Beyley/ff40ea7c245e4ff1541cce660802ef56

@Beyley
Copy link
Contributor Author

Beyley commented Nov 24, 2022

Keeping this issue open incase something blocks upstream and we have to fix it ourselves
upstream tracking: glfw/glfw#2223

@Perksey Perksey added this to the 3.0 milestone Dec 18, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area-Windowing bug Something isn't working upstream
Projects
None yet
Development

No branches or pull requests

2 participants