Open navi705 opened 1 year ago
Hi @navi705. We have added the "s/needs-repro" label to this issue, which indicates that we require steps and sample code to reproduce the issue before we can take further action. Please try to create a minimal sample project/solution or code samples which reproduce the issue, ideally as a GitHub repo that we can clone. See more details about creating repros here: https://github.com/dotnet/maui/blob/main/.github/repro.md
This issue will be closed automatically in 7 days if we do not hear back from you by then - please feel free to re-open it if you come back to this issue after that time.
We've moved this issue to the Backlog milestone. This means that it is not going to be worked on for the coming release. We will reassess the backlog following the current release and consider this item at that time. To learn more about our issue management process and to have better expectation regarding different types of issues you can read our Triage Process.
Verified this on Visual Studio Enterprise 17.7.0 Preview 1.0. Repro on Windows 11 with below Project: Maui-Acrylic-Report.zip
Left is WinUI, right is Maui.
Description
I use acrylic backdrop, but I have a problem with color or how I think with contrast. I use the same code in winui 3 and maui, but the result is different. In maui color more dimmer. I would like it to be like winui. Sorry if i did something wrong, please correct me.
Steps to Reproduce
builder.ConfigureLifecycleEvents(events => {
if WINDOWS10_0_17763_0_OR_GREATER
endif
using Microsoft.UI.Composition.SystemBackdrops; using Microsoft.UI.Composition; using Microsoft.UI.Xaml; using Windows.UI.ViewManagement; using WinRT; using Windows.UI;
namespace TestMauiApp.Platforms.Windows { public static class WindowHelpers { public static void TryMicaOrAcrylic(this Microsoft.UI.Xaml.Window window) { var dispatcherQueueHelper = new WindowsSystemDispatcherQueueHelper(); // in Platforms.Windows folder dispatcherQueueHelper.EnsureWindowsSystemDispatcherQueueController();
}
using System.Runtime.InteropServices; using System.Text; using System.Threading.Tasks; using System.Runtime.InteropServices; using Windows.System; // Required for DllImport attribute and DispatcherQueue
namespace TestMauiApp.Platforms.Windows { public class WindowsSystemDispatcherQueueHelper { [StructLayout(LayoutKind.Sequential)] struct DispatcherQueueOptions { internal int dwSize; internal int threadType; internal int apartmentType; }
}