Skip to content

MsGraphicsPkg/SwmDialogsLib: Show OSK after dialog rendering completes#866

Merged
makubacki merged 1 commit intomicrosoft:release/202511from
makubacki:msgfxpkg_swmdialogslib_osk_rend
Apr 9, 2026
Merged

MsGraphicsPkg/SwmDialogsLib: Show OSK after dialog rendering completes#866
makubacki merged 1 commit intomicrosoft:release/202511from
makubacki:msgfxpkg_swmdialogslib_osk_rend

Conversation

@makubacki
Copy link
Copy Markdown
Member

@makubacki makubacki commented Apr 2, 2026

Description

Moves the ShowKeyboard() call after the canvas Draw() call in the KEYFOCUS handling block of PasswordDialog and SemmUserAuthDialog.

Previously, the on-screen keyboard was displayed before the dialog finished rendering at its shifted position.

By deferring ShowKeyboard() until after Draw() completes, the dialog is fully painted in its final position before the keyboard appears.

  • Impacts functionality?
  • Impacts security?
  • Breaking change?
  • Includes tests?
  • Includes documentation?

How This Was Tested

  1. Go to the "Security -> UEFI password" page
  2. In the "Enter password" screen, touch the blank area on the screen
  3. Watch the on-screen keyboard load

Integration Instructions

  • N/A

@makubacki makubacki requested review from apop5, kuqin12 and os-d April 2, 2026 01:17
@makubacki makubacki self-assigned this Apr 2, 2026
Moves the `ShowKeyboard()` call after the canvas `Draw()` call in the
`KEYFOCUS` handling block of PasswordDialog and SemmUserAuthDialog.

Previously, the on-screen keyboard was displayed before the dialog
finished rendering at its shifted position, which could result in
visual overlap between the OSK and the partially rendered dialog.

By deferring `ShowKeyboard()` until after `Draw()` completes, the
dialog is fully painted in its final position before the keyboard
appears.

Co-authored-by: Wenbo Hou <wenbhou@microsoft.com>
Signed-off-by: Michael Kubacki <michael.kubacki@microsoft.com>
@makubacki makubacki force-pushed the msgfxpkg_swmdialogslib_osk_rend branch from 53d3cae to 320367d Compare April 9, 2026 00:27
@mu-automation
Copy link
Copy Markdown
Contributor

mu-automation bot commented Apr 9, 2026

✅ QEMU Validation Passed

Source Dependencies

Repository Commit
mu_plus 320367d
mu_tiano_platforms e7f5cec

Results

Platform Target Build Boot Overall Boot Time Build Logs Boot Logs
Q35 DEBUG ✅ success ✅ success 0m 16s Build Logs Boot Logs
SBSA DEBUG ✅ success ✅ success 0m 30s Build Logs Boot Logs

Workflow run: https://github.com/microsoft/mu_plus/actions/runs/24166098853

This comment was automatically generated by the Mu QEMU PR Validation workflow.

@makubacki makubacki merged commit fb02a76 into microsoft:release/202511 Apr 9, 2026
30 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants