Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add two finger swipe gestures for navigation #26

Open
Suzie97 opened this issue Dec 20, 2021 · 1 comment
Open

Add two finger swipe gestures for navigation #26

Suzie97 opened this issue Dec 20, 2021 · 1 comment
Labels
enhancement New feature or request

Comments

@Suzie97
Copy link
Contributor

Suzie97 commented Dec 20, 2021

Proposal

Swiping using two fingers to move back and forward would be a very nice feature to have. We should aim to make it 1:1, or else it wouldn't make much sense to adopt it.

Prior Art

  • Safari on macOS
  • GNOME Web/Epiphany on GNOME and elementary OS
  • Lagrange on macOS

Example

Screen.Recording.2022-01-23.at.21.52.08.mov
@Antolius
Copy link
Contributor

Antolius commented Dec 21, 2021

I love this suggestion and am definitely interested in doing this! In addition to improving the usage on devices with trackpad it would require some refactoring that would improve experience for all users.

Currently Gemini pages are fetched anwe whenever user navigates back/forward. In order to make gesture based navigation seamless this would have to change. A cached version of the page would need to be kept. This would make navigation snappier regardless of the way user invokes it. Plus, it would be easy to retain the scroll position when navigating back/forward, which is another nice improvement.

I'm reluctant to start work on this right away though, because of 2 reasons:

  1. If I were to implement it today I'd use libhandy to handle gestures. With migration to GTK 4 and libadwaita from elementary OS side already in progress and expected to land in q2 2022 I'd rather wait for that. Adding more libhandy code today will complicate the migration in a couple of months.
  2. I think some of the issues around adress bar (missing Gemini search + history based suggestions) and accessibility (keyboard navigation + support for screen readers) might bring more value. So I'm more inclined to work on them first.

@Antolius Antolius added the enhancement New feature or request label Jan 18, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants