Skip to content

Conversation

@rapterjet2004
Copy link
Contributor

🏁 Checklist

  • ⛑️ Tests (unit and/or integration) are included or not needed
  • 🔖 Capability is checked or not needed
  • 🔙 Backport requests are created or not needed: /backport to stable-xx.x
  • 📅 Milestone is set
  • 🌸 PR title is meaningful (if it should be in the changelog: is it meaningful to users?)

- Added FullScreenGestureListener for handling swipe logic

Signed-off-by: rapterjet2004 <[email protected]>
@rapterjet2004 rapterjet2004 self-assigned this Dec 5, 2025
@rapterjet2004 rapterjet2004 added the 3. to review Waiting for reviews label Dec 5, 2025
@github-actions
Copy link
Contributor

github-actions bot commented Dec 5, 2025

Codacy

Lint

TypemasterPR
Warnings9999
Errors00

SpotBugs

CategoryBaseNew
Bad practice66
Correctness1010
Dodgy code5454
Internationalization33
Malicious code vulnerability33
Performance44
Security11
Total8181

@github-actions
Copy link
Contributor

github-actions bot commented Dec 5, 2025

APK file: https://www.kaminsky.me/nc-dev/android-artifacts/5622.apk

qrcode

To test this change/fix you can simply download above APK file and install and test it in parallel to your existing Nextcloud app.

Copy link
Member

@AndyScherzinger AndyScherzinger left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@rapterjet2004 The swipe itself works fine but the closing animation is a slide l-t-r instead of a top to bottom. The animation makes sense for the classic back arrow of course, yet if possible for the swipe down it should match the gesture itself. Also fine to have it as a follow up, this is the blocking a merged from my pov

@rapterjet2004
Copy link
Contributor Author

After thinking about it, I think it might be better to refactor these full screen viewers to use fragments instead in a follow up PR. That way they can just use a Bottom Sheet, which IMO has a better UX. @AndyScherzinger thoughts?

@AndyScherzinger
Copy link
Member

Sounds good to me for a follow up but don't think that would be a priority right now. For example getting the sdk bumped to 36 to unblock library updated from being merged would be more important.

I am also fine with the current state since it is already an improvement but leave the review to @mahibi

Copy link
Collaborator

@mahibi mahibi left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This PR breaks zooming and the toggle to show/hide appbar/navbar.

Yes it would be much nicer with an animation.
Also, both swiping up and down should close it?

Regarding the refactoring i suggest to take a step back and take into account more requirements,
e.g.:

But i agree it's not a high priority and other things are more important.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

3. to review Waiting for reviews

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Be able to close photos and videos by swipe gesture

4 participants