https://bugs.winehq.org/show_bug.cgi?id=55466
Bug ID: 55466 Summary: Menu items with MF_POPUP & MF_OWNERDRAW forget to re-draw item text after popup Product: Wine Version: 8.14 Hardware: x86-64 URL: https://web.archive.org/web/20230819235112/https://lts pice.analog.com/software/LTspice64.msi OS: Linux Status: UNCONFIRMED Severity: trivial Priority: P2 Component: win32u Assignee: wine-bugs@winehq.org Reporter: telans@posteo.de Distribution: ---
Created attachment 75022 --> https://bugs.winehq.org/attachment.cgi?id=75022 Wine Log
In LTspice 17.1.10, a popup menu item once moused over fails to draw the initial menu item text. Instead, it is missing. As far as I can tell this isn't a regression, I've tested all the way down to wine-5.0.
I believe this happens only with MF_OWNERDRAW & MF_POPUP. After some debugging, this is probably due to TextColor not being restored after drawing, or the window fails to invalidate the menu item rect(?).
See screenshots of Windows vs Wine behavior. I've also attached the log for when this happens. Look for "Efficiency Calculation".
I've attached the stack trace where the text disappears.
This is not the same bug as #52839 which corresponds to the top menu bar entries, which I believe has been fixed.