Skip to content

[2502] MsGraphicsPkg/SwmDialogsLib: Show OSK after dialog rendering completes - #871

Merged
Michael Kubacki (makubacki) merged 1 commit into
microsoft:release/202502from
makubacki:msgfxpkg_swmdialogslib_osk_rend_2502
Apr 9, 2026
Merged

Michael Kubacki (makubacki) merged 1 commit into
microsoft:release/202502from
makubacki:msgfxpkg_swmdialogslib_osk_rend_2502

Conversation

@makubacki

Copy link
Copy Markdown
Member

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

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

Copy link
Copy Markdown
Member Author

2502 commit for #866.

@makubacki Michael Kubacki (makubacki) changed the title MsGraphicsPkg/SwmDialogsLib: Show OSK after dialog rendering completes [2502] MsGraphicsPkg/SwmDialogsLib: Show OSK after dialog rendering completes Apr 9, 2026
@microsoft Microsoft (microsoft) deleted a comment from mu-automation Bot Apr 9, 2026
@makubacki

Copy link
Copy Markdown
Member Author

Note: The QEMU validation comment was invalid (this is release/202502) and will no longer run on non-default branches in mu_plus after #872.

@makubacki
Michael Kubacki (makubacki) enabled auto-merge (squash) April 9, 2026 01:42
@makubacki
Michael Kubacki (makubacki) merged commit 269db5a into microsoft:release/202502 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.

3 participants