Skip to content

Conversation

alperozturk96
Copy link
Collaborator

@alperozturk96 alperozturk96 commented Apr 11, 2025

  • Tests written, or not not needed

How to reproduce?

  1. Create a folder and upload two image files of the same type.
  2. Tap on one of the image files to open its preview, then delete it from there.
  3. Repeat the same process for an encrypted folder.
  4. App gets stuck in the PreviewImageActivity

Signed-off-by: alperozturk <[email protected]>
@alperozturk96 alperozturk96 requested review from tobiasKaminsky and removed request for tobiasKaminsky April 11, 2025 14:46
@github-actions
Copy link

Codacy

Lint

TypemasterPR
Warnings5454
Errors1111

SpotBugs

CategoryBaseNew
Bad practice6565
Correctness5858
Dodgy code292292
Experimental11
Internationalization77
Malicious code vulnerability11
Multithreaded correctness77
Performance5151
Security1818
Total500500

@github-actions
Copy link

APK file: https://www.kaminsky.me/nc-dev/android-artifacts/14782.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.

@alperozturk96 alperozturk96 merged commit d77f207 into master Apr 23, 2025
24 of 25 checks passed
@alperozturk96 alperozturk96 deleted the finish-preview-image-activity-after-delete-image branch April 23, 2025 08:08
@tobiasKaminsky tobiasKaminsky added this to the Nextcloud App 3.32.0 milestone May 8, 2025
PhilLab added a commit to PhilLab/nextcloud-android that referenced this pull request Sep 21, 2025
The patch added in nextcloud#14782 prevented that the callback
onRemoteOperationFinish() was ever called.

Secondly, the manual update of adapter and pager is only needed if user
is not present. When user is present, the initViewPager() takes care
of everything.
PhilLab added a commit to PhilLab/nextcloud-android that referenced this pull request Sep 21, 2025
The patch added in nextcloud#14782 prevented that the callback
onRemoteOperationFinish() was ever called.

Secondly, the manual update of adapter and pager is only needed if user
is not present. When user is present, the initViewPager() takes care
of everything.

Signed-off-by: Philipp Hasper <[email protected]>
@PhilLab PhilLab mentioned this pull request Sep 21, 2025
1 task
alperozturk96 pushed a commit to PhilLab/nextcloud-android that referenced this pull request Oct 6, 2025
The patch added in nextcloud#14782 prevented that the callback
onRemoteOperationFinish() was ever called.

Secondly, the manual update of adapter and pager is only needed if user
is not present. When user is present, the initViewPager() takes care
of everything.

Signed-off-by: Philipp Hasper <[email protected]>
PhilLab added a commit to PhilLab/nextcloud-android that referenced this pull request Oct 17, 2025
The patch added in nextcloud#14782 prevented that the callback
onRemoteOperationFinish() was ever called.

Secondly, the manual update of adapter and pager is only needed if user
is not present. When user is present, the initViewPager() takes care
of everything.

Signed-off-by: Philipp Hasper <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants