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

GIFs from Gboard are sent as JPEG #3341

Open
JoeMcNuggets opened this issue Oct 7, 2024 · 5 comments
Open

GIFs from Gboard are sent as JPEG #3341

JoeMcNuggets opened this issue Oct 7, 2024 · 5 comments
Labels

Comments

@JoeMcNuggets
Copy link

  • Android version: 14
  • Device: Pixel 7
  • Delta Chat version: 1.46.14
  • Expected behavior: gifs from google board are sent as gifs
  • Actual behavior: gifs from google board are sent as jpeg
  • Steps to reproduce the problem:
    • install gboard
    • open delta chat
    • select and send gif via gboard
@adbenitez
Copy link
Member

hi @JoeMcNuggets thanks for reporting, I just tried the steps you described but the GIFs look perfectly fine/animated to me and they have the proper .gif file name and mime type:

image

@adbenitez adbenitez added the needs-feedback needs retry or more info must be provided label Oct 7, 2024
@adbenitez
Copy link
Member

so maybe it is about the gboard version you are using? try upgrading, otherwise it is the specific GIFs files you are trying to use, then attach such GIF here so we can reproduce the problem, thanks in advance! 🙏

@JoeMcNuggets
Copy link
Author

JoeMcNuggets commented Oct 7, 2024 via email

@adbenitez
Copy link
Member

adbenitez commented Oct 7, 2024

thanks I could reproduce now, only if I attach it from Gboard (I searched for "goro majima") but if I directly attach the GIF file using the attachment selector then the gif is sent fine,

it seems to be related to the file size, since the GIF is too big it seems Delta Chat core is compressing it and converting it to JPEG, I don't know why it only happens when the image comes from the Gboard keyboard tho, it is likely related to:
https://stackoverflow.com/questions/48108889/gboard-enable-gif-insertion-on-edittext#48184426

@adbenitez adbenitez removed the needs-feedback needs retry or more info must be provided label Oct 7, 2024
@JoeMcNuggets
Copy link
Author

btw, sometimes Gboard says something like "this app does not support pasting gifs". Maybe it can help

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants