You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Then it broke again. I suspect Finish PreviewImageActivity After Image Deletion #14782 , which added finishPreviewImageActivity() to the RemoveFilesDialogFragment, so that PreviewImageActivity::onRemoteOperationFinish() with the responsible logic is never called
On a secondary notice, the position handling in PreviewImageActivity::onRemoteOperationFinish() also seems to have some bugs, which we could fix in the same go:
When deleting the first image in a folder, it doesn't jump to the second, but the third image. If there is no third, an empty view appears
Sometimes (don't know yet, when) it also jumps out of the slideshow.
Lastly all this regressing and being faulty indicates we need an automated test for this.
Steps to reproduce
Expected behaviour
Actual behaviour
The slideshow is left and the parent folder is shown again.
Nextcloud android app version
3.32.3. Also reproducible on masterAdditional information
This functionality seems to break from time to time:
finishPreviewImageActivity()to theRemoveFilesDialogFragment, so thatPreviewImageActivity::onRemoteOperationFinish()with the responsible logic is never calledOn a secondary notice, the position handling in
PreviewImageActivity::onRemoteOperationFinish()also seems to have some bugs, which we could fix in the same go:Lastly all this regressing and being faulty indicates we need an automated test for this.