-
Notifications
You must be signed in to change notification settings - Fork 697
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Acrylic does not appear in drop-down menus #1743
Comments
Thanks for reporting this. @FJduFou can you answer a couple questions: |
Thanks for reply @kmelmon It's a MenuBar |
@FJduFou thanks for the screenshot! Interestingly, I am not having this issue with the latest version of the XAML Controls Gallery (https://www.microsoft.com/store/productId/9MSVH128X2ZT), in the MenuBar page. The acrylic is very subtle though. I think this is expected. What I think may be happening is that because you're using "desktop acrylic" for the background of your window, the drop-down menu may not be picking this up, or the effect may be too subtle to notice. I'm asking around here if this is expected. In the meantime as an experiment, can you try changing your background to a very bright color and see if the acrylic starts working? |
@kmelmon It looks like the behavior is the same in the XAML Controls Gallery. |
@kmelmon |
@DmitriyKomin please investigate. |
RE: Acrylic Needs a Boost in Transparency I believe it’s due to AcrylilcBrush.TintLuminosityOpacity property/feature we added in 19H1 to support Shadow (where caster’s Acrylic gets muddied by shadow sampled by BackdropBrush). Subtle changes to acrylic appearance are expected from this, so I would consider the changes observed here 'By Design'. From Acrylic.cpp:
There is an auto-computed default value for TintLuminosity based TintOpacity + TintColor, and typically that’s what used. For greater control, TintLuminosityOpacity can be set directly. Attached video shows effect of TintLuminosityOpacity in several cases (In-App acrylic over either a Desktop acrylic or solid color BG):
Observations
RE: Acrylic Doesn't show up at all I haven't seen this in my repro sample. Can you share a repro? What control is being used there? How is the AcrylicBrush it used for the BG configured (values of TintOpacity/TintColor/TintLuminosityOpacity and BackgroundSource)? |
Acrylic does not appear in drop-down menus
Screenshots
Version Info
NuGet package version: Microsoft.UI.Xaml 2.3.191129002
Windows version: Windows 10 v.1909
The text was updated successfully, but these errors were encountered: