On Thu Jun 27 01:07:34 2024 +0000, Zhiyi Zhang wrote:
Try SetForegroundWindow() first. If it still happens then mark it as flaky.
I would also send `WM_NULL` to `hotkey_dialog` to ensure that its message loop is idle (message processing is not pending).