https://bugs.winehq.org/show_bug.cgi?id=40540
--- Comment #9 from henry@littau.org --- Created attachment 54517 --> https://bugs.winehq.org/attachment.cgi?id=54517 New Demo of issue
Yikes!
So I think what was happening is running under the debugger gave me side-effects.
I attached a new version of the Demo. In this case the WaitForEvent stuff is left out. We go through the loop twice, once plain, once with an extra sleep.
Under Windows, both iterations succeed. Under Wine, first iteration succeeds, second iteration fails.
Good call, you are correct about the spell checker :-) My fresh Ubuntu install seems to have defaulted to British English for the Firefox spell checker...
Hopefully we now both see the same results.