Skip to content
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

Shadows not drawing/updating correctly in Windows & cover entire screen (okay in Android/iOS) #18172

Open
jonmdev opened this issue Oct 20, 2023 · 1 comment · May be fixed by #18337
Open

Shadows not drawing/updating correctly in Windows & cover entire screen (okay in Android/iOS) #18172

jonmdev opened this issue Oct 20, 2023 · 1 comment · May be fixed by #18337
Assignees
Labels
area-drawing Shapes, Borders, Shadows, Graphics, BoxView, custom drawing platform/windows 🪟 t/bug Something isn't working
Milestone

Comments

@jonmdev
Copy link

jonmdev commented Oct 20, 2023

Description

Windows has had some abnormal Shadow behavior which continues into the most recent .NET 8 version 8.0.0-rc.2.23479.6.

I posted a prior example but that code no longer repros in this version so I updated the code (prior here: #17996).

This bug is making Shadows unusable in Windows. Shadows cover the entire screen in certain circumstances in Windows.

CORRECT BEHAVIOR
Here is what the current project should look like as shown in Android:

shadow windows bug android

ABNORMAL BEHAVIOR
Here is what it looks like in Windows:

shadow windows bug windows

Steps to Reproduce

Play repro project in Windows vs. Android. See in Windows the Shadow abnormally covers the entire screen.

All custom repro project code is in App.xaml.cs (109 lines total in this document to repro). Otherwise, the project is a default Maui project.

Link to public reproduction project repository

https://github.com/jonmdev/Windows-Shadow-Mask-Bug

Version with bug

7.0.96
8.0.0-rc.2.23479.6

Is this a regression from previous behavior?

No, this is something new

Last version that worked well

None. Present in .NET 7 & .NET 8.

Affected platforms

Windows

@jonmdev jonmdev added the t/bug Something isn't working label Oct 20, 2023
@jonmdev jonmdev changed the title Shadows not drawing/updating correctly in Windows (okay in Android/iOS) - Shadows abnormally cover entire screen in Windows Shadows not drawing/updating correctly in Windows (okay in Android/iOS) - Shadows cover entire screen in Windows Oct 20, 2023
@jonmdev jonmdev changed the title Shadows not drawing/updating correctly in Windows (okay in Android/iOS) - Shadows cover entire screen in Windows Shadows not drawing/updating correctly in Windows & cover entire screen (okay in Android/iOS) Oct 20, 2023
@jsuarezruiz jsuarezruiz added platform/windows 🪟 area-drawing Shapes, Borders, Shadows, Graphics, BoxView, custom drawing labels Oct 20, 2023
@jsuarezruiz jsuarezruiz added this to the Backlog milestone Oct 20, 2023
@ghost
Copy link

ghost commented Oct 20, 2023

We've added this issue to our backlog, and we will work to address it as time and resources allow. If you have any additional information or questions about this issue, please leave a comment. For additional info about issue management, please read our Triage Process.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area-drawing Shapes, Borders, Shadows, Graphics, BoxView, custom drawing platform/windows 🪟 t/bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants