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

App hangs and Error message due to Windows API change #935

Open
HunterMSFT opened this issue Jul 11, 2024 · 6 comments
Open

App hangs and Error message due to Windows API change #935

HunterMSFT opened this issue Jul 11, 2024 · 6 comments
Assignees
Labels
stale This issue had no recent activity and will thus soon be closed.

Comments

@HunterMSFT
Copy link

[!IMPORTANT]

Describe the Bug
Windows now requires location permissions in order to access Wi-Fi scan APIs. This change appears to impact Safe Exam Browser, which is throwing an error when it cannot access these APIs. There are details about this change and the actions an app should take here:
https://learn.microsoft.com/en-us/windows/win32/nativewifi/wi-fi-access-location-changes

Steps to Reproduce
Steps to reproduce the behavior:
1. Install any Windows Insider build
2. Turn off location in Settings>privacy & security> Location
4. Launch Safe Exam Browser
5. Observe "Fails to launch the app with "Session start error" post upgrade"

Expected Behavior
Safe Exam Browser should handle the case where location permission is not granted, and not throw an error.

Screenshots
image
REPRO_Start_Error_logs.zip

Version Information

  • OS: Windows 11 24H2
  • SEB-Version 3.7.1, maybe others

Additional Context
This change has been in Windows Insider builds since October 2023 https://blogs.windows.com/windows-insider/2023/10/18/announcing-windows-11-insider-preview-build-25977-canary-channel/

@dbuechel
Copy link
Member

dbuechel commented Jul 12, 2024

Thanks for the report. I actually already stumbled upon the change by mere coincidence while reading the above linked documentation as I was rewriting the network adapter for the upcoming release version 3.8.0. The issue should thus hopefully be resolved, as the new implementation explicitly requests access as is recommend due to the changes.

Could you please try the latest beta build for SEB 3.8.0 to verify that it works as intended? The direct link to the current build is https://sebdev.ethz.ch/api/buildjobs/g3txpgcyf7aav1ol/artifacts/SEB_3.8.0.711_SetupBundle.exe.

@dbuechel dbuechel added the information required This issue lacks information or requires feedback. label Jul 12, 2024
@HunterMSFT
Copy link
Author

That is great, we will test with the new app version and see if the issue persists. Thanks!

@dbuechel
Copy link
Member

Excellent, that would be great, thanks as well.

@HunterMSFT
Copy link
Author

We've confirmed that the issue no longer occurs in the latest beta version of the app 3.8.0.711

@dbuechel
Copy link
Member

Great, thanks for the testing and feedback. It should actually work as is recommended in the documentation linked above, in that SEB asks for the required location permission and then acts accordingly.

@dbuechel dbuechel removed the information required This issue lacks information or requires feedback. label Jul 16, 2024
Copy link

This issue is stale because it has been open for 28 days with no activity. It will soon be closed automatically if there are no updates.

@github-actions github-actions bot added the stale This issue had no recent activity and will thus soon be closed. label Aug 14, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
stale This issue had no recent activity and will thus soon be closed.
Projects
None yet
Development

No branches or pull requests

2 participants