• 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
..
resources Loading commit data...
tests Loading commit data...
Makefile.in Loading commit data...
button.c Loading commit data...
class.c Loading commit data...
clipboard.c Loading commit data...
combo.c Loading commit data...
controls.h Loading commit data...
cursoricon.c Loading commit data...
dde_client.c Loading commit data...
dde_misc.c Loading commit data...
dde_private.h Loading commit data...
dde_server.c Loading commit data...
defdlg.c Loading commit data...
defwnd.c Loading commit data...
desktop.c Loading commit data...
dialog.c Loading commit data...
edit.c Loading commit data...
exticon.c Loading commit data...
hook.c Loading commit data...
icontitle.c Loading commit data...
input.c Loading commit data...
listbox.c Loading commit data...
lstr.c Loading commit data...
mdi.c Loading commit data...
menu.c Loading commit data...
message.c Loading commit data...
misc.c Loading commit data...
msgbox.c Loading commit data...
nonclient.c Loading commit data...
property.c Loading commit data...
resource.c Loading commit data...
resources.h Loading commit data...
scroll.c Loading commit data...
static.c Loading commit data...
sysparams.c Loading commit data...
text.c Loading commit data...
uitools.c Loading commit data...
user32.rc Loading commit data...
user32.spec Loading commit data...
user_main.c Loading commit data...
user_private.h Loading commit data...
win.c Loading commit data...
winhelp.c Loading commit data...
winproc.c Loading commit data...
winstation.c Loading commit data...
wsprintf.c Loading commit data...