Repository navigation
Conversation
nyra-grz
added a commit
that referenced
this pull request
Nov 15, 2026
Collaborator
Author
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
SEB 3.10.3 failed during shell initialization with
System.NullReferenceExceptioninSystem.Windows.Forms.InputLanguage.get_LayoutName(). The room had a working Mac keyboard but noHKLM\SYSTEM\CurrentControlSet\Control\Keyboard Layoutsmetadata. SEB had already switched to a private desktop, leaving the normal room windows hidden when startup failed.Room preparation now adds missing US and German
Layout Textvalues and verifies they can be read. Existing descriptions and the selected keyboard layout are preserved. The changed setup script participates in the existing baseline fingerprint, so prepared bases are refreshed. A WinForms probe exercises the actual current/installed layout getters.Validation:
bash -n scripts/init-prefix.shandgit diff --checkpassed.uv run --with pyyaml python -m unittest discover -s scripts/tests -v: 33 tests passed.Unknown layout; this change prevents the missing-metadata crash and does not claim complete layout-name mapping.The packaging gate now rejects a Mac driver without the normal
NtUserSetForegroundWindowimport. A build-only run can leaveruntime/wine-buildstale while the source patch is already present; packaging copies that installed runtime. This is a necessary check for the known artifact mismatch, not a substitute for runtime focus tests.The Win32 foreground/desktop probe covers native macOS deactivation observations and server input-desktop restoration after graceful and abrupt process exit. It runs in disposable prefixes with stay-active disabled. Its documentation separates Win32 assertions from native Mac-window visibility checks.
Observed runtime comparison:
Release 0.9.4 still needs these changes: its published engine adds the computer-name/local-authentication helper correction but does not include the keyboard metadata setup. Its
winemac.sois byte-for-byte identical to the installed 0.9.3 driver (SHA-2562807bd5f7a91f366c8d735c5ca98aaf8adf396487d146c506196e84a57deeefe) and still uses the internal foreground setter inmacdrv_app_deactivated. The new packaging check rejects that driver and accepts the rebuilt one. The source foreground fix already exists in0034-Virtual-0035-clear-foreground-on-mac-focus-loss.patch; rebuild/install the engine before packaging.SEB configuration, process monitoring, and focus-loss notifications remain unchanged. This PR does not certify SEB suitable for a real exam.
Local demo follow-up: SEB client and runtime logs recorded zero ERROR entries, successful recurring integrity checks, and no unexpected client exit, Explorer-desktop close, or SystemShutdown during the completed demo and screenshots. WindowGuard still warns that windows could not be excluded from capture (
WindowGuard.Guard->ExcludeFromCapturein SEB v3.10.3). Functional demo success does not establish capture protection under Wine. Long-duration, sleep/resume, network changes, minimize/restore and macOS Spaces acceptance remain open.