It appears that the display of a context menu on Linux triggers a window_Deactivate event, in contrast with the MS-Windows target. Don’t know about Mac.
Is this behavior by design or should it be considered a bug, as the window is not really deactivated ?
If by design this can have a significant impact on cross-platform app development…