Move swipe-to-nav icon in response to the gesture to make it more noticeable on Windows
Categories
(Core :: Panning and Zooming, enhancement, P3)
Tracking
()
Tracking | Status | |
---|---|---|
firefox105 | --- | fixed |
People
(Reporter: hiro, Assigned: hiro)
References
(Blocks 1 open bug)
Details
Attachments
(6 files)
We haven't yet received any feedback from UX side, but we'd at least want to make the icon more noticeable just like Safari and Chrome do.
Assignee | ||
Comment 1•3 years ago
|
||
Attaching svg file will be a new icon. The reason why we need this new one is, the original one is a half circle, it would look odd the half circle is moving, it would be better a full circle.
The differences from the original one are;
- a half circle -> a full circle
- an arrow icon inside the circle got bigger
Assignee | ||
Comment 2•3 years ago
|
||
Assignee | ||
Comment 3•3 years ago
|
||
It turned out Chrome on MacOSX has a different swipe-to-nav gesture icon on Windows. The shape looks similar to us, a half circle, it actually moves in response to gestures, but it's quite small amount, it never makes the circle visible as a full circle. I am going to restrict this change only on Windows.
Comment 4•3 years ago
|
||
I just pointed out Chrome's animation on mac using a half-circle as comparative information. I think we should also have movement on mac, whether we keep the half-circle or use a full circle on mac.
Updated•3 years ago
|
Assignee | ||
Comment 5•3 years ago
|
||
(In reply to Timothy Nikkel (:tnikkel) from comment #4)
I just pointed out Chrome's animation on mac using a half-circle as comparative information. I think we should also have movement on mac, whether we keep the half-circle or use a full circle on mac.
Thanks! I didn't notice your comment on the phab. Yeah, I suppose we probably end up having platform dependent behaviors. I'd start with Windows specific one in this bug.
Updated•3 years ago
|
Updated•3 years ago
|
Updated•3 years ago
|
Comment 6•3 years ago
|
||
This is a video showing what it looks like with Hiro's patch with a couple tweaks so that it also applies to macos in addition to Windows (it's easier for me to produce a screen capture on macOS).
Assignee | ||
Comment 7•3 years ago
|
||
Thank you, Timothy.
I did also record a screen capture with an additional change based on D150433. The additional change is that, as Timothy suggested in an APZ team meeting, changing icon colors when the icon reached to a point where the navigation will be triggered. I did it by using -moz-context-properties, it works as expected.
That's said, the additional change isn't perfect as of now, the icon color isn't going back to normal even after the user's fingers swipes back a bit, at that point the navigation won't happen.
Anyways, this is just a proof-of-concept, we can do this kind of more fancy visual feedback in a future bug. I am supposing we could make the color change as blinking animation.
I am going to post the additional change here in this bug for the record.
Assignee | ||
Comment 8•3 years ago
|
||
Here is the additional change.
Assignee | ||
Comment 9•3 years ago
|
||
Updated•3 years ago
|
Comment 10•3 years ago
|
||
Comment 11•3 years ago
|
||
Backed out for causing bc failures on browser_test_swipe_gesture.js
Assignee | ||
Comment 12•3 years ago
|
||
The failed test needs to set browser.swipe.navigation-icon-move-distance=0.
Updated•3 years ago
|
Comment 13•3 years ago
|
||
Comment 14•3 years ago
|
||
bugherder |
https://hg.mozilla.org/mozilla-central/rev/573e1fde234c
https://hg.mozilla.org/mozilla-central/rev/065a34bf58c2
Description
•