I'm facing really unfamiliar situation with unknown cause for delay in application run, since it's the first time I use Gestures and GestureManager. (VCL type application)
It seems that, when I apply TGestureManager to the Touch.GestureManager property of a form, when that form is called to show for the first time, the application freeze / delay of approx 5 seconds is made. Even if there are no gestures enabled (checked) at all. As soon as I remove the Touch.GestureManager property off of the form, the form is displayed immediatelly with Form.Show event. Application creates all of the forms at startup, so the form is already created by the time I call Form.Show event.
The form itself is quite heavy (FullHD resolution size, with quite a lot components placed on it...), but doesn't show any speed issues without GestureManager in use...
I could only find one topic on the web regarding this so far, but the answer wasn't really helping ( suggesting to turn on "Tablet PC" option on a PC. This is already done...)
Cheers
Edit: On "less-heavy" form, (less components on it), the delay is slightly lower, still around 2-3 seconds though...
Edit2-code
Example that creates delay:
type
TForm1 = class(TForm)
Button1: TButton;
procedure Button1Click(Sender: TObject);
var
Form1: TForm1;
implementation
{$R *.dfm}
uses Unit2;
procedure TForm1.Button1Click(Sender: TObject);
begin
Form2.show;
end;
end.
Calls form2, which is clean form with 20 TAdvGlassButton objects on it (part of TMS Component pack), and GestureManager, which is assigned to Form2.Touch.GestureManager property. This one creates around 2 second delay when Button1 is pressed (and Form2 should be shown);