https://bugs.winehq.org/show_bug.cgi?id=46159
Bug ID: 46159 Summary: Doxie 2.10.3: Black Dialog Boxes using Wine 3.6 Product: Wine Version: 3.6 Hardware: x86 OS: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: -unknown Assignee: wine-bugs@winehq.org Reporter: stgarf+winebugs@gmail.com Distribution: ---
When using wine 3.6, Doxie's UI doesn't show up and instead black boxes do. I was asked to report this as a regression.
See the attachment here: https://bugs.winehq.org/attachment.cgi?id=62802
https://bugs.winehq.org/show_bug.cgi?id=46159
stgarf+winebugs@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Keywords| |obfuscation, printing CC| |stgarf+winebugs@gmail.com URL| |http://cdn.getdoxie.com/res | |ources/files/DoxieSetup_2.1 | |0.3.exe Hardware|x86 |x86-64 Distribution|--- |Ubuntu
https://bugs.winehq.org/show_bug.cgi?id=46159
Louis Lenders xerox.xerox2000x@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |xerox.xerox2000x@gmail.com
--- Comment #1 from Louis Lenders xerox.xerox2000x@gmail.com --- Hi, why did you add the obfuscation keyword?
Note: I think the regression is somewhere inside comctl32. winetricks comctl32 gives a responsive window for me. I`ll see if I can trackdown commit, a whole regressiontest takes really too long on my machine...
https://bugs.winehq.org/show_bug.cgi?id=46159
stgarf+winebugs@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Keywords|obfuscation |
https://bugs.winehq.org/show_bug.cgi?id=46159
Louis Lenders xerox.xerox2000x@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Keywords|printing |download Ever confirmed|0 |1 Status|UNCONFIRMED |NEW Component|-unknown |comctl32
--- Comment #2 from Louis Lenders xerox.xerox2000x@gmail.com --- So i tried regressiontest but ended with wrong result (a commit in xmllite/tests) so i must have done something wrong. A few commits before that one is probably the one: https://www.winehq.org/pipermail/wine-cvs/2018-February/125403.html (but not 100% sure)
With the hack below against current git the crash is gone. I`m not really sure this is a regression at all. In current git a few messageboxes pop up that say some plugins are unregisterd. In good working wine like wine-3.1 these are not popped up, So maybe the commit just added new functionality so the app now behaves a bit differently
Nicolay: Could you shed a light on this?
Hack to make the program not crash: diff --git a/dlls/comctl32/commctrl.c b/dlls/comctl32/commctrl.c index c228b64..3426237 100644 --- a/dlls/comctl32/commctrl.c +++ b/dlls/comctl32/commctrl.c @@ -104,7 +104,7 @@ static void unregister_versioned_classes(void) VERSION "ComboLBox", VERSION WC_EDITA, VERSION WC_LISTBOXA, - VERSION WC_STATICA, +// VERSION WC_STATICA, }; int i;
@@ -128,7 +128,7 @@ BOOL WINAPI RegisterClassNameW(const WCHAR *class) { {'C','o','m','b','o','L','B','o','x',0}, COMBOLBOX_Register }, { {'E','d','i','t',0}, EDIT_Register }, { {'L','i','s','t','B','o','x',0}, LISTBOX_Register }, - { {'S','t','a','t','i','c',0}, STATIC_Register }, +// { {'S','t','a','t','i','c',0}, STATIC_Register }, };
int min = 0, max = ARRAY_SIZE(classes) - 1;
https://bugs.winehq.org/show_bug.cgi?id=46159
Louis Lenders xerox.xerox2000x@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Summary|Doxie 2.10.3: Black Dialog |Doxie 2.10.3 crashes |Boxes using Wine 3.6 |
--- Comment #3 from Louis Lenders xerox.xerox2000x@gmail.com --- Forgot to mention: running with +text debug shows the black windows contain:
0009:trace:text:DrawTextExW L"An exception of class NilObjectException was not handled. The application must shut down.", 90, [(0,0)-(444,32767)] 00008c10
https://bugs.winehq.org/show_bug.cgi?id=46159
--- Comment #4 from Nikolay Sivov bunglehead@gmail.com --- To properly revert to user32 implementation you'll need to add class name back to class.c:is_builtin_class().
Regarding hang, I'll have to look. Anything in +static log when it hangs?
https://bugs.winehq.org/show_bug.cgi?id=46159
--- Comment #5 from Louis Lenders xerox.xerox2000x@gmail.com --- (In reply to Nikolay Sivov from comment #4)
To properly revert to user32 implementation you'll need to add class name back to class.c:is_builtin_class().
Regarding hang, I'll have to look. Anything in +static log when it hangs?
No, WINEDEBUG=+static doesnt show any additional output
https://bugs.winehq.org/show_bug.cgi?id=46159
Nikolay Sivov bunglehead@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Summary|Doxie 2.10.3 crashes |Doxie 2.10.3 hangs on | |startup
https://bugs.winehq.org/show_bug.cgi?id=46159
--- Comment #6 from Nikolay Sivov bunglehead@gmail.com --- Created attachment 62816 --> https://bugs.winehq.org/attachment.cgi?id=62816 patch
Application can't find its own window with FindWindow("STATIC") because server side is matching with versioned atom.
Attached diff works for me. I'll do some more tests, thanks for the report.
https://bugs.winehq.org/show_bug.cgi?id=46159
Nikolay Sivov bunglehead@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Component|comctl32 |user32
https://bugs.winehq.org/show_bug.cgi?id=46159
Nikolay Sivov bunglehead@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Keywords| |regression Assignee|wine-bugs@winehq.org |bunglehead@gmail.com Regression SHA1| |31d3fcc0b20eabe40182300219e | |ecc832f5e3afe
https://bugs.winehq.org/show_bug.cgi?id=46159
Nikolay Sivov bunglehead@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution|--- |FIXED Fixed by SHA1| |b5f179655ca8eacdb6ed9b4471b | |f55362789c1e9
--- Comment #7 from Nikolay Sivov bunglehead@gmail.com --- Fixed with b5f179655ca8eacdb6ed9b4471bf55362789c1e9.
https://bugs.winehq.org/show_bug.cgi?id=46159
Nikolay Sivov bunglehead@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Assignee|bunglehead@gmail.com |wine-bugs@winehq.org
https://bugs.winehq.org/show_bug.cgi?id=46159
Alexandre Julliard julliard@winehq.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED
--- Comment #8 from Alexandre Julliard julliard@winehq.org --- Closing bugs fixed in 3.21.