[PATCH v3 5/5] shell32/tests: Test hijacking the edit control's procedure after AutoComplete

Gabriel Ivăncescu gabrielopcode at gmail.com
Mon Sep 24 08:44:04 CDT 2018


On Mon, Sep 24, 2018 at 3:02 PM, Alexandre Julliard <julliard at 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 at 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.



More information about the wine-devel mailing list