Coder Social home page Coder Social logo

Comments (9)

tomzorz avatar tomzorz commented on May 22, 2024

Can confirm, same happens here. (Tested on Lumia 950, latest stable (not-insider) OS version.)

from windowscompositionsamples.

pgills avatar pgills commented on May 22, 2024

Thanks @JustinXinLiu @tomzorz. We'll get some folks to take a look at it.

Just to clarify:

Found on build(s): 10586, 14527
Repo Steps:

  1. Create an ExpressionAnimation with Conditional Operator Expression without parenthesis (like you have above)
  2. Play the ExpressionAnimation on a Visual

Expected Results:
ExpressionAnimation runs conditionally.

Actual Results:
Screen goes black and feels like a video card failure.

from windowscompositionsamples.

JustinXinLiu avatar JustinXinLiu commented on May 22, 2024

Yes that's right thanks @pgills!

from windowscompositionsamples.

patsiu avatar patsiu commented on May 22, 2024

Hey @JustinXinLiu!

Sorry for the delay on getting back to you on this. We have a hunch on what you're running into - to verify, can you try the following out for us: In your ternary operator, remove the parentheses you added in to make it work and add in your condition portion a sequence of nested 0's such as [...] + (0 + (0 + (0 + (0 + (0+0))))). (The more complex your "if true" and "if false" portions are, increase the number of nested 0's in the condition)

So in your example above, it will look like A < 0 + (0 + (0 + (0 + (0 + (0+0))))) ? B + C: B + D.

Let us know what happens. Thanks!

from windowscompositionsamples.

JustinXinLiu avatar JustinXinLiu commented on May 22, 2024

@patsiu you guys must have found the issue! After I added (0 + (0 + (0 + (0 + (0 + 0))))) to all the conditional portions both my phone and PC are working. 👍

from windowscompositionsamples.

patsiu avatar patsiu commented on May 22, 2024

Awesome - thanks for verifying @JustinXinLiu !

We have a fix for this issue, which will come in a future insider build. Until then, use the nested 0's model as a temporary workaround (especially with more complex ternary operators).

from windowscompositionsamples.

JustinXinLiu avatar JustinXinLiu commented on May 22, 2024

Sure thanks guys! I will close the issue once the new build comes out.

from windowscompositionsamples.

JustinXinLiu avatar JustinXinLiu commented on May 22, 2024

Hey guys looks like the issue has been fixed in build 14267? I just updated my PC and it no longer crashes. So I am closing it now.

from windowscompositionsamples.

pgills avatar pgills commented on May 22, 2024

Thanks @JustinXinLiu.

from windowscompositionsamples.

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.