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.
https://bugs.winehq.org/show_bug.cgi?id=55466
James Beddek telans@posteo.de changed:
What |Removed |Added ---------------------------------------------------------------------------- Keywords| |download
https://bugs.winehq.org/show_bug.cgi?id=55466
--- Comment #1 from James Beddek telans@posteo.de --- Created attachment 75023 --> https://bugs.winehq.org/attachment.cgi?id=75023 Stack Trace
https://bugs.winehq.org/show_bug.cgi?id=55466
--- Comment #2 from James Beddek telans@posteo.de --- Created attachment 75024 --> https://bugs.winehq.org/attachment.cgi?id=75024 Windows Behavior (Before popup had time to draw)
https://bugs.winehq.org/show_bug.cgi?id=55466
--- Comment #3 from James Beddek telans@posteo.de --- Created attachment 75025 --> https://bugs.winehq.org/attachment.cgi?id=75025 Wine Behavior
https://bugs.winehq.org/show_bug.cgi?id=55466
James Beddek telans@posteo.de changed:
What |Removed |Added ---------------------------------------------------------------------------- Attachment #75024|0 |1 is obsolete| |
--- Comment #4 from James Beddek telans@posteo.de --- Created attachment 75026 --> https://bugs.winehq.org/attachment.cgi?id=75026 Windows Behavior
Better Windows screenshot. Also note the white popup arrow which is missing from Wine, though that deserves its own bug