24 Sep
2018
24 Sep
'18
8:44 a.m.
On Mon, Sep 24, 2018 at 3:02 PM, Alexandre Julliard <julliard(a)winehq.org> wrote:
Why do you need all these Sleeps and dispatch calls? As far as I can see, everything you are testing should be synchronous.
-- Alexandre Julliard julliard(a)winehq.org
Well, at first I also wanted to remove them (they were there before, but only one test existed). It looks like they are actually needed on Windows, though, otherwise the tests fail. I think Windows uses a separate thread to do the autocomplete and some other weird stuff like that. It's not the SendMessage that's the problem, but I think the edit control doesn't receive the autocompleted stuff immediately on Windows.