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
{{ message }}
Repository navigation
[Bug]: pasting an animated GIF on iOS flattens it to PNG #37142
I searched existing issues and did not find a duplicate.
I included enough detail to reproduce or investigate the problem.
Area
apps/mobile
Steps to reproduce
Copy an animated GIF from an iOS app that offers the GIF through an NSItemProvider.
Paste into the native T3 Code composer.
Inspect the attachment: it is a static PNG rather than the original animated GIF.
The deterministic native repro registers GIF bytes on a real NSItemProvider, calls the production composer paste entry point, and inspects its emitted file. Run it with onmac run -- onmac-job bash apps/mobile/modules/t3-composer-editor/tests/run-ios.sh after applying the regression test from the linked fix.
Expected behavior
Pasting a GIF preserves its original animated data when the provider supplies it and the attachment is within the existing byte limit, as selecting it with the image picker does.
Actual behavior
The native provider path decodes to UIImage and encodes PNG, discarding animation.
Impact
Minor bug or occasional failure
Version or commit
Reproduced on upstream main at aaf5b9c. Bughunt and independent verifier previously confirmed at 2dc5ebd.
Environment
Native iOS composer; reproduced against real UIKit in the repository's Mac Catalyst test harness.
Logs or stack traces
The regression test fails on main because the pasted GIF attachment is PNG. It passes with the fix and verifies byte-for-byte GIF preservation alongside unchanged still-image PNG output.
Activity