File upload prompt does not list all the eligible filetypes

The bug

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:

  1. Try to upload .gif file as a cover through “Choose image” feature.
  2. Then the system prompt appears.
  3. Go to the folder where your .gif file is located.
  4. You cannot see it, so you cannot (easily) upload it.

Expected behavior

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.

Alternative

You can either:

  1. Force pasting (as an exemple) a .gif file with the full file name+extension from the proper location to be able to upload it.
  2. Or use the drag and drop feature from the Anytype Upload pop-up.

System Information

  • OS: Window 10
  • Device: Personal Computer
  • Anytype Version: 0.24.0

Additional context

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

7 Likes

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.

1 Like

@sambouwer
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

2 Likes

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.

1 Like