When I try to save a custom emoji to my gallery, Voyager immediately crashes. This is on Android 11/LineageOS 18.1, Voyager 2.40.1 beta.

Here’s the comment with the specific emoji that crashes my client.

  • limerod@reddthat.com
    link
    fedilink
    English
    arrow-up
    3
    ·
    15 days ago

    Not crashing on my phone running android 15. Just that I don’t get the gif saved for some reasons.

    Voyager version: 2.40.0

  • Quetzalcutlass@lemmy.worldOP
    link
    fedilink
    English
    arrow-up
    2
    ·
    14 days ago

    LogCat implies it’s due to animated pngs being an unsupported format, despite it playing fine in the app and in every gallery when downloaded via browser:

    FATAL EXCEPTION: OkHttp Dispatcher
    Process: app.vger.voyager, PID: 32189
    java.lang.IllegalArgumentException: Unsupported MIME type image/apng
    	at android.database.DatabaseUtils.readExceptionFromParcel(DatabaseUtils.java:172)
    	at android.database.DatabaseUtils.readExceptionFromParcel(DatabaseUtils.java:142)
    	at android.content.ContentProviderProxy.insert(ContentProviderNative.java:549)
    	at android.content.ContentResolver.insert(ContentResolver.java:2149)
    	at android.content.ContentResolver.insert(ContentResolver.java:2111)
    	at dev.harding.capacitor.stashmedia.StashMedia$1.onResponse(StashMedia.java:139)
    	at okhttp3.internal.connection.RealCall$AsyncCall.run(RealCall.kt:519)
    	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1167)
    	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:641)
    	at java.lang.Thread.run(Thread.java:923)
    

    @[email protected]: should I be reporting bugs on the GitHub, or is posting them in this community fine?

  • felsiq@piefed.zip
    link
    fedilink
    English
    arrow-up
    2
    ·
    15 days ago

    Works as normal for me on iOS (and piefed), no crash. Just to confirm we’re using the same save feature, I’m tapping the image to view it full screen, then touching and holding to save to my gallery (photos on iOS). I also tried saving the comment on the off chance that’s what you meant, and had no issues there either.

    • Quetzalcutlass@lemmy.worldOP
      link
      fedilink
      English
      arrow-up
      2
      ·
      14 days ago

      Yeah, it crashes when saving the image from the fullscreen view (though saving it is a three-dot menu option on Android instead of tap and hold). It’s probably some obscure bug in Flutter’s cross-platform support - mobile is a mess when it comes to handling storage.

      Just to confirm though, it shows up in your photo gallery after saving? Someone else on Android didn’t experience the crash but the image didn’t actually save either.

      • felsiq@piefed.zip
        link
        fedilink
        English
        arrow-up
        2
        ·
        14 days ago

        Tested using the three dot menu instead this time (just in case), also works normally. The pic shows up in my gallery with no issues.