I worked the equivalent gesture for Firefox Metro. For that, I followed
microsoft's spec:
https://msdn.microsoft.com/en-us/library/windows/apps/hh465299.aspx which
might be useful to review if only for comparison and another perspective.
They amount to a threshold for intentionality, a threshold to trigger the
cross-slide gesture, and a angle/cone which the gesture should fall within
to complete - basically, more deltaY than deltaX.

I find the fxos/task-manager recent improvements work really well. But I'm
also probably very conditioned by now and not an objective judge.

/sam

On Thu, Oct 15, 2015 at 5:44 PM, Naoki Hirata <[email protected]> wrote:

> Maybe Chris might be able to comment?
>
> I think he had done work for Firefox for android working with the swiping
> motion there and helping to limit the sideways motion when swiping up and
> down for scrolling... or maybe that was kats...?
>
> On Thu, Oct 15, 2015 at 5:26 PM, Sandip Kamat <[email protected]> wrote:
>
>> I always assumed it was either a device touch-smudge issue (which is
>> common for touch devices), or an "angle of swipe" issue. For the latter, I
>> have gotten into a habit of swiping exactly vertically and it seems to work
>> for the most part. Not sure if there is a margin of error here about how
>> the angle is calculated. (touch panel sensitivity?)
>>
>> Agree with that last comment as well.
>>
>> Sandip
>>
>> On Thu, Oct 15, 2015 at 5:17 PM, Dylan Oliver <[email protected]>
>> wrote:
>>
>>> Yes, I often have some degree of trouble. If I am conscious to give a
>>> deliberate vertical swipe, it works fine. But my default
>>> not-thinking-about-it swipe tends to have some horizontal motion in it that
>>> sometimes gets interpreted as a scroll. Usually I suspect this is my fault
>>> for not being vertical enough.
>>>
>>> The one that bugs me is though is when my mostly-vertical swipe does
>>> work to kill the app, but only after there has been some left/right scroll
>>> motion. It then snaps the app back to the center before it does the kill
>>> animation. That snap is a little disorienting and I have to mentally pause
>>> for a second to verify that it killed the one I wanted to kill. (This is
>>> easy to see if you intentionally swipe diagonally from the center of the
>>> screen to one of the upper corners.)
>>>
>>> It feels like the scroll is a little too responsive? I wonder if we
>>> could wait a beat on the scroll animation until we decide whether this is a
>>> really a scroll or a swipe. Or alternatively let them both happen at the
>>> same time but eliminate the snap and just let the killed app shoot off into
>>> the ether as it is also scrolling away?
>>>
>>>
>>>
>>> On Thu, Oct 15, 2015 at 4:23 PM, Marcus Cavanaugh <[email protected]> wrote:
>>>
>>>> Wrong bug number, sorry, it should read 1210058.
>>>> https://bugzilla.mozilla.org/show_bug.cgi?id=1210058
>>>>
>>>>
>>>> On Thu, Oct 15, 2015 at 4:22 PM, Marcus Cavanaugh <[email protected]> wrote:
>>>>
>>>>> The QA contact in bug 1210059 <https://bugzil.la/1210059> is having
>>>>> trouble swiping-to-kill apps in task manager. While originally they were
>>>>> swiping incorrectly, they have since provided a video
>>>>> <https://www.youtube.com/watch?v=505dpgnDmhc&feature=youtu.be> which
>>>>> appears to show them having substantial trouble: their swipes are
>>>>> frequently treated as left-to-right swipes.
>>>>>
>>>>> While it's clear that a swipe directed too far sideways will trigger
>>>>> scrolling rather than killing, I find that the current behavior generally
>>>>> matches my intent: A reasonably-confident swipe upward will reliably kill
>>>>> the app, a sideways swipe will scroll, and an indeterminate swipe will
>>>>> perform one or the other, but not both (with perhaps a minimal glitch
>>>>> effect in some cases due to APZ).
>>>>>
>>>>> It's possible that I'm swiping differently than others; perhaps I've
>>>>> been conditioned to swipe definitively along a certain axis. Even so, I
>>>>> haven't been able to reproduce the same kind of difficulty without
>>>>> deliberately trying to swipe ambiguously.
>>>>>
>>>>> Is the current swipe-to-kill gesture a problem, and to what degree?
>>>>> (The latest behavior should be on any nightly since Sept. 30th.)
>>>>>
>>>>
>>>>
>>>> _______________________________________________
>>>> dev-fxos mailing list
>>>> [email protected]
>>>> https://lists.mozilla.org/listinfo/dev-fxos
>>>>
>>>>
>>>
>>> _______________________________________________
>>> dev-fxos mailing list
>>> [email protected]
>>> https://lists.mozilla.org/listinfo/dev-fxos
>>>
>>>
>>
>> _______________________________________________
>> dev-fxos mailing list
>> [email protected]
>> https://lists.mozilla.org/listinfo/dev-fxos
>>
>>
>
> _______________________________________________
> dev-fxos mailing list
> [email protected]
> https://lists.mozilla.org/listinfo/dev-fxos
>
>
_______________________________________________
dev-fxos mailing list
[email protected]
https://lists.mozilla.org/listinfo/dev-fxos

Reply via email to