2.21: pasting gif issue
no longer works pasting gif. now everytime i do i only see png which has been pasted in the field.
-- App Review, Samsung Galaxy S24 Ultra
At the moment, I assume they have just (unintentionally) set Paste clipboard image as PNG to enabled in Settings -> General.
In 2.20.1, a GIF file is pasted from the clipboard as it is (i.e. as GIF) even if Paste clipboard image as PNG has been enabled.
In 2.21.0, on the contrary, a GIF files is pasted as PNG from the clipboard if Paste clipboard image as PNG has been enabled. I can paste it as GIF if I set Paste clipboard image as PNG to disabled. It rather seems a more correct result compared to 2.20.1.
I believe that the goal of the setting is compressing the image into a JPEG if disabled, and keeping the original if enabled, despite the name being Paste. .. as PNG
When Paste clipboard image as PNG is disabled, GIFs are being converted to JPGs, which is unexpected behavior.
I tried pasting a GIF in Google Keep, and it also converted to JPG. So, it’s likely an issue with certain Android versions or clipboard managers automatically converting formats.
Hello 👋, this issue has been opened for more than 3 months with no activity on it. If the issue is still here, please keep in mind that we need community support and help to fix it! Just comment something like still searching for solutions and if you found one, please open a pull request! You have 7 days until this gets closed automatically
@sanjaysargam I think the issues are with the apps. I tried coping an gif from my gallery (Samsung A54) it said "Unsupported file.", then I when to giphy and copied a gif. It worked and even in the clipboard preview it was a gif. Similarly I can past on whatsapp, telegram etc but not on notes. I think I can solve this as I do have prior experience in working with clipboards and gifs. I am working on this!
@KT-1114 Sure go ahead. Give a try
@sanjaysargam Thank you for assigning the issue to me. This is the first ever issue assigned to me. I already tried with playDebug (default) variant it worked. Then I tried again with the released version making sure it was not my mistake in the previous attempt. It did fail, after trying with release variants, I found that it is working. Seems the issue is resolved in the current version of main. I am trying to find what exactly solved and write a test case.
Also, a little favor if you could, can you check with the alpha/beta version (I do not have them), it can narrow down my search.
typical clipboard copying/pasting issues. Not our fault.