https://bugs.winehq.org/show_bug.cgi?id=52589
Bug ID: 52589 Summary: Broken menu drawing in VCL apps when using styles Product: Wine Version: 7.2 Hardware: x86-64 OS: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: -unknown Assignee: wine-bugs@winehq.org Reporter: michael.monreal+wine@gmail.com Distribution: ---
Recently I got the chance to beta test the upcoming version 5 of popular data recovery tool IsoBuster (www.isobuster.com/) on wine. The new version introcuces the option to use GUI styles using the Visual Component Library (VCL) by Embarcadero. While the app still works with themes I noticed a few problems which only show on wine:
1. Opening a second menu from the menu band does not close a previously open menu, meaning multiple menus are shown at the same time and draw on top of each other 2. Menu items in the opened menu lose styling as soon as the mouse touches them
These problems only show when the new styling is active.
https://bugs.winehq.org/show_bug.cgi?id=52589
--- Comment #1 from Michael Monreal michael.monreal+wine@gmail.com --- Created attachment 71915 --> https://bugs.winehq.org/attachment.cgi?id=71915 Screencast of the problem
The attached screencast shows the problem in a reduced test cast app.
https://bugs.winehq.org/show_bug.cgi?id=52589
--- Comment #2 from Michael Monreal michael.monreal+wine@gmail.com --- Created attachment 71916 --> https://bugs.winehq.org/attachment.cgi?id=71916 Test case app
Attached you will fine the test case app used for the screencast. It was created and provided by the developer of IsoBuster.
https://bugs.winehq.org/show_bug.cgi?id=52589
--- Comment #3 from Michael Monreal michael.monreal+wine@gmail.com --- FWIW it can be assumed that this problem affects / will affect any app using VCL styling.
https://bugs.winehq.org/show_bug.cgi?id=52589
Zhiyi Zhang zzhang@codeweavers.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |zzhang@codeweavers.com
https://bugs.winehq.org/show_bug.cgi?id=52589
Zhiyi Zhang zzhang@codeweavers.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Ever confirmed|0 |1 Status|UNCONFIRMED |NEW
--- Comment #4 from Zhiyi Zhang zzhang@codeweavers.com --- Confirmed. Could you get the developer to share the source code for the test case app? It would be much easier with the source code available.
https://bugs.winehq.org/show_bug.cgi?id=52589
--- Comment #5 from Zhiyi Zhang zzhang@codeweavers.com --- It doesn't seem to be related to uxtheme support. The app seems to be drawing the controls by itself.
https://bugs.winehq.org/show_bug.cgi?id=52589
Peter peter@smart-projects.net changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |peter@smart-projects.net
--- Comment #6 from Peter peter@smart-projects.net --- That is correct. But it works well on all Windows versions tested (XP up to W11). Question is who or what is not sending or responding to what messages.
https://bugs.winehq.org/show_bug.cgi?id=52589
--- Comment #7 from Peter peter@smart-projects.net --- Created attachment 71934 --> https://bugs.winehq.org/attachment.cgi?id=71934 Source of the test app
The code is truly minimal. All this is handled by VCL
https://bugs.winehq.org/show_bug.cgi?id=52589
--- Comment #8 from Peter peter@smart-projects.net --- I also reported the issue with Embarcadero, where it was escalated to development. However the lead project manager commented that Wine is not officially supported. Which, to me, reads as 'we're not going to look at this right now'. They have *plenty* of other bugs to sort out. So, I fear it will be up to the good people @ Wine to figure out what is going on. If in debug mode you can see an obvious mistake being made, do let me know and I'll update the bug reported @ Embarcadero.
https://bugs.winehq.org/show_bug.cgi?id=52589
Vitaly Lipatov lav@etersoft.ru changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |lav@etersoft.ru