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

Touchpad Swipe Gesture Issues #265

Open
ayykamp opened this issue Oct 29, 2024 · 3 comments
Open

Touchpad Swipe Gesture Issues #265

ayykamp opened this issue Oct 29, 2024 · 3 comments

Comments

@ayykamp
Copy link

ayykamp commented Oct 29, 2024

When the photo viewer is open swiping left/right should navigate between the prev/next photo.
But because the photo viewer is wrapped in a Adw::NavigationView swiping left also navigates back.
So the current behavior is a bit weird:
When swiping left it always navigates correctly to the next photo.
When swiping right it navigates to the previous photo unless you swiped left just before that.
Starting but not completing the "navigate back" gesture seems to reset this.
I've made a small screencast to demonstrate:

What I did is just:

  1. Swipe right (works)
  2. Swipe left partially (start navigating back but not completely)
  3. Swipe left again (works normally now)
    Screencast from 2024-10-29 12-11-41.webm
@blissd
Copy link
Owner

blissd commented Oct 29, 2024

Hi @ayykamp. Thank you for your bug report. I have a confession... I knew about this problem and shipped anyway 🥇

I would like to fix this, but I'm not sure how. I guess I either have to configure the adw::NavigationView to disable swiping to dismiss, or find an alternative to adw::NavigationView.

Do you have a suggestion as to what could replace that view?

@ayykamp
Copy link
Author

ayykamp commented Oct 29, 2024

I dont really, no. I also dont really know what the ideal solution for this is, I kinda like the swipe to dismiss gesture.

@blissd
Copy link
Owner

blissd commented Oct 29, 2024

I like having a swipe to dismiss gesture, too. I think I'd like to have the dismiss gesture be a swipe down, though. Hmm... I think the Tuba Mastodon client works that way when displaying images. I'll take a look at the widgets it uses.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants