fenix icon indicating copy to clipboard operation
fenix copied to clipboard

[Meta] Gestures

Open lime124 opened this issue 7 years ago • 29 comments

We want to support the following gestures:

Long press to select and reveal actions Works on cards, list items and web content, for example

  • [x] long press on tab on home to enter selection mode (implemented)
  • [x] long press on bookmark item to enter selection mode (implemented)
  • [x] long press on history item to enter selection mode (implemented)
  • [x] long press on text, images, links to get additional actions (context menu) (implemented)

Long press to quickly navigate to a view Works on selected UI icons to get quicker to a view, for example

  • [x] long press on multi-select icon to open a new tab (P2) (implemented)
  • [x] long press on back/forward navigation arrow in menu to open a tabs history (P3, #1048 )
  • [x] long press on site lock to open Site permissions in settings (P3)

Pull to refresh

  • [x] https://github.com/mozilla-mobile/fenix/issues/3262
  • [ ] https://github.com/mozilla-mobile/fenix/issues/9766 Works on views that can update content, for example
  • [ ] pull down on a site to refresh the content (P1)
  • [x] pull down on bookmarks to start sync (P2, #2165) (implemented)
  • [x] pull down on history to start sync (P2, #2165) (implemented)

Swipe left/right to delete Works on cards and list items, for example

  • [x] swipe left/right on a card/tab on home to delete (implemented)
  • [x] swipe left/right on a bookmark entry to delete (P3, #12551)
  • [ ] swipe left/right on a history entry to delete (P3, #12610) When people start swiping on a card or list item, the action is revealed and people can either pull through to delete or stop and keep the item.

Swipe left/right to navigate

  • [ ] swipe left/right on site to go backward/forward in tab history (P2, #12327)
  • [x] swipe left/right on browser URL bar to go to previous/next open tab (P2) https://github.com/mozilla-mobile/fenix/issues/3481
  • [ ] consider swipe up/down (depending on bottom or top app bar) to view tab tray / home (#11862)

(priority labels are used to communicate the relative importance of the gesture)

┆Issue is synchronized with this Jira Task

lime124 avatar Jan 16 '19 23:01 lime124

Not clear what that entails, could you please provide more info.

bbinto avatar Jan 18 '19 12:01 bbinto

Figure out swipe gestures for list items. E.g. swipe to close, swipe to send, etc.

shorlander avatar Jan 25 '19 23:01 shorlander

See #396.

yoasif avatar Feb 07 '19 08:02 yoasif

adding #543

lime124 avatar Mar 29 '19 20:03 lime124

adding #504

It'd be nice if, on the home screen, I could swipe to the left or right to kill a tab I have open instead of pressing the "X" button.

boek avatar Mar 29 '19 20:03 boek

https://github.com/mozilla-mobile/android-components/issues/1824

Pull to refresh

lime124 avatar Mar 29 '19 20:03 lime124

#425

lime124 avatar Mar 29 '19 21:03 lime124

there cannot be a swipe-up from bottom gesture #1021

lime124 avatar Mar 29 '19 21:03 lime124

#1254 Adding swipe to go back to a website and forward to a website.

vesta0 avatar Apr 01 '19 04:04 vesta0

I would like to suggest a gesture to switch between tabs by swiping on the address bar, like chrome does. It is very intuitive e make mobile browsing much easier and quicker.

Lululalu avatar Apr 08 '19 20:04 Lululalu

#1254 Adding swipe to go back to a website and forward to a website.

GV bug for iOS-like back/forward navigation gestures: https://bugzilla.mozilla.org/show_bug.cgi?id=1509249

cpeterso avatar Apr 25 '19 21:04 cpeterso

Suggested a new gesture: #2165

sv-ohorvath avatar Apr 30 '19 15:04 sv-ohorvath

The new back gesture in Android Q will automatically add swipe to go back into the app (from either side of the screen), but its probably still worth adding support for older Android versions and supporting forward swipes.

NotWoods avatar May 22 '19 15:05 NotWoods

Switching tabs by swiping is absolutely essential to me and people I know. I don't exaggerate when I say that this is the only reason I cannot use Firefox. Currently, switching tabs requires at least three taps. That is just too cumbersome.

ChristianCiach avatar Jun 29 '19 08:06 ChristianCiach

The accidental swipe-up from bottom issue should not be dismissed, every week I see someone mention this either in Play Store reviews, on reddit, Twitter etc. It's not only an issue for phones that use the swipe-up to go Home gesture, it's for 100% of phones because it happens when users are trying to scroll down a webpage. 2 users in this reddit thread from today mentioned it... https://www.reddit.com/r/firefox/comments/cx2tgj/lets_share_opinions_on_firefox_preview_on_android/ Please see my original post here for more details https://github.com/mozilla-mobile/fenix/issues/1021

willfs84 avatar Aug 29 '19 18:08 willfs84

Long-press back button is definitely something I miss on a regular basis.

djc avatar Jan 27 '20 09:01 djc

long press on back/forward navigation arrow in menu to open history (P3)

I think many people are expecting long press on back or forward to open the history for that specific tab, like in Fennec. The overall history page is not much use for tab hoarders like me ;)

madb1lly avatar Feb 27 '20 14:02 madb1lly

And also swipe to go backward/forward in tab history. Is a must have feature to me, the only browser doing it right ATM is Safari on IOS. Having this in Firefox would be great also to be ahead of other browsers.

echeoquehaii avatar Mar 02 '20 16:03 echeoquehaii

I opened https://github.com/mozilla-mobile/fenix/issues/10374 which conflicts with:

long press on multi-select icon to open a new tab (P2)

so I hope it can be reevaluated, given that a competing browser supports https://github.com/mozilla-mobile/fenix/issues/10374

yoasif avatar May 02 '20 19:05 yoasif

Still interest in: swipe left/right on browser URL bar to go to previous/next open tab (P2)

I've grown so accustomed to switching tabs by swiping on the URL bar that I can't use Firefox for mobile...

yoasif avatar Jun 08 '20 21:06 yoasif