Giter Site home page Giter Site logo

Comments (8)

ShankarBUS avatar ShankarBUS commented on May 13, 2024 1

Yes! That's what I said (xaml islands + WinUI 2).

We can have proper acrylic effect only if we use xaml islands (not present in WinUI 3 so we can use WinUI 2 xaml islands)

But the problems are (applies to both WinUI 2 & WinUI 3) :

  • No modern window border, title bar (chrome) in settings (a similar issue can be found in PowerToys)

  • No rounded corners/shadows in the flyout (could have rounded corners but it won't be good)

  • No animations while showing/hiding flyout (since WinUI 2 & 3 won't supports transparent alpha blended windows)

  • Not sure whether it will be fast/slow. BUT Since the UI is in WinRT and our code being in .NET the communication between two runtimes could be slow (still not sure)

from modernflyouts.

prakharb5 avatar prakharb5 commented on May 13, 2024 1

It would lead to the same static look like that in windows default flyout, right?

from modernflyouts.

Samuel12321 avatar Samuel12321 commented on May 13, 2024 1

Closing as not useful unless WinUI adds rounded corners and acrylic as well as the others mentioned above.
None of which are planned in the near future.

from modernflyouts.

ShankarBUS avatar ShankarBUS commented on May 13, 2024

WinUI 3 neither have acrylic nor reveal 😂. We have to use xaml islands until they support them.

There won't be acrylic or reveal in WinUI 3. It is planned for WinUI 4? Which will be released in 2021-2022.

So for a immediate need we can switch to WinUI 2 and xaml islands

from modernflyouts.

ShankarBUS avatar ShankarBUS commented on May 13, 2024

Even if we switch to WinUI 2 xaml islands, I don't know how we are gonna create the flyout. For settings window there won't be any problems. The flyout is going to be a tricky one. We won't have rounded corners or shadow AFAIK while using xaml islands. But we can use a method that @michalleptuch suggested - https://github.com/michalleptuch/RoundedCorners as a workaround.

from modernflyouts.

prakharb5 avatar prakharb5 commented on May 13, 2024

There can be blur too with XAML islands, right?

from modernflyouts.

Samuel12321 avatar Samuel12321 commented on May 13, 2024

done some work on the multi language support, unfortunately it appears to be rather difficult in WPF, in winUI and UWP it can be partially automated. Another thing to keep in mind when considering future options.

from modernflyouts.

ShankarBUS avatar ShankarBUS commented on May 13, 2024

Yes that's why I'm hesitant to add multi-lingual support. Too much work for a feature that no one bother not having.
Let's see if we somehow find an efficient way 🤷‍♂️

from modernflyouts.

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.