SafeExamBrowser / seb-win-refactoring

Safe Exam Browser for Windows.
https://www.safeexambrowser.org/news_en.html
Mozilla Public License 2.0
180 stars 121 forks source link

Crash in lockdown mode when tab-navigating over the end of the page #822

Closed Lampe2020 closed 6 months ago

Lampe2020 commented 6 months ago

Describe the Bug When I'm in an exam in lockdown mode (no task bar and the window is in fullscreen) and navigate with the tab key it works fine, but when I press tab while on the last input on the page SEB freezes and then crashes.

Steps to Reproduce Steps to reproduce the behavior:

  1. Go into a safe exam which has an input form at the end (e.g. a text where you have to enter single words into blanks)
  2. Click on the last input element
  3. press tab
  4. See error

Expected Behavior Nothing should happen or the focus should roll over to the first focusable element on the page.

Version Information

Additional Context These are the logs from the session in question:

I think the error occurs because SEB tries to focus its own task bar when tabbing over the end of the page, but in lockdown mode that doesn't exist and thus SEB crashes. Why do I think that? I started SEB manually (so it wasn't in full lockdown) and tabbing over the end of the page then focused elements in the SEB task bar.

dbuechel commented 6 months ago

This issue has already been fixed with version 3.5.0, see https://github.com/SafeExamBrowser/seb-win-refactoring/issues/490 and https://github.com/SafeExamBrowser/seb-win-refactoring/releases/tag/v3.5.0.