Giter Club home page Giter Club logo

Comments (16)

ShankarBUS avatar ShankarBUS commented on May 28, 2024 6

It's absolutely possible to use xaml islands in WPF just for the settings window (like PowerToys settings).

But for the flyout window it wouldn't work (we can only have rectangular non-transparent window with Xaml Islands).

I said this many times in this repo and even on discord!!

So, let's come back to your point.

"Use xaml islands just for settings window". But the UI will be fragmented between a UWP project and a WPF project. It'll be a hell to set up and maintain. Literally hard as hell to setup MVVM.

Hard to maintain UI consistency, breaking bugs will happen, hard to track exceptions. There would be frequent crashes.

I'm never gonna use XAML islands (WinUI 2)!!!

We can reconsider this once WinUI 3 has acrylic or reveal.

Oh wait! Even MS doesn't care about acrylic or reveal. They're removing it!!!!

So no WinUI 3 or XAML islands (WinUI 2)!

That's it. I said this many times!

from modernflyouts.

ShankarBUS avatar ShankarBUS commented on May 28, 2024 2

That effect could be achieved if we have used xaml islands + WinUI instead of WPF. There are no recent plans to move to WinUI or islands. I will try my best.

from modernflyouts.

ShankarBUS avatar ShankarBUS commented on May 28, 2024 2

@Poopooracoocoo,

image

image

image

image

Now what? Will you suggest transparency now?

from modernflyouts.

prakharb5 avatar prakharb5 commented on May 28, 2024 2

Looks too good to be true, actually 😂. But you will make it true, won't you?

Looks awesome to me!

from modernflyouts.

prakharb5 avatar prakharb5 commented on May 28, 2024 2

I would vote for slider, as every user has different needs.
Maybe keep the default setting to 90%.

from modernflyouts.

ShankarBUS avatar ShankarBUS commented on May 28, 2024 2

Implemented in 77fcd92

But the problem is the transparency won't affect the contents only the background color. "Zero" opacity will look like this

image

from modernflyouts.

prakharb5 avatar prakharb5 commented on May 28, 2024 2

Ah, ok. Sure, its your call. Any level would be good as default.

from modernflyouts.

Poopooracoocoo avatar Poopooracoocoo commented on May 28, 2024 1

take a look at macOS' Control Centre. It has both transparency and a shadow (with blur/vibrancy :p):
image
from how to geek

from modernflyouts.

ShankarBUS avatar ShankarBUS commented on May 28, 2024 1

@Cyberdroid1 @Poopooracoocoo

Seriously pals? 😂. It looks good? 😂😂😂

It's relatively easy, just need to add an option in the settings that will reduce the opacity (as a slider : 0% opaque to 100% opaque) or just toggle transparency (a toggle switch to switch between 90% opaque or 100% opaque). Could be easily done in v0.6.0

By default it will be opaque, users can change this.

What would you prefer a opacity slider or a toggle switch (translucent/opaque)?

from modernflyouts.

Samuel12321 avatar Samuel12321 commented on May 28, 2024 1

That effect could be achieved if we have used xaml islands + WinUI instead of WPF. There are no recent plans to move to WinUI or islands. I will try my best.

What about XAML Islands + WPF? Currently looking at it for settings menu (see Discord).

from modernflyouts.

Poopooracoocoo avatar Poopooracoocoo commented on May 28, 2024

I'm not particularly after blur, just transparency :)

from modernflyouts.

ShankarBUS avatar ShankarBUS commented on May 28, 2024

I will provide you some mockups. Tell me if they look good.

Another thing to note : You may be using v0.4.0, the mockup I'm gonna provide will be from v0.5.0 which will be released tomorrow.

from modernflyouts.

ShankarBUS avatar ShankarBUS commented on May 28, 2024

@Cyberdroid1,

Maybe keep the default setting to 90%.

Should we really do it?

from modernflyouts.

prakharb5 avatar prakharb5 commented on May 28, 2024

Yup! Is there any problem though in this?

from modernflyouts.

ShankarBUS avatar ShankarBUS commented on May 28, 2024

Yup! Is there any problem though in this?

But changing the default from v0.5 to v0.6 will be unwanted and unpleasant to users, right? So lets keep the default 100% for now. The users can change it by themselves

from modernflyouts.

Samuel12321 avatar Samuel12321 commented on May 28, 2024

Sorry, probably wrong issue to post this on. Wasn't really think about the flyout, just the settings menu. This is well outside my area of expertise, so was just checking what would be needed. If you think it's not worth it, will drop it.

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.