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

Cannot Open Offline Photos After Video #14470

Open
4 tasks done
alexknop opened this issue Jan 27, 2025 · 1 comment · May be fixed by #14502
Open
4 tasks done

Cannot Open Offline Photos After Video #14470

alexknop opened this issue Jan 27, 2025 · 1 comment · May be fixed by #14502

Comments

@alexknop
Copy link

⚠️ Before posting ⚠️

  • This is a bug, not a question or an enhancement.
  • I've searched for similar issues and didn't find a duplicate.
  • I've written a clear and descriptive title for this issue, not just "Bug" or "Crash".
  • I agree to follow Nextcloud's Code of Conduct.

Steps to reproduce

  1. Download a folder with photos and videos offline
  2. Turn off Internet connection to where server is unavailable
  3. Open a video offline
  4. Try to open a photo afterwards and find app unresponsive

Expected behaviour

Should be able to open photos after opening video.

Actual behaviour

When trying to open a photo nothing happens

Android version

15

Device brand and model

TCL 50 XE

Stock or custom OS?

Stock

Nextcloud android app version

3.30.8

Nextcloud server version

30.0.5

Using a reverse proxy?

No

Android logs

logcatOutput.txt

Server error logs

Additional information

No response

@alexknop
Copy link
Author

I also got this crash shortly after

`### Cause of error

Exception in thread "main" java.lang.IllegalStateException: Can not perform this action after onSaveInstanceState
    at androidx.fragment.app.FragmentManager.checkStateLoss(FragmentManager.java:1862)
    at androidx.fragment.app.FragmentManager.ensureExecReady(FragmentManager.java:1963)
    at androidx.fragment.app.FragmentManager.execSingleAction(FragmentManager.java:1977)
    at androidx.fragment.app.BackStackRecord.commitNow(BackStackRecord.java:317)
    at com.owncloud.android.ui.activity.FileActivity.lambda$showLoadingDialog$0(FileActivity.java:548)
    at com.owncloud.android.ui.activity.FileActivity.$r8$lambda$nnl4G_wZDgkvD6wdFZ2uoTUqJso(Unknown Source:0)
    at com.owncloud.android.ui.activity.FileActivity$$ExternalSyntheticLambda3.run(D8$$SyntheticClass:0)
    at android.app.Activity.runOnUiThread(Activity.java:8045)
    at com.owncloud.android.ui.activity.FileActivity.showLoadingDialog(FileActivity.java:538)
    at com.owncloud.android.ui.helpers.FileOperationsHelper.lambda$syncFile$1(FileOperationsHelper.java:220)
    at com.owncloud.android.ui.helpers.FileOperationsHelper.$r8$lambda$Zjp8lEWqA9AaSFevrtcfzcD4bWI(Unknown Source:0)
    at com.owncloud.android.ui.helpers.FileOperationsHelper$$ExternalSyntheticLambda2.run(D8$$SyntheticClass:0)
    at android.os.Handler.handleCallback(Handler.java:959)
    at android.os.Handler.dispatchMessage(Handler.java:100)
    at android.os.Looper.loopOnce(Looper.java:254)
    at android.os.Looper.loop(Looper.java:350)
    at android.app.ActivityThread.main(ActivityThread.java:8857)
    at java.lang.reflect.Method.invoke(Native Method)
    at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:617)
    at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1002)

App information

  • ID: com.nextcloud.android.beta
  • Version: 20250127
  • Build flavor: versionDev

Device information

  • Brand: TCL
  • Device: Sunrise_NA_OM
  • Model: T705M
  • Id: AP3A.240905.015.A2
  • Product: T705M

Firmware

  • SDK: 35
  • Release: 15
  • Incremental: 8KNC
  • '

@alexknop alexknop linked a pull request Feb 5, 2025 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant