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

.NET 8 Changing BackgroundColor through an attached property does not work on Android #19576

Open
FreakyAli opened this issue Dec 24, 2023 · 9 comments · May be fixed by #22917
Open

.NET 8 Changing BackgroundColor through an attached property does not work on Android #19576

FreakyAli opened this issue Dec 24, 2023 · 9 comments · May be fixed by #22917
Labels
area-xaml XAML, CSS, Triggers, Behaviors migration-compatibility Xamarin.Forms to .NET MAUI Migration, Upgrade Assistant, Try-Convert platform/android 🤖 potential-regression This issue described a possible regression on a currently supported version., verification pending s/triaged Issue has been reviewed s/verified Verified / Reproducible Issue ready for Engineering Triage t/bug Something isn't working
Milestone

Comments

@FreakyAli
Copy link

FreakyAli commented Dec 24, 2023

Description

I have a Static class that uses attached properties to create a shimmer effect, This stops updating the BackgroundColor with .NET 8. Works fine on iOS and on both with .NET 7 and 6.

Steps to Reproduce

  • Go to the repo link below and download.
  • Run and visit the skeleton effect screen.
  • The correct background colour will update on iOS once the skeleton effect is complete but fails on Android. (The colour is assigned correctly yet it does not do anything)
.NET 8 .NET 7

Link to public reproduction project repository

https://github.com/FreakyAli/Maui.FreakyEffects

Version with bug

8.0.3

Is this a regression from previous behavior?

Yes, this used to work in .NET MAUI, Yes, this used to work in Xamarin.Forms

Last version that worked well

7.0.101

Affected platforms

Android

Affected platform versions

All

Did you find any workaround?

No

Relevant log output

No response

@FreakyAli FreakyAli added the t/bug Something isn't working label Dec 24, 2023
@FreakyAli FreakyAli changed the title Changing BackgroundColor through an attached property does not work on Android .NET 8 Changing BackgroundColor through an attached property does not work on Android Dec 24, 2023
@samhouts samhouts added potential-regression This issue described a possible regression on a currently supported version., verification pending migration-compatibility Xamarin.Forms to .NET MAUI Migration, Upgrade Assistant, Try-Convert labels Jan 2, 2024
@samhouts samhouts added platform/android 🤖 area-xaml XAML, CSS, Triggers, Behaviors labels Jan 31, 2024
@FreakyAli
Copy link
Author

Any updates guys my plugin is pretty much dependent on it!?

@QianaJiao
Copy link

Verified this issue with Visual Studio 17.10.0 Preview 1; Maui 8.0.7; I can repro on Android platform with Sample project.
image

@QianaJiao QianaJiao added s/verified Verified / Reproducible Issue ready for Engineering Triage s/triaged Issue has been reviewed labels Mar 7, 2024
@FreakyAli
Copy link
Author

@jfversluis Can we take a look into this one, Its an important feature and is not working on Android

@jfversluis
Copy link
Member

Feel free to have a look 😉

@FreakyAli
Copy link
Author

@QianaJiao Can we do something about this, I have a plugin that's dependent on it!

@Jon2G
Copy link
Contributor

Jon2G commented May 17, 2024

Spent hours dealing with this, its affecting lots of plugins!

@FreakyAli
Copy link
Author

@Jon2G did you find some kind of a work around to it?

Jon2G added a commit to Jon2G/MAUI-FlipView that referenced this issue May 17, 2024
@Jon2G
Copy link
Contributor

Jon2G commented May 18, 2024

I'm downgrading to net 7
Awful 😔

@FreakyAli
Copy link
Author

@Jon2G I thought .NET7 is unsupported now...

Jon2G added a commit to Jon2G/Maui.FreakyEffects that referenced this issue May 26, 2024
@jsuarezruiz jsuarezruiz added this to the Backlog milestone Jun 6, 2024
@samhouts samhouts removed s/verified Verified / Reproducible Issue ready for Engineering Triage s/triaged Issue has been reviewed labels Jul 3, 2024
@samhouts samhouts added s/verified Verified / Reproducible Issue ready for Engineering Triage s/triaged Issue has been reviewed labels Jul 10, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area-xaml XAML, CSS, Triggers, Behaviors migration-compatibility Xamarin.Forms to .NET MAUI Migration, Upgrade Assistant, Try-Convert platform/android 🤖 potential-regression This issue described a possible regression on a currently supported version., verification pending s/triaged Issue has been reviewed s/verified Verified / Reproducible Issue ready for Engineering Triage t/bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

6 participants