Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8092127

Need a smudge factor for touch scrolling

    Details

    • Type: Enhancement
    • Status: Open
    • Priority: P3
    • Resolution: Unresolved
    • Affects Version/s: 7u6
    • Fix Version/s: tbd
    • Component/s: javafx
    • Labels:

      Description

      Scrolling gesture is generated when you try to tap the touch screen. It's because when you tap it your finger flattens changing the touch shape, so its center moves quite a lot in a normal tap. We need to start the scrolling gesture after some distance, when it's clear the finger moves. The former prototypes used 15 pixels, but it would be better to use some DPI-based value.

      Glass recognizes the gesture, so I'm filing the issue there. I think I could implement the logic on Scenegraph side, but I'm afraid that some platforms are already doing that, so in this case I would at least need some flag that tells me whether or not such a smudge factor is applied somewhere in the native.

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              psafrata Pavel Ĺ afrata
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Imported: