Watch, Follow, &
Connect with Us
Public Report
Report From: Delphi-BCB/FireMonkey/Runtime    [ Add a report in this area ]  
Report #:  128751   Status: Resolved
On Windows, TForm.OnTouch does not fire if TForm.FullScreen is set to True
Project:  Delphi Build #:  21.0.17017.3725
Version:    21.0 Submitted By:   Simon Stuart
Report Type:  Basic functionality failure Date Reported:  11/6/2014 3:23:35 PM
Severity:    Serious / Highly visible problem Last Updated: 2/17/2015 5:03:17 PM
Platform:    All versions Internal Tracking #:   56425
Resolution: Checked In (Resolution Comments) Resolved in Build: : None
Duplicate of:  None
Voting and Rating
Overall Rating: (3 Total Ratings)
5.00 out of 5
Total Votes: 20
Description
NOTE: This problem appears to occur only on Win32 and Win64.

When the "FullScreen" property of a FireMonkey Form is set to "True" (either as its initial state, or at any time during the lifetime of that Form), Touch inputs will no longer fire the OnTouch event at all.

The problem persists even after setting FullScreen back to False at runtime.
Steps to Reproduce:
1. Create a blank FireMonkey project.

2. Assign some code to the Form's OnTouch event

3. Set the FullScreen property of the Form to True

4. Run under Windows on a touch/multi-touch device

5. Observe that the OnTouch event does not fire.

6. Add a TButton whose OnClick event sets the FullScreen property of the Form back to False, note that OnTouch STILL does not fire even once the Form returns to Windowed mode.
Workarounds
None known at this time.
Attachment
None
Comments

None

Server Response from: ETNACODE01