[Bug 46275] Some autocomplete tests fail on Win2k3 VM

wine-bugs at winehq.org wine-bugs at winehq.org
Tue Dec 11 09:19:29 CST 2018


https://bugs.winehq.org/show_bug.cgi?id=46275

--- Comment #3 from Gabriel Ivăncescu <gabrielopcode at gmail.com> ---
Sorry about that, I misread, but I got no errors on Win 2k3:
https://testbot.winehq.org/JobDetails.pl?Key=45629

There are some known issues with dispatch_message since it uses an arbitrary
Sleep. Windows handles the autocompletion enumeration etc in a separate thread.
Fixing it requires quite a hack workaround, Huw decided it wasn't worth it
since it complicates the tests too much. (it involves subclassing the editbox
after AutoComplete, listening to specific WM_APP message (or registered
message) and signaling that the autocompletion was done; however, additional
complications arise for ResetEnumerator because then it doesn't even signal to
the main thread so we have to use a custom signal from within
IEnumString::Reset, which is too hacky).

However, I don't actually see *why* it would specifically have to do with
dispatch_message here, in this particular case. Perhaps there was a bug with
the keydown/keyup when the VM was overloaded or something, I don't know.

But I guess it was a false alarm.

-- 
Do not reply to this email, post in Bugzilla using the
above URL to reply.
You are receiving this mail because:
You are watching all bug changes.


More information about the wine-bugs mailing list