Skip to content

PanGestureRecognizer's PanUpdated event's data has severe fluctuations on HarmonyOS 4.x devices #32097

@0xeeeeeeeeeeee

Description

@0xeeeeeeeeeeee

Description

PanGestureRecognizer's PanUpdated event's TotalX and TotalY has a severe fluctuations, and there is a huge deviation on how long you moved (TranslationX) than your finger actually moved.

Steps to Reproduce

  1. clone this repo
  2. deploy to any HUAWEI phone/tablet running HarmonyOS 4.x
  3. Drag the yellow slider on the screen to the right,
  4. and you will see the yellow slider constantly trembling and extremely difficult to move.
    like this:
6feeffc634b101c33f4f4c0337793ff2.mp4

(The white dot represents the position of my finger.)

excepted to see this:

2025-10-21.013143.mp4

You can use the .csv file that pops up in the share menu for further analysis.

Link to public reproduction project repository

https://github.com/0xeeeeeeeeeeee/ImNotARobot_PanGestureRecognizerDemo

Version with bug

10.0.0-rc.2

Is this a regression from previous behavior?

Not sure, did not test other versions

Last version that worked well

Unknown/Other

Affected platforms

Android

Affected platform versions

HarmonyOS 4.2.0.185

Did you find any workaround?

nope

I also tried .net 9 and it doesn't work at I excepted all.

I haven't tried on other platform.

logs.zip

Relevant log output

Metadata

Metadata

Assignees

No one assigned

    Labels

    area-gesturesGesture typest/bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions