feat(setup): --capture renders every setup stage, uninstall plan and Arabic layout

The installer had no screenshot mode, so CI could not review its stages. Titano.Setup.exe --capture <dir>
builds a small sample installer in a temporary folder and renders install options, programs running,
installing, installed, failed and uninstall with the "Remove my data" plan, in the dark and light themes and
in Arabic (mirrored). Nothing is installed, removed or registered.

Also: uploader smoke tests (names, focusable rows, no premature errors, right-to-left islands), and watch
chips cap the path itself because the button template measures content without a width limit.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_012iLMBNwBE2GnphAsu4cjaC
This commit is contained in:
Claude committed 2026-10-03 17:20:42 +00:00
1 parent 1187c36d66
commit 39627b3f4a
6 files changed
+415 -6

No files matched your search

+5 -3
View File
@@ -147,8 +147,9 @@ public sealed partial class MainWindow : TitanoWindow
switch (e.PropertyName)
{
case nameof(MainViewModel.CurrentItem) when _vm.CurrentItem is { } item && !ItemList.IsKeyboardFocusWithin:
// Follow the upload unless the user is reading the list with the keyboard.
ScrollNearTop(item);
// Follow the upload unless the user is reading the list with the keyboard; a list that has just
// appeared has its scroll viewer once it is laid out.
Dispatcher.BeginInvoke(DispatcherPriority.Loaded, () => ScrollNearTop(item));
break;
// Raised with every session change; only a real switch between the form and the queue moves the keyboard.
case nameof(MainViewModel.IsConnectVisible) when _vm.IsConnectVisible != _connectShown:
@@ -188,7 +189,8 @@ public sealed partial class MainWindow : TitanoWindow
private void FocusStart()
{
if (!_vm.IsConnectVisible) FocusLater(BrowseButton);
else FocusLater(_vm.Connect.Address.Length == 0 || _vm.Connect.Username.Length == 0 ? AddressBox : Password);
else if (_vm.Connect.Address.Length == 0) FocusLater(AddressBox);
else FocusLater(_vm.Connect.Username.Length == 0 ? UserBox : Password);
}
/// <summary>Focuses <paramref name="target"/> once a visibility change has been laid out; text is selected so typing replaces it.</summary>