Watch, Follow, &
Connect with Us
Public Report
Report From: Delphi-BCB/FireMonkey/Components    [ Add a report in this area ]  
Report #:  120678   Status: Open
[iOS] InteractiveGestures is not working when setting BorderStyle of form to bsNone
Project:  Delphi Build #:  19.0.13856.4978
Version:    19.0 Submitted By:   satoshi takeda
Report Type:  Basic functionality failure Date Reported:  11/22/2013 6:15:02 AM
Severity:    Serious / Highly visible problem Last Updated: 11/22/2013 7:14:01 AM
Platform:    Apple mobile OS Internal Tracking #:   45382
Resolution: None (Resolution Comments) Resolved in Build: : None
Duplicate of:  None
Voting and Rating
Overall Rating: No Ratings Yet
0.00 out of 5
Total Votes: 32
Description
[iOS] InteractiveGestures is not working when setting BorderStyle of form to bsNone

Only igDoubleTap works, but OnGesture event does not occur by other gestures.

iOS Device   : iPod Touch (5th generation)
iOS Version  : 6.1.3
SDK Version  : 6.1
OSX Version  : Mountain Lion (10.8.5)
Xcode Version: 5.0.1
Steps to Reproduce:
1. Create new FireMonkey mobile project.

2. Set a BorderStyle property of Form1 to bsNone in Object Inspector.

3. Set a Touch->InteractiveGestures property of Form1 in Object Inspector.
ex: Turn on a check of igRotate, igLongTap and igDoubleTap.

4. Implement OnGesture event of Form1 as follows.
-------
procedure TForm2.FormGesture(Sender: TObject;
  const EventInfo: TGestureEventInfo; var Handled: Boolean);
begin
  Log.d(LongInt(EventInfo.GestureID).ToString);
end;
-------

5. Run and perform the gesture that you set. An event produces only igDoubleTap.
Workarounds
None
Attachment
None
Comments

Tomohiro Takahashi at 11/22/2013 6:24:45 AM -
> InteractiveGestures is not working in iOS Devices.
Does your issue occur only with iOS device? What about iOS simulator?

> 2. Set a BorderStyle property of Form1 to bsNone in Object Inspector.
Does your issue occur only when using bsNone?

Could you please try to add TGestureManager component onto the Form, then set Touch->GestureManager of the Form to it?

satoshi takeda at 11/22/2013 6:42:12 AM -
Thanks.

>Does your issue occur only with iOS device? What about iOS simulator?
A same problem occurs in the iOS simulator.
In addition, a same problem occurs with the iPad Air (iOS 7.0.3) device too.

>Does your issue occur only when using bsNone?
Yes, only in the case of bsNone, a problem occurs.
bsNone sets it to hide a status bar.

>Could you please try to add TGestureManager component onto the Form, then set Touch->GestureManager of the Form to it?
I tried it, but the problem is not solved. In addition, an event occurs by an irrelevant gesture when I set TGestureManager, and GestureID is 0.

Tomohiro Takahashi at 11/22/2013 7:08:32 AM -
Thanks for the information. I updated [Title], [Description] etc.

doggy bread at 1/10/2015 10:11:56 AM -
This issue has not been resolved over one year.

Markus Keller at 1/13/2016 9:37:01 AM -
This issue has not been resolved over two years.

Server Response from: ETNACODE01