Skip to content

kTouchSlop const needs to change from 18 to 64 for touches to feel responsive #137962

@jwinarske

Description

@jwinarske

Is there an existing issue for this?

Steps to reproduce

using gestures on custom touch controller responsiveness is very sluggish.

Expected results

touch gestures not be sluggish

Actual results

kTouchSlop const needs to change from 18 to 64 for touches to feel responsive on our supplier touch screens.

const double kTouchSlop = 18.0; // Logical pixels

We need a way to allow adjustment without having to fork the sdk.

Code sample

NA

Screenshots or Video

NA

Logs

No response

Flutter Doctor output

Doctor output
[✓] Flutter (Channel main, 3.17.0-1.0.pre.44, on Fedora Linux 38 (Workstation Edition) 6.5.8-200.fc38.x86_64, locale en_US.UTF-8)
    • Flutter version 3.17.0-1.0.pre.44 on channel main at /mnt/raid10/workspace-automation/flutter
    • Upstream repository https://github.com/flutter/flutter.git
    • Framework revision 377e40e8e0 (8 hours ago), 2023-11-06 08:35:51 -0500
    • Engine revision 4f6ed31bd8
    • Dart version 3.3.0 (build 3.3.0-97.0.dev)
    • DevTools version 2.29.0

[✓] Linux toolchain - develop for Linux desktop
    • clang version 16.0.6 (Fedora 16.0.6-3.fc38)
    • cmake version 3.27.7
    • ninja version 1.11.1
    • pkg-config version 1.8.0

[✓] VS Code (version 1.84.0)
    • VS Code at /usr/share/code
    • Flutter extension version 3.76.0

[✓] Connected device (2 available)
    • Linux (desktop)            • linux              • linux-x64 • Fedora Linux 38 (Workstation Edition) 6.5.8-200.fc38.x86_64
    • Toyota homescreen (mobile) • desktop-homescreen • linux-x64 • homescreen x86_64

[✓] Network resources
    • All expected network resources are available.

• No issues found!

Metadata

Metadata

Assignees

No one assigned

    Labels

    customer: toyotaf: gesturesflutter/packages/flutter/gestures repository.frameworkflutter/packages/flutter repository. See also f: labels.team-frameworkOwned by Framework teamwaiting for customer responseThe Flutter team cannot make further progress on this issue until the original reporter responds

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions