Skip to content

Remove explicit Win32 SetFocus call when opening DialogHost - #4078

Merged
Keboo merged 1 commit into
masterfrom
dialogHostFocus
Aug 21, 2026
Merged

Remove explicit Win32 SetFocus call when opening DialogHost#4078
Keboo merged 1 commit into
masterfrom
dialogHostFocus

Conversation

@Keboo

@Keboo Keboo commented Jul 10, 2026

Copy link
Copy Markdown
Member

The manual call to SetFocus via HwndSource was redundant and could cause unexpected focus behavior. The subsequent logic already handles focus by finding the first focusable element within the dialog's content.

The manual call to SetFocus via HwndSource was redundant and could cause unexpected focus behavior. The subsequent logic already handles focus by finding the first focusable element within the dialog's content.
@Keboo
Keboo marked this pull request as ready for review August 21, 2026 04:44
@Keboo Keboo added this to the 5.3.3 milestone Aug 21, 2026
@Keboo Keboo added the release notes Items are likely to be highlighted in the release notes. label Aug 21, 2026
@Keboo
Keboo merged commit fda8878 into master Aug 21, 2026
2 checks passed
@Keboo
Keboo deleted the dialogHostFocus branch August 21, 2026 04:45
@Keboo Keboo modified the milestones: 5.3.3, 5.4.0 Aug 28, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

release notes Items are likely to be highlighted in the release notes.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant