https://bugs.winehq.org/show_bug.cgi?id=47489
Bug ID: 47489 Summary: The appearance of configurable options in Audacity is broken Product: Wine Version: 4.10 Hardware: x86-64 OS: Linux Status: UNCONFIRMED Severity: major Priority: P2 Component: comctl32 Assignee: wine-bugs@winehq.org Reporter: aros@gmx.com Distribution: ---
Created attachment 64870 --> https://bugs.winehq.org/attachment.cgi?id=64870 Audacity 2.3.2 preferences dialog
See the attached screenshot.
I'm not sure comctl32 is the right component but it might be it.
https://bugs.winehq.org/show_bug.cgi?id=47489
Artem S. Tashkinov aros@gmx.com changed:
What |Removed |Added ---------------------------------------------------------------------------- URL| |https://www.fosshub.com/Aud | |acity.html?dwl=audacity-2.3 | |.2.zip Keywords| |source
https://bugs.winehq.org/show_bug.cgi?id=47489
Nikolay Sivov bunglehead@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Severity|major |normal Ever confirmed|0 |1 Status|UNCONFIRMED |NEW
--- Comment #1 from Nikolay Sivov bunglehead@gmail.com --- Switching to user32 controls shows the same problem, while it still works on Windows. Something is wrong with the way combo size is set, confirming.
https://bugs.winehq.org/show_bug.cgi?id=47489
Austin English austinenglish@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Keywords| |download
https://bugs.winehq.org/show_bug.cgi?id=47489
Fabian Maurer dark.shadow4@web.de changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |dark.shadow4@web.de
https://bugs.winehq.org/show_bug.cgi?id=47489
--- Comment #2 from Fabian Maurer dark.shadow4@web.de --- Created attachment 65557 --> https://bugs.winehq.org/attachment.cgi?id=65557 Simple wxWidgets test program (with source)
Luckily for us, audacity is open source, so we can find out what it's doing. The problem seems to be with wxWidgets, to be specific, with wxEXPAND.
While I don't have a fix (or even a hack) yet, I managed to create a small test program using only wxWidgets, which I'm attaching. This should make debugging easier, I hope it's useful. If you want to take this on, be my guest, if not, then I might look into it.
https://bugs.winehq.org/show_bug.cgi?id=47489
John Alway jwalway@hotmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |jwalway@hotmail.com
--- Comment #3 from John Alway jwalway@hotmail.com --- I've been working on this one while learning Wine code. I wrote an app for this a while ago using some Windows API calls.
What I found was that for a Combobox the CB_SETITEMHEIGHT message was taking precedence over SetWindowPos() in Wine, whereas in Windows the last one called is what takes precedence.
I noticed that CB_SETITEMHEIGHT locks the height in in the function GB_GetTextAreaHeight() in dlls/comctl32/combo.c (and probably in the user32/combo.c as well).
I'm not familiar enough with Wine's code to make a repair right now, but, at the very least, this shows a divergence between Wine and Windows.
I'll study the code more to see if I can fix it.
https://bugs.winehq.org/show_bug.cgi?id=47489
--- Comment #4 from Fabian Maurer dark.shadow4@web.de --- @John Always The best first step IMHO would be to add a test into the wine test suite, to show where exactly the problem is.
https://bugs.winehq.org/show_bug.cgi?id=47489
--- Comment #5 from John Alway jwalway@hotmail.com --- (In reply to Fabian Maurer from comment #4)
@John Always The best first step IMHO would be to add a test into the wine test suite, to show where exactly the problem is.
@Fabian Maurer
Thanks for the tip!
https://bugs.winehq.org/show_bug.cgi?id=47489
Nikolay Sivov bunglehead@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Fixed by SHA1| |8dfd51b48770e1315b57eeb7df1 | |64ac17348dcce Status|NEW |RESOLVED Resolution|--- |FIXED
--- Comment #6 from Nikolay Sivov bunglehead@gmail.com --- This is now fixed, 8dfd51b48770e1315b57eeb7df164ac17348dcce. John, thank you for your research.
https://bugs.winehq.org/show_bug.cgi?id=47489
Alexandre Julliard julliard@winehq.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED
--- Comment #7 from Alexandre Julliard julliard@winehq.org --- Closing bugs fixed in 4.21.
https://bugs.winehq.org/show_bug.cgi?id=47489
Anastasius Focht focht@gmx.net changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |focht@gmx.net URL|https://www.fosshub.com/Aud |https://archive.org/downloa |acity.html?dwl=audacity-2.3 |d/audacity-2.3.3/audacity-w |.2.zip |in-2.3.3.exe Summary|The appearance of |The appearance of |configurable options in |configurable options in |Audacity is broken |Audacity 2.3.x is broken