Giter VIP home page Giter VIP logo

Comments (21)

sohchatt avatar sohchatt commented on June 14, 2024

@FrayxRulez thanks for the bug report. Do you have the AEP file as well? Or any other lottie JSON files that also demonstrate the same incorrect behavior?

Reducing these animations to a minimal repro is a struggle across all Lottie implementations at present.

from lottie-windows.

FrayxRulez avatar FrayxRulez commented on June 14, 2024

I have a minimalized version of the same animation, with just head shape and eyes:
minimal.json

from lottie-windows.

simeoncran avatar simeoncran commented on June 14, 2024

I see that we're painting in the wrong order, but I'm having trouble figuring out what the correct order should be. In your minimal.json, layer indexes are:
21 - shoulders
20 - head
25 - eye
26 - eye
Currently we draw in decreasing order of index, but doing that for minimal.json draws the eyes before the head. I'm wondering if maybe this isn't a problem with order, but with a mask or a matte or a blend or something that should allow the eyes to show through from behind. There's definitely something special about your file, I'm just not sure what it is yet!

Can you give me any more hints. Breaking it down further to just the head and the eyes would help although I can do that myself with some effort on the JSON. Even better would be an AEP of the minimalized JSON.

from lottie-windows.

NikhStash avatar NikhStash commented on June 14, 2024

I am facing a similar problem
The following screenshots though might appear different are the same one from Web, other from Windows app.

Web
Screenshot (47)

Windows
Screenshot (46)

It works properly in Web, IOS and android.

from lottie-windows.

sohchatt avatar sohchatt commented on June 14, 2024

@NikhStash thanks for the repro; will take a look.

from lottie-windows.

sohchatt avatar sohchatt commented on June 14, 2024

@NikhStash can you re-attach your json file? I'm not sure if it disappeared or if I missed it in the first place.

from lottie-windows.

NikhStash avatar NikhStash commented on June 14, 2024

In Web: (Expected Beahavior)
Screenshot (47)

In Windows:
Screenshot (46)

Here is the json file for this
pwl_pushnotification.zip

from lottie-windows.

NikhStash avatar NikhStash commented on June 14, 2024

Are any steps being taken on this, if so any info on when this can be cleared!

from lottie-windows.

sohchatt avatar sohchatt commented on June 14, 2024

@NikhStash: I pushed the latest changes in master to the Lottie Viewer app a couple of days ago. Can you try it out? Your issue does not repro (even though your file results in warnings) / has been fixed.

The changes in master will be published in version 6.0, which should be released in about a month. If you want the fix earlier, you can grab the nuget from Azure DevOps here.

from lottie-windows.

sohchatt avatar sohchatt commented on June 14, 2024

I've finally managed to reduce @FrayxRulez's animation to a minimal repro with a single shape group that is stacked as follows:

  1. Path for left eye socket
  2. Path for face
  3. Yellow Fill

The expected outcome is:

minimal_repro

where the eye socket is actually transparent (white background).

layertest.zip

from lottie-windows.

NikhStash avatar NikhStash commented on June 14, 2024

Thanks, @sohchatt. It was not working in the previous build, but it is working perfectly in the latest build that you have specified.

from lottie-windows.

NikhStash avatar NikhStash commented on June 14, 2024

@NikhStash: I pushed the latest changes in master to the Lottie Viewer app a couple of days ago. Can you try it out? Your issue does not repro (even though your file results in warnings) / has been fixed.

The changes in master will be published in version 6.0, which should be released in about a month. (https://dev.azure.com/dotnet/WindowsCommunityToolkit/_build/results?buildId=20753&view=artifacts).

I have installed 6.0 version but it doesn't work. In this version, the screen is completely blank. It doesn't even show the faulted UI. Could you please share the working build again. And when can I expect a proper build.

from lottie-windows.

FrayxRulez avatar FrayxRulez commented on June 14, 2024

I actually had to move away from this library and I made my own porting of rlottie using Win2D.

from lottie-windows.

NikhStash avatar NikhStash commented on June 14, 2024

Actually @FrayxRulez I was asking @sohchatt . Sorry for the confusion.
@sohchatt If you don't remember what I'm talking please refer: #124 (comment)

I have installed 6.0 version but it doesn't work. In this version, the screen is completely blank. It doesn't even show the faulted UI. Could you please share the working build again. And when can I expect a proper build.

from lottie-windows.

sohchatt avatar sohchatt commented on June 14, 2024

@ajbennet / @scott-moore-ms / @simeoncran should be able to help you.

from lottie-windows.

ajbennet avatar ajbennet commented on June 14, 2024

Thanks @sohchatt for looping us in. @NikhStash, we are looking into this. Will keep you posted as soon as we know. Thanks.

from lottie-windows.

NikhStash avatar NikhStash commented on June 14, 2024

Thank you @ajbennet. Please let me posted.

from lottie-windows.

NikhStash avatar NikhStash commented on June 14, 2024

@ajbennet any update on the issue.

from lottie-windows.

simeoncran avatar simeoncran commented on June 14, 2024

@NikhStash this is working for me on the 6.1 preview code. Can you try it?

from lottie-windows.

simeoncran avatar simeoncran commented on June 14, 2024

Closing this for now because I think this is working now. The original FrayxRulez issue has also been solved. This is still one remaining issue for the FrayxRulez file due to multiple animated, which we will work on separately. Please reopen if you are still seeing issues.

from lottie-windows.

simeoncran avatar simeoncran commented on June 14, 2024

And the one remaining issue is fixed with: #274.

from lottie-windows.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.