-
Notifications
You must be signed in to change notification settings - Fork 1.9k
[Bug] Image animation not working in GTK #8732
Comments
Issue Status: 1. Open 2. Started 3. Submitted 4. Done This issue now has a funding of 1.045 ETH (150.03 USD @ $143.57/ETH) attached to it.
|
@izoch Hello from Gitcoin Core - are you still working on this issue? Please submit a WIP PR or comment back within the next 3 days or you will be removed from this ticket and it will be returned to an ‘Open’ status. Please let us know if you have questions!
Funders only: Snooze warnings for 1 day | 3 days | 5 days | 10 days | 100 days |
Commenting back |
Issue Status: 1. Open 2. Started 3. Submitted 4. Done @izoch due to inactivity, we have escalated this issue to Gitcoin's moderation team. Let us know if you believe this has been done in error!
Funders only: Snooze warnings for 1 day | 3 days | 5 days | 10 days | 100 days |
@samhouts does this require work? Would like to work on it |
@mul53 what do you mean? |
@knocte working on the bug |
Issue Status: 1. Open 2. Started 3. Submitted 4. Done Work has been started. These users each claimed they can complete the work by 1 week ago. 1) bobface has been approved to start work. I can fix the bug with the animation. Learn more on the Gitcoin Issue Details page. |
Issue Status: 1. Open 2. Started 3. Submitted 4. Done Work for 1.045 ETH (272.64 USD @ $260.9/ETH) has been submitted by: @knocte please take a look at the submitted work:
|
I tested this, with the sample project from the issue. It works, but it consumes 100% CPU and is not smooth. I am not sure whether this is a problem with this PR or with the sample project (which I made). |
Hmm, would it be possible to link the image you have used? |
@ysangkok Also, the large the image the more expensive the calculation for scale & rotate. Did you test if it works smoothly with a small image, say 50x50? |
@Bobface I have a HiDPI monitor, so 50x50 is really small. But you are right that smaller sizes have less CPU load. For example, a 250x188 image runs with only 50% CPU utilization. I am using the ImageMagick logo image. To generate it in its full size (with width 500px), use |
@Bobface maybe have a look at these answers: https://stackoverflow.com/questions/6888965/any-way-to-speed-up-reduce-cpu-usage-when-drawing-with-cairo?rq=1 :) |
Even the FPS reduction? |
@Bobface I have tested your PR 9856 with this one cherry-picked on top. Everything works as expected. Thank you. |
@ysangkok you mean CPU doesn't go to 100% anymore? |
@knocte CPU consumption is not too high with reasonable animation update intervals and smaller image sizes, no. |
@Solexplorer yes |
@knocte Does this bounty also need review from maintainers? |
Yes but this should be merged only after PR 9856 is merged. |
Issue Status: 1. Open 2. Started 3. Submitted 4. Done This issue now has a funding of 1.045 ETH (249.23 USD @ $238.5/ETH) attached to it.
|
Issue Status: 1. Open 2. Started 3. Submitted 4. Done Work has been started. These users each claimed they can complete the work by 1 month from now. 1) bobface has started work. ................................................................. Learn more on the Gitcoin Issue Details page. |
⚡️ A tip worth 1.04000 ETH (248.04 USD @ $238.5/ETH) has been granted to @Bobface for this issue from @knocte. ⚡️ Nice work @Bobface! Your tip has automatically been deposited in the ETH address we have on file.
|
Issue Status: 1. Open 2. Started 3. Submitted 4. Done This Bounty has been completed. Additional Tips for this Bounty:
|
Description
It seems like image animation is not working in GTK. Similar code worked on the UWP backend.
Steps to Reproduce
https://github.com/ysangkok/XamarinGTKAnimationIssue
src.zip
Expected Behavior
Image should be animated.
Actual Behavior
Image is not animated.
Basic Information
The text was updated successfully, but these errors were encountered: