http://bugs.winehq.org/show_bug.cgi?id=18513
Summary: Autohotkey: ctrl/shift keys are nonfunctional under Controlsend Product: Wine Version: 1.1.21 Platform: PC-x86-64 URL: http://www.autohotkey.com OS/Version: Linux Status: NEW Keywords: download, source, testcase Severity: critical Priority: P2 Component: -unknown AssignedTo: wine-bugs@winehq.org ReportedBy: austinenglish@gmail.com
Created an attachment (id=21161) --> (http://bugs.winehq.org/attachment.cgi?id=21161) compiled testcase
The below script fails under Autohotkey:
clipboard = Run, notepad.exe WinWait, Untitled - Notepad, , 3 ControlSend, Edit1, This is a line of text in the notepad window., Untitled ControlSend, Edit1, ^a ControlSend, Edit1, ^c if clipboard { Msgbox bug fixed } Else Msgbox, ctrl fails exit
It should run notepad, type that line of text, send 'CTRL+A', send 'CTRL+C' to copy it, then verify that the clipboard is not null.
Under Wine, however, the '^' (which translates to the CTRL key), is ignored. Under Wine, you'll get 'tHis is a line of text in the notepad window.ac' (The 'tHis' is a separate bug, coming next').
Under Windows, passes fine. The same thing happens with shift keys (how I originally discovered the bug).
Marking critical, since it blocks a large portion of AutoHotkey from working, which blocks a lot of (gui/application) testing.