spent some time investigation richedit about the wrong layout of the popup: - basically, richedit expects that the rect returned by requestsize can be used as client area and layout will be done without scrollbars. this is not the case, and doing so generates a vertical scrollbar. - this will require more testing to check if richedit current behavior matches native (or not) - hacking shamelessly richedit with [p](/uploads/25ac6287081ebec51a7a353fc15a9baf/p) seems to get some more correct results (even if some local examples still show a wrong height computation, implying again a vertical scrollbar) since the popup layout issue appears orthogonally of this MR (I repro it on almost all local .hlp files with popups), I suggest reducing this MR to only implementing the MACRO_PopupContext() part (and leave the popup layout for a further MR) -- https://gitlab.winehq.org/wine/wine/-/merge_requests/11400#note_146069