fix(ui): group radio buttons by their panel; the RTL dialog test waits for Loaded

The installer capture builds one window per stage, each with its own view model.
Radio buttons named into one group are shared by every window not yet on screen,
so Just me / All users of two windows unchecked each other forever.
The right-to-left smoke test now waits for the dialog's Loaded event (the first
render can come after an idle tick) instead of an idle dispatcher.

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-06 08:03:13 +00:00
1 parent a56944b628
commit b82f7462f2
7 files changed
+27 -24

No files matched your search

+2 -2
View File
@@ -53,9 +53,9 @@
<TextBlock Grid.Row="1" Text="{l:Loc Setup.Field.Scope}" Foreground="{DynamicResource Brush.TextMuted}" VerticalAlignment="Center" Margin="0,0,16,0" />
<StackPanel Grid.Row="1" Grid.Column="1" Orientation="Horizontal" VerticalAlignment="Center">
<RadioButton GroupName="Scope" Content="{l:Loc Setup.Scope.JustMe}" IsChecked="{Binding IsJustMe}" IsEnabled="{Binding CanChangeLocation}"
<RadioButton Content="{l:Loc Setup.Scope.JustMe}" IsChecked="{Binding IsJustMe}" IsEnabled="{Binding CanChangeLocation}"
ToolTipService.ShowOnDisabled="True" ToolTip="{Binding JustMeToolTip}" Margin="0,0,20,0" />
<RadioButton GroupName="Scope" Content="{l:Loc Setup.Scope.AllUsers}" IsChecked="{Binding IsAllUsers}" IsEnabled="{Binding CanChangeLocation}"
<RadioButton Content="{l:Loc Setup.Scope.AllUsers}" IsChecked="{Binding IsAllUsers}" IsEnabled="{Binding CanChangeLocation}"
ToolTipService.ShowOnDisabled="True" ToolTip="{Binding AllUsersToolTip}" />
</StackPanel>