Skip to content

Conversation

@selvanair
Copy link
Collaborator

No description provided.

@selvanair selvanair requested a review from lstipakov October 27, 2025 13:40
@cron2
Copy link
Contributor

cron2 commented Oct 27, 2025

The descriptions look reasonable, but I do not feel qualified to approve the sync/async window stuff. @lstipakov could you?

Fixes segfault when echo msg-notify happens with
no message to display.

As ShellNotify does not display with empty messages, we
set space (L" ") as message to allow title-only notifications.

Closes github: OpenVPN#771

Signed-off-by: Selva Nair <selva.nair@gmail.com>
We send this message from the connection thread to the main
thread using a blocking SendMesssage as the echo message to display is
cleared soon after. This sometimes leads to timeouts (and
thus long waits). Avoid timeout using Async ShowWindow() and delaying
SetForegroundWindow() as these could otherwise wait if the current
foreground Window is controlled by the calling thread.

Signed-off-by: Selva Nair <selva.nair@gmail.com>
@lstipakov lstipakov merged commit d5e57cf into OpenVPN:master Oct 29, 2025
10 checks passed
@selvanair selvanair deleted the echo-msg branch November 16, 2025 01:00
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