﻿id	summary	reporter	owner	description	type	status	milestone	component	version	severity	resolution	keywords	cc
2470	$GUI_EVENT_(PRIMARY and SECONDARY)DOWN not triggered after WinActivate	TommyDDR		"$GUI_EVENT_PRIMARYDOWN and $GUI_EVENT_SECONDARYDOWN are skiped one time after a WinActivate (only if clic on a control)

{{{
#include <GUIConstantsEx.au3>

Opt(""GUIOnEventMode"", 1)
Opt(""MustDeclareVars"", 1)

Global $Gui = GUICreate(""test"", 300, 300)
GUISetOnEvent($GUI_EVENT_CLOSE, ""quit"")
GUISetOnEvent($GUI_EVENT_SECONDARYDOWN, ""Clic"")
GUICtrlCreateLabel("""", 0, 0, 300, 300)
GUISetState()

While(True)
	Sleep(10)
WEnd

Func Clic()
	ConsoleWrite(""Clic"" & @CRLF)
	WinActivate(""[CLASS:Progman]"")
EndFunc

Func quit()
	Exit
EndFunc
}}}

Run this script, clic on time on the GUI, ""Clic"" is displayed, desktop is activated, re-clic on GUI, nothing append. (Working Wrong)
Stop script, comment line ""WinActivate"", re-run the script, clic on GUI, ""Clic is displayed, clic on desktop, re-clic on GUI, ""Clic is displayed"". (Working)

If Label is removed, work perfectly."	Bug	closed		AutoIt	3.3.8.1	None	No Bug		
