When uploading (as an exemple) a .gif file for an Object cover or icon, Anytype does not list all the filetypes that are eligible. Doing so, users cannot upload .gif files because the system prompt neither list nor display .gif files.
How to reproduce it
Steps to reproduce the behavior:
- Try to upload .gif file as a cover through “Choose image” feature.
- Then the system prompt appears.
- Go to the folder where your .gif file is located.
- You cannot see it, so you cannot (easily) upload it.
Taking into account all the filetypes truly eligible for the upload, as they should all be listed and available in the system prompt.
This bug implies to really test the most common extensions and eventually take into account those requested by the community. And so, all Feature requests and Bug reports about file extensions will have to be examined after this listing has been updated.
You can either:
- Force pasting (as an exemple) a .gif file with the full file name+extension from the proper location to be able to upload it.
- Or use the drag and drop feature from the Anytype Upload pop-up.
- OS: Window 10
- Device: Personal Computer
- Anytype Version: 0.24.0
I haven’t found a specific Bug report on this topic, but feel free to let me know if you know of one.
Special thanks to @sahilstudio Being able to use GIF as wallpaper, object/page icon and cover - #2 by sahilstudio
Still reproducible on Windows 10 / 11 @ 0.37.18 beta
GIF files now work as animation.
File types aren’t shown anymore but instead shows “Filtered extensions”
Can confirm this on Linux 0.29.1 (Gnome)
The dropdown with the filetypes is just empty. But filters are applied. Webp images as an example aren’t allowed.
This issue has been added to our issue tracker and was received by the Development Team.
I tried with JPG / PNG / WEBP / GIF.
All images can be selected.
Seems to be fixed in Version: 0.31.48
Did you also try to select the image? I was unable to set a WebP image as cover (not yet tested in more detail)
I could import a GIF atleast in the normal editor. Overread the cover part. Can try that later.
You are right. It works with the normal editor, but not with the cover dialog.
This report has been added to our issue tracker and received by the Development Team.
@Angelo this topic was previously added to Linear. Can you check whether it was correctly reopened/readded
Yeah, but Anytype doesn’t support GIFs. The product team is discussing, maybe they will add it in next release. So this is basically a Feature Request.
@Angelo it seems it is possible to select other file types than indicated when changing the cover of an Object:
Open an Object, select Upload and then click to open the file browser.
Notice that (on WIndows) there is a selector at the bottom right that indicates you can only choose jp(e)g or png.
However, if you know the name of your file, you can type it in the filename bar and select the file.
And it works! (example of webp image)
Even with GIF:
I think this means that the only “action” for this bug report is to add webp and gif as allowed/selectable file types (and others that I didn’t test)
The app now shows “Filtered extensions” instead of the supported file types on Windows 10 / 11 @ v0.37.18 beta
Choosing .gif as a cover works with its animation not as a static frame out of it.