Skip to content
This repository has been archived by the owner on Feb 20, 2023. It is now read-only.

Allow users disabling gesture based features #10240

Closed
Mugurell opened this issue Apr 27, 2020 · 48 comments
Closed

Allow users disabling gesture based features #10240

Mugurell opened this issue Apr 27, 2020 · 48 comments
Assignees
Labels
eng:qa:verified QA Verified eng:ready Ready for engineering Feature:Gesture feature request 🌟 New functionality and improvements

Comments

@Mugurell
Copy link
Contributor

Mugurell commented Apr 27, 2020

Why/User Benefit/User Problem

Based on user requests for an option to disable gesture based features we should allow an easy way of toggling:

What/Requirements

New toggles for the above features.
Strawman mockup - #10240 (comment):

String resources - #13442 (comment)

Here are strings for all four gestures. Can you confirm that the first two will be what will be implemented? The ones from the mock are outdated.

  • Pull to refresh
  • Scroll to hide toolbar
  • Swipe toolbar sideways to switch tabs
  • Swipe toolbar up to open tabs

Acceptance Criteria (how do I know when I’m done?)

Users can easily find the settings to enable / disable gesture based features.

┆Issue is synchronized with this Jira Task

@Mugurell Mugurell added the needs:UX-feedback Needs UX Feedback label Apr 27, 2020
@Mugurell
Copy link
Contributor Author

Mugurell commented Apr 27, 2020

@ UX how should this be organized?

  • In new "Gestures" settings screen
    • In a new "Gestures" settings screen?
    • In a new "Gestures" section?
    • Individual toggles?
  • Should the above be inside Settings -> Accessibility or in a new page inside Settings?

@github-actions github-actions bot added the needs:triage Issue needs triage label Apr 27, 2020
@abodea abodea added Feature:Gesture feature request 🌟 New functionality and improvements and removed needs:triage Issue needs triage labels Apr 27, 2020
@eliserichards eliserichards removed this from Inbox in Engineering triage Apr 27, 2020
@eliserichards eliserichards added this to Triage in Feature Discovery Apr 27, 2020
@brampitoyo brampitoyo self-assigned this Apr 27, 2020
@brampitoyo
Copy link

@Mugurell Would you be able to describe some of our user issues with pull to refresh and dynamic toolbar?

I assume that pull to refresh might interfere with certain site header, and dynamic toolbar would sometimes not minimise?

@Mugurell
Copy link
Contributor Author

Basically:

  • user gestures trigger pull down / dynamic toolbar when they shouldn't (horizontal scrolls, zoom motions)
  • there still edgecases with websites for which pull down/dynamic toolbar are triggered when they shouldn't / are not triggered when they should.
  • for the dynamic toolbar there are indeed cases in which it interferes with the page layout, like [Bug] Dynamic Nav Bar leaves white space on certain websites #8768

And there are users that requested an option to disable these: #8847, #9719

@AmyYLee
Copy link
Collaborator

AmyYLee commented Jun 3, 2020

@brampitoyo to follow-up

@brampitoyo
Copy link

@Mugurell I don’t see this as a big issue for two reasons:

  1. Chrome has both pull-to-refresh and dynamic toolbar
  2. These gestures are fully consistent with Material Design guidelines:

In the interest of customisability – but being aware of feature creep – if there’s sufficient interest and problem to address, I’d consider adding those options under Settings.


Toolbar auto-hide

It makes sense, as written on #8847 (comment), to ”add this setting below the one that let you choose if you want the toolbar at the top or at the bottom“.

Pull-to-refresh

I also think that we should put it under the “Customise” sub-page.


@betsymi do you have any opinion on:

  • Whether it makes sense, in the first place, to have a setting to turn off toolbar auto-hide and pull-to-refresh gestures?
  • The placement of these settings
  • The name/strings that we should call them

@brampitoyo
Copy link

Posting a strawman mockup of what the gesture settings may look like under the “Customize” Settings sub-page. CC @betsymi.

@kbrosnan
Copy link
Contributor

This looks really good Bram! I like breaking out gestures into their own heading which fixes a problem I saw with information hierarchy in pr #11678. The pr made it look like scrolling the toolbar only applied to the bottom toolbar. Should we tweak the wording a little? Down is used to describe two different gestures. Pull down to reload sites the user gesture is tap-hold and drag down. Scroll down to hide toolbar the user gesture is tap-hold and drag up. How about Scroll to hide address bar ?

@paritosh9199
Copy link

Any progress on this issue? When will the option for disabling the scroll down to hide toolbar be added?

@kbrosnan
Copy link
Contributor

kbrosnan commented Jul 5, 2020

The pull request adds text strings. The project is in a string freeze for a while. Until the freeze is lifted the pull request is not eligible to land. In addition it requires some changes to bring it into line with what Bram showed.

@brampitoyo
Copy link

Thanks @kbrosnan. For the string change, I will ask @betsymi to comment on these.

@Mugurell
Copy link
Contributor Author

According to the original issue, eventually there will also be a Swipe toolbar up to show open tabs, which would suggest Swipe toolbar to switch tabs won't make sense without the sideways.

Do you know of the issue for this? Please link if you know where that is being discussed

It's mentioned in the first comment on this ticket.
Swipe toolbar up to show open tabs is to be added in #11862

@Mugurell
Copy link
Contributor Author

@Mugurell Mugurell moved this from In Dev Review to QA Review in Hershey's 🍫 Sep 10, 2020
@Mugurell Mugurell added the eng:qa:needed QA Needed label Sep 10, 2020
@sv-ohorvath
Copy link
Contributor

Verified on Nightly 9/10 on different devices and besides the already filled issues, I didn't find anything new. I'll close this as fixed.
Devices:
Pixel 4 (Android 10)
Nexus 9 (Android 7.1)
HTC Desire 820 (Android 6.0.1)

@sv-ohorvath sv-ohorvath added eng:qa:verified QA Verified and removed eng:qa:needed QA Needed labels Sep 10, 2020
@paritosh9199
Copy link

The url bar seems to autohide even after disabling autohide on scroll in settings.

Device: OnePlus 7
Nightly 200910 06:07 (Build #2015763059)
AC: 58.0.20200908130811, 52ac53ba1
GV: 82.0a1-20200907094115
AS: 61.0.13

@sv-ohorvath
Copy link
Contributor

@paritosh9199 That was already mentioned here: #10240 (comment)
Thanks for checking!

@andreicristianpetcu
Copy link

Scroll to hide toolbar only works for top bar, not bottom bar.

@hwinnemoe
Copy link

@andreicristianpetcu see #14902

@Imerion
Copy link

Imerion commented Sep 10, 2020

@andreicristianpetcu That is odd. How come? I really prefer the bottom bar since it is possible to reach without using both hands, but I really want it to stay there at all times and not hide.

@andreicristianpetcu
Copy link

@lmerion I expect it to work the same for both top and bottom. Top works, bottom has a bug mentioned above your comment.

@Imerion
Copy link

Imerion commented Sep 10, 2020

@andreicristianpetcu Ah, I see! Sorry! I was a bit to quick there and missed the post with the bug. I thought the behaviour was intentional.

@brabebhin
Copy link

Good work. Nightly firefox now feels like a proper, respectable browser, not the toy the live version feels like.

ekager added a commit to ekager/fenix that referenced this issue Sep 11, 2020
liuche pushed a commit that referenced this issue Sep 11, 2020
* Revert "For #10240 - New preferences to control gesture based features"

This reverts commit d8d896c.

* Revert "For #14902 - Disabling bottom toolbar animation now works (#14927)"

This reverts commit b54949e.
@vesta0 vesta0 moved this from In progress to Done in Feature Discovery Sep 15, 2020
@Imerion
Copy link

Imerion commented Sep 17, 2020

Sorry if I'm not following what is happening here. This worked perfectly for me in the last beta (Blackberry KeyOne, Android 8.1) and made browsing so much smoother and more efficient, but in the latest beta the options are gone again. Is this just a temporary removal to fix bugs or what is happening?

@cadeyrn
Copy link
Contributor

cadeyrn commented Sep 17, 2020

@Imerion see https://github.com/mozilla-mobile/fenix/releases/tag/v81.1.1-beta.4:

Disables gestures controls (which had some problems in Nightly) #15005

@Imerion
Copy link

Imerion commented Sep 17, 2020

@cadeyrn Ok, so they will be brought back once those issues are fixed? Because i really believe these options are necessary for usability and accessability reasons.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
eng:qa:verified QA Verified eng:ready Ready for engineering Feature:Gesture feature request 🌟 New functionality and improvements
Projects
No open projects
Development

No branches or pull requests