eric pouech (@epo) commented about programs/winhlp32/macro.c:
+ + WINE_TRACE("(%s, %lu)\n", debugstr_a(str), u); + + if (!(hlpfile = WINHELP_LookupHelpFile(str))) + { + WINE_ERR("Failed to load .hlp file.\n"); + return; + } + + if (!GetCursorPos(&origin)) + WINE_FIXME("GetCursorPos failed so popup context help may appear misplaced.\n"); + + if (!MACRO_CurrentWindow()->page) + { + WINHELP_WNDPAGE wpage; + MACRO_CurrentWindow()->page = HLPFILE_PageByMap(hlpfile, u, &wpage.relative); this doesn't make sense as you're setting the page of current window, while the target window is (potentially) not created yet and it's the one supposed to get that page
-- https://gitlab.winehq.org/wine/wine/-/merge_requests/11400#note_146026