mastodon / mastodon-ios

Official iOS app for Mastodon
https://app.joinmastodon.org/ios
GNU General Public License v3.0
2.09k stars 269 forks source link

[BUG] Cannot add more than three images to a post at once #1315

Open jackharro opened 5 months ago

jackharro commented 5 months ago

Is there an existing issue for this?

Current Behavior

When adding multiple GIFs and images, in this case 2 GIFs and 1 image, the images are stuck loading. When I remove the GIFs and images, the post UI is unresponsive.

Expected Behavior

I can upload multiple GIFs and images using the native iOS UI without a workaround.

Steps To Reproduce

  1. Make two GIFs from multiple PNG images from the iPad camera using Shortcuts with 2 seconds for each photo or use the example images
  2. Try to add both GIFs and a photo at once to a post with text in it

Environment

- Device: iPad Pro 10.5"
- OS: 16.6.1
- Version: 2024.5
- Build: 6368

Anything else?

A workaround is to upload each image separately with no text in the post, then write the text. I haven't tested the limits of this workaround: does it work with text present? Does it work with no text present and multiple GIFs? What about one GIF and a photo? I'll test these in follow up posts.

Attatched are sample images that I used. Image IMG_1185 Image

jackharro commented 5 months ago
№ GIFs № images Text? Result
1 0 True Upload completes
2 0 True Upload completes
2 1 True UI dies
2 1 False UI dies
1 1 False Upload completes
1 2 False UI dies
0 3 False UI dies

Verdict: we should rename the issue to ’Cannot add more than three images to a post at once‘. I couldn't find this issue already.

sallyFoster commented 5 months ago

The app freezes with me only adding 1 image from an Akkoma.