Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Using the haptic input feature freezes the app when a single tap is detected #1207

Closed
NicoleYarroch opened this issue Mar 27, 2019 · 1 comment
Assignees
Labels
bug A defect in the library
Milestone

Comments

@NicoleYarroch
Copy link
Contributor

NicoleYarroch commented Mar 27, 2019

Bug Report

When using the haptic input feature to detect the tapped view in a navigation app, the app freezes whenever a single tap is detected. This is because the library does not check on main thread if a view was tapped.

Reproduction Steps
  1. Create a navigation app with some UIViews in the rootViewController (Make sure to send a SDLDidUpdateProjectionView notification to the library)
  2. Connect to Core
  3. Perform a single tap on a view on the SDL app
Expected Behavior

The touch manager should notify the subscriber right away that a view was tapped.

Observed Behavior

The app freezes for a few seconds before the notification is sent by the touch manager.

In the SDLFocusableItemLocator class, the viewForPoint: method should check if a tap is inside a view on the main thread.

OS & Version Information
  • iOS Version: n/a
  • SDL iOS Version: 6.2
  • Testing Against: SYNC 3 and SDL_Core 5.1.0 + sdl_hmi
@NicoleYarroch NicoleYarroch added the bug A defect in the library label Mar 27, 2019
@NicoleYarroch NicoleYarroch added this to the 6.2.1 milestone Apr 2, 2019
@NicoleYarroch NicoleYarroch changed the title Using the haptic input feature freezes the app when a touch is detected Using the haptic input feature freezes the app when a single tap is detected Apr 2, 2019
@NicoleYarroch NicoleYarroch self-assigned this Apr 2, 2019
@joeljfischer joeljfischer mentioned this issue Apr 3, 2019
1 task
@theresalech
Copy link
Contributor

Closed via #1209

@theresalech theresalech modified the milestones: 6.2.1, 6.2.0 Apr 4, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug A defect in the library
Projects
None yet
Development

No branches or pull requests

2 participants