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

[Meta] Pull to refresh issues #9766

Closed
12 of 13 tasks
Mugurell opened this issue Apr 7, 2020 · 42 comments
Closed
12 of 13 tasks

[Meta] Pull to refresh issues #9766

Mugurell opened this issue Apr 7, 2020 · 42 comments
Labels
🐞 bug Crashes, Something isn't working, .. Feature:Gesture meta S1 Blocks development/testing, may impact more than 25% of users, causes data loss, potential chemspill

Comments

@Mugurell
Copy link
Contributor

Mugurell commented Apr 7, 2020

After enabling "pull to refresh" in #3262 a number of issues were discovered.

Most of the issues relate to the following:

 
As such we will disable pull to refresh until all of the above issues are resolved.
- [x] #9770

 
With most of the issues fixed this is ready for nightly but should not get into Beta / Release until all issues are fixed.

┆Issue is synchronized with this Jira Task

@github-actions github-actions bot added the needs:triage Issue needs triage label Apr 7, 2020
@abodea
Copy link
Member

abodea commented Apr 7, 2020

Hi, below you can find all the related bugs to the Pull to refresh feature.

Website Bug ID Reproducible? Comments
https://bing.com/covid 9724 ✔️
Phonearena.com 9720 ✔️
twitter 9718 ✔️
GitHub 9708 ✔️
uBlock Origin settings 9715 ✔️
Bugzilla 9715 ✔️ Bugzilla bug 1415628

@abodea abodea added Feature:Gesture S1 Blocks development/testing, may impact more than 25% of users, causes data loss, potential chemspill 🐞 bug Crashes, Something isn't working, .. and removed needs:triage Issue needs triage labels Apr 7, 2020
@caugner
Copy link

caugner commented Apr 8, 2020

Please also consider disabling pull to refresh after the user has started to fill out a form:

  1. Open https://www.caresteouvert.fr/@48.861687,2.333530,17.81/place/n4246099576
  2. Select "Report a change"
  3. "Select "No"
  4. Type in some text
  5. (Accidentally) pull down
  6. Page refreshes

@abodea
Copy link
Member

abodea commented Apr 8, 2020

Hi, @caugner thank you for the notice!
Note that I already verified the issue on the latest build you can find it here #9770 (comment).
The Nightly from the Play Store will update soon and you will be able to see the change too.
I verified the issue following your steps and I couldn't reproduce it as the feature was disabled.

@caugner
Copy link

caugner commented Apr 8, 2020

Maybe off-topic, but would be possible to link the feature to a about:config flag?

@staktrace
Copy link

See also #9799 - that should be fixed too before re-enabling, and doesn't seem to be covered by the existing issues on this ticket.

@caugner
Copy link

caugner commented Apr 11, 2020

The Nightly from the Play Store will update soon and you will be able to see the change too.

My Nightly still pulls to refresh, despite being on the latest Play Store version. This is really frustrating, because I keep losing form input (e.g. on Twitter and in Mattermost).

@cadeyrn
Copy link
Contributor

cadeyrn commented Apr 11, 2020

Play Store updates are paused due to https://bugzilla.mozilla.org/show_bug.cgi?id=1628413.

@liuche
Copy link
Contributor

liuche commented Apr 16, 2020

@Mugurell it looks like the GV bug has been fixed, so it should be in Fenix Nightly. I can't tell if the other issue is a GV bug, but if all the fixes are ready, is this something your team could prioritize in a sprint? It will be important for PWAs to be able to refresh #204 .

@TitanNano
Copy link
Contributor

@liuche PWAs can currently be refreshed via the site control notification.

@0xRustlang
Copy link

0xRustlang commented Apr 23, 2020

Sorry for off-topic but please consider making pull to refresh optional.

That is really irritating for some people with accessibility problems like me.

Thank you for all your hard working.

Stay safe.
Regards.

@abodea
Copy link
Member

abodea commented Apr 23, 2020

Thank you for this suggestion @3j9fkyahunqoxwqu, note that I will add a feature request regarding this.

@sblatz
Copy link
Contributor

sblatz commented May 14, 2020

@Mugurell looks like the GV fix is about to land. Once it does, is there anything we need to change on the AC/Fenix side or will we get these benefits for free?

@foscoj
Copy link

foscoj commented Oct 25, 2020

Very nice feature, love it!
Sometimes there is an unintended refresh when I try pinch to zoom, but it is working great so far!

@Felk
Copy link

Felk commented Oct 25, 2020

I am trying to build a website with a canvas to draw on. This requires me to prevent the pull-to-refresh. I took a look at this stackoverflow post and tried the following, simultaneously:

  • give the canvas the CSS directive touch-action: none;
  • call preventDefault() on the touchmove event
  • give the canvas and the body the CSS directive overscroll-behavior: contain;

Firefox nightly still performed the pull-to-refresh gesture. On Chrome adding the touch-action: none; directive to the canvas was sufficient to prevent the pull-to-refresh gesture.

@masayuki-nakano
Copy link

* call `preventDefault()` on the touchmove event

Firefox nightly still performed the pull-to-refresh gesture.

As a module owner of DOM Events, I can say this is obviously a bug of Fenix because touchmove must be cancelable event.
https://w3c.github.io/touch-events/#list-of-touchevent-types

@masayuki-nakano
Copy link

And Gecko makes touch events cancelable except touchcancel.
https://searchfox.org/mozilla-central/rev/e1d1f043957191616721b9e8bf811c0aab8a203a/widget/TouchEvents.h#166

@mstange
Copy link
Contributor

mstange commented Nov 14, 2020

I've filed #16574, mozilla-mobile/android-components#9043 and #16576 on the webcompat issues enumerated in the previous comments. @Mugurell, could you please add those to the list?
I've also filed #16577 which is not strictly a webcompat issue but should help reduce accidental triggers.

@emilio
Copy link
Contributor

emilio commented Nov 16, 2020

I filed #16574 / #16598 on other compat issues I found.

@Mugurell
Copy link
Contributor Author

#16577

@mstange
Copy link
Contributor

mstange commented Feb 1, 2021

Also #16661

@Mugurell Mugurell added this to Needs Investigations in Toolbar/Refresh issues via automation Feb 4, 2021
@steffchep
Copy link

I'd be fine with just having a refresh button top-level. rather than inside the menu, tbh.

@Grant-ed
Copy link

Does anyone know if there is any progress on this issue? This is the only reason why I am not using the release version, and I can imagine it is for other people as well.

@vesta0 vesta0 moved this from Q2 to Next in Fenix Product Backlog Sep 29, 2021
@kelimuttu
Copy link

Related discussion on Reddit recently

@kris-kuiper
Copy link

Anyone that can tell when this will be available for stable? Been for years now..

@davidacardona
Copy link

I'd be fine with just having a refresh button top-level. rather than inside the menu, tbh.

This should be a solution, let you optionally add the refresh button next to the address bar.

@Juraj-Masiar
Copy link

Maybe it could be enabled in Beta?
If it needs testing, then adding option to enable it in "Firefox Beta for Testers" sounds like a good start :)
(I've been using it in Nightly for about 2 years and it works like 95%, so pretty good!)

@kelimuttu
Copy link

Another related discussion on Reddit about this recently.

@davi-ro
Copy link

davi-ro commented Nov 17, 2022

Maybe it could be enabled in Beta? If it needs testing, then adding option to enable it in "Firefox Beta for Testers" sounds like a good start :) (I've been using it in Nightly for about 2 years and it works like 95%, so pretty good!)

Firefox Beta for Android now supports collections so you can install all kind of plugins made for the main firefox browser and there is a plugin "Pull to Refresh" that works very well for me on android, already tested it for about 2 weeks and no major problems so far. Also thanks to collections, i could test more plugins and some of them work really well in the firefox android browser too.

@lazymonkey2
Copy link

@davi-ro
Thanks for the info.
I just tried searching for "pull" to add the extension to my custom collection, but it is not found.
But if I search with google I found this:
https://addons.mozilla.org/en-US/firefox/addon/firefox-pull-to-refresh/
It's just that I'm not able to add it in my custom collection.
How did you managed to add the extension?
Thanks.

@davi-ro
Copy link

davi-ro commented Nov 18, 2022

Find/Add desired plugins into your custom collection, from firefox browser on pc. When using firefox on android you won't see all the addons that firefox has.

@tesmite
Copy link

tesmite commented Dec 1, 2022

#21536 and #25964 (both are same problem) are caused by this function and it has been a while since it was reported, but there is no follow-up.
This issue has occurred on many sites including GitHub, and we believe it should be resolved as soon as possible.

@csadilek
Copy link
Contributor

Moved to bugzilla: https://bugzilla.mozilla.org/show_bug.cgi?id=1807071

Change performed by the Move to Bugzilla add-on.

Fenix Sprint Kanban automation moved this from Feature Backlog to Sprint 20.11 Done Dec 22, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
🐞 bug Crashes, Something isn't working, .. Feature:Gesture meta S1 Blocks development/testing, may impact more than 25% of users, causes data loss, potential chemspill
Projects
Fenix Sprint Kanban
  
Sprint 20.11 Done
Toolbar/Refresh issues
Needs Investigations
Fenix Q2 Feature Backlog
Build fast & intuitive user journeys
Fenix: GeckoView
  
High Priority
Development

No branches or pull requests