• Eric Pouech's avatar
    user32/tests: Fix failing WM_PASTE tests for edit control on Win10+. · ce78e293
    Eric Pouech authored
    There are cases in Windows10+ where the WM_PASTE message doesn't paste
    the content of the clipboard.
    
    This appeared in testing:
    - almost always just after (for a couple of milliseconds) setting new
      content into the clipboard and closing it.
    - in some unrelated rare occasions (like once for 400 runs).
    
    It looks like another (installed) process had opened the clipboard and
    forbids the paste command.
    As WM_PASTE doesn't return success/error status, workaround it by
    wrapping the WM_PASTE command into a helper, and retry when the
    clipboard's content hasn't been pasted.
    
    Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=53276Signed-off-by: 's avatarEric Pouech <eric.pouech@gmail.com>
    ce78e293
Name
Last commit
Last update
dlls Loading commit data...
documentation Loading commit data...
fonts Loading commit data...
include Loading commit data...
libs Loading commit data...
loader Loading commit data...
nls Loading commit data...
po Loading commit data...
programs Loading commit data...
server Loading commit data...
tools Loading commit data...
.editorconfig Loading commit data...
.gitlab-ci.yml Loading commit data...
.mailmap Loading commit data...
ANNOUNCE Loading commit data...
AUTHORS Loading commit data...
COPYING.LIB Loading commit data...
LICENSE Loading commit data...
LICENSE.OLD Loading commit data...
MAINTAINERS Loading commit data...
README Loading commit data...
VERSION Loading commit data...
aclocal.m4 Loading commit data...
configure Loading commit data...
configure.ac Loading commit data...