[Bug 18513] New: Autohotkey: ctrl/shift keys are nonfunctional under Controlsend

wine-bugs at winehq.org wine-bugs at winehq.org
Mon May 18 00:59:41 CDT 2009


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 at winehq.org
        ReportedBy: austinenglish at 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.

-- 
Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email
Do not reply to this email, post in Bugzilla using the
above URL to reply.
------- You are receiving this mail because: -------
You are watching all bug changes.



More information about the wine-bugs mailing list