Skip to content

Add support for hover, add, and remove pointers #720

Closed

Description

@Hixie
  • The "Pointer" struct doesn't represent a pointer, it represents a snapshot of pointer state. We should rename it to "PointerStateSnapshot" or "PointerData" or some such.
  • The "PointerPacket" class should then be renamed something like "PointerDataPacket" or something.
  • The "PointerType" enum should be renamed "PointerDisposition" or some such.
  • The "Pointer" struct should lose its "down" (redundant with the stream of events), "primary" (not going to be supported), and "distance_min" (always 0 by definition) fields.
  • We should implement all the fields on the Java side (distance, radius, orientation, tilt, and stylus/mouse aren't yet supported).
  • We should add add/remove notifications.
  • We should actually send add/remove notifications.
  • We should add support for hover pointers.
  • The service side should never send an "up" event that is moved away from where the last "move" event was. (Same for "cancel", and, if hover events are supported, "down".)

Activity

  1. added this to the milestone on Dec 4, 2015
  2. sethladd commented on Sep 20, 2016

    @sethladd
    Contributor

    Did we want to include this work in the "API stability" efforts?

  3. added
    waiting for responseThe Flutter team cannot make further progress on this issue until the original reporter responds
    on Sep 20, 2016
  4. Hixie commented on Sep 20, 2016

    @Hixie
    ContributorAuthor

    Not sure. We have to do it eventually. Some of these changes are pretty low-level and many aren't critical for our near-term goals.

  5. removed
    waiting for responseThe Flutter team cannot make further progress on this issue until the original reporter responds
    on Sep 20, 2016
  6. self-assigned this
    on Sep 28, 2016
  7. abarth commented on Oct 16, 2016

    @abarth
    Contributor

    I did a bunch of these, but there are more left to do. Unassigning.

  8. removed their assignment
    on Oct 16, 2016
  9. self-assigned this
    on Nov 15, 2016
  10. 11 remaining items

  11. removed this from the milestone on Jan 26, 2017
  12. changed the title [-]"Pointer" struct fixes[/-] [+]Add support for hover, add, and remove pointers[/+] on Jan 26, 2017
  13. modified the milestones: , on Jan 26, 2017
  14. self-assigned this
    on Sep 5, 2018
  15. zoechi commented on Dec 21, 2018

    @zoechi
    Contributor

    Related #5504

  16. gspencergoog commented on Mar 20, 2019

    @gspencergoog
    Contributor

    I believe that all of these are addressed.

  17. github-actions commented on Aug 16, 2021

    @github-actions

    This thread has been automatically locked since there has not been any recent activity after it was closed. If you are still experiencing a similar issue, please open a new bug, including the output of flutter doctor -v and a minimal reproduction of the issue.

  18. locked as resolved and limited conversation to collaborators on Aug 16, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions