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

Gif doesn't animate #1412

Open
2 tasks done
ic3man5 opened this issue Aug 16, 2022 · 5 comments
Open
2 tasks done

Gif doesn't animate #1412

ic3man5 opened this issue Aug 16, 2022 · 5 comments
Labels
bug Something isn't working feature New feature or request rendering shell widget

Comments

@ic3man5
Copy link

ic3man5 commented Aug 16, 2022

Is there an existing issue for this?

  • I have searched the existing issues.

Is this issue related to iced?

  • My hardware is compatible and my graphics drivers are up-to-date.

What happened?

I'm attempting to write a simple app to learn rust and iced and I'm running into a road block I'm not sure how to overcome. From the research I've done this looks like it might be a limitation right now of iced but I'm not really sure.

I'm creating a a simple application that searches giphy and displays the gif results for you. I've currently tested this by adding an Image widget through Image::new but it only shows the first frame and doesn't progress.

I'd like to completely learn this toolkit and possibly help document things or improve things but I'm not sure how to move forward here.

I can provide source and example code if needed.

image

What is the expected behavior?

Gifs to animate

Version

0.4

Operative System

Windows

Do you have any log output?

No response

@ic3man5 ic3man5 added the bug Something isn't working label Aug 16, 2022
@ic3man5
Copy link
Author

ic3man5 commented Aug 16, 2022

I found this but I'm not sure if its related: #31

@13r0ck
Copy link
Member

13r0ck commented Aug 16, 2022

Yes, As stated in the issue you linked

This is a necessary feature to render loading spinners, a blinking text cursor, GIF images, etc.

Iced does not support animated gifs at this time.

@ic3man5
Copy link
Author

ic3man5 commented Aug 16, 2022

Yes, As stated in the issue you linked

This is a necessary feature to render loading spinners, a blinking text cursor, GIF images, etc.

Iced does not support animated gifs at this time.

Is there a way to work around this?

@13r0ck
Copy link
Member

13r0ck commented Aug 16, 2022

Other than making a subscription that swaps out the image, no.

@hecrj hecrj added feature New feature or request widget rendering shell labels Sep 20, 2022
@thunderstorm010
Copy link
Contributor

I think that this could be implemented with #1647

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working feature New feature or request rendering shell widget
Projects
None yet
Development

No branches or pull requests

4 participants