Search Issue Tracker

By Design

Votes

0

Found in

2019.4.7f1

2019.4.8f1

2020.3

2021.1

2021.2

Issue ID

1324633

Regression

Yes

[Mobile] TouchPhase.Canceled does not occur when application is minimised

--

-

Reproduction steps:
1. Open the project in "TouchCanceledTest_2019.4.zip"
2. Build "scene" Scene for iOS and deploy the application
3. Hold one finger on the Screen and while holding - press the Home button (or swipe the finger from the bottom while holding) to minimize the application (Check notes below)
4. Release the finger and maximize the application

Expected result: In the application, the last debugged message will be "Cancelled" (Read notes below)
Actual result: In the application, there is no "Cancelled" message

Reproducible with: 2019.4.8f1, 2019.4.23f1, 2020.3.2f1, 2021.1.0f1, 2021.2.0a10
Not reproducible with: 2019.4.7f1
Could not test with: 2018.4.33f1 because build fails due to compile errors

Devices tested:
Reproducible with:
VLNQA00310 iPad Pro 12.9 1st gen (iOS 13.4.1)
iPhone 12 (iOS 14.1)
N/A, Samsung Galaxy S9 (SM-G960F), Android 8.0.0, CPU: Exynos 9 Series 9810, GPU: Mali-G72
VLNQA00318, Oneplus 7Pro (GM1913), Android 10, CPU: Snapdragon 855 SM8150, GPU: Adreno (TM) 640
VLNQA00231, Huawei HUAWEI Mate 20 Pro (LYA-L29), Android 9, CPU: HiSilicon Kirin 980, GPU: Mali-G76
VLNQA00339, Lge LG V50 ThinQ 5G (LM-V500N), Android 10, CPU: Snapdragon 855 SM8150, GPU: Adreno (TM) 640
VLNQA00316, Samsung Galaxy Note10 (SM-N970F), Android 9, CPU: Exynos 9 Series 9825, GPU: Mali-G76

Notes:
1. If using a device without a home button and using a finger to minimize, Began, and 2 "Cancelled" messages are printed before regression. After the regression "Began" is printed instead.
2. If using a device with a home button and using a finger to minimize, the behaviour is the same before and after the regression, "Cancelled" is printed 2 times

  1. Resolution Note (2021.2.X):

    We currently reset the touches on all platforms when an app restores from background, so therefore there is no touches present to report as cancelled.

Add comment

Log in to post comment

All about bugs

View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.