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

[Android] Animation on Opacity Issue #16729

Closed
Stedy59 opened this issue Aug 13, 2023 · 3 comments · Fixed by #16941
Closed

[Android] Animation on Opacity Issue #16729

Stedy59 opened this issue Aug 13, 2023 · 3 comments · Fixed by #16941
Assignees
Labels
area-animation Animation, Transitions, Transforms fixed-in-8.0.0-rc.1.9171 Look for this fix in 8.0.0-rc.1.9171 platform/android 🤖 s/triaged Issue has been reviewed s/verified Verified / Reproducible Issue ready for Engineering Triage t/bug Something isn't working
Milestone

Comments

@Stedy59
Copy link

Stedy59 commented Aug 13, 2023

Description

If you perform an animation on a controls Opacity property, the maximum value will be the value when the control was created.

For instance, I have a control the starts out at Opacity=0.5, the animation sets the Opacity value to 1.0, but the Opacity range is now set to 0=>.5, so setting it to 1.0 means an actual Opacity of .5.

In the example below. five controls are created with opacity values of 1.0, .75, .50, .25, and 0.0.

The first button animates each to an opacity of 0.0, the second to an opacity of 1.0. You can see the Opacity value on the right go from 0 to 1, but the actual opacity is capped at its initial value.

This works fine on Windows... and I haven't tested to see if other properties are effected.

Maui Animation Issues 1

Steps to Reproduce

Problem: If I have two layered controls on a form and set a click event to fade one in and out, the control that starts off with opacity=0 will never show....

Expected outcome: Opacity works correctly.

Link to public reproduction project repository

https://github.com/Stedy59/StedySoft.AnimationIssues.1

Version with bug

8.0.0-preview.7.8842

Is this a regression from previous behavior?

Not sure, did not test other versions

Last version that worked well

Unknown/Other

Affected platforms

Android

Affected platform versions

Android API 34

Did you find any workaround?

No

Relevant log output

No response

@Stedy59 Stedy59 added the t/bug Something isn't working label Aug 13, 2023
@rachelkang rachelkang added area-animation Animation, Transitions, Transforms platform/android 🤖 labels Aug 15, 2023
@rachelkang rachelkang added this to the Backlog milestone Aug 15, 2023
@ghost
Copy link

ghost commented Aug 15, 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.

@mauroa mauroa self-assigned this Aug 22, 2023
@mauroa mauroa moved this from Todo to In Progress in MAUI SDK Ongoing Aug 22, 2023
@XamlTest XamlTest added s/verified Verified / Reproducible Issue ready for Engineering Triage s/triaged Issue has been reviewed labels Aug 23, 2023
@XamlTest
Copy link

Verified this on Visual Studio Enterprise 17.8.0 Preview 1.0. Repro on Android 13.0-API33 .NET 8, not repro on Windows 11 with below Project:
StedySoft.AnimationIssues.1.zip

@mauroa mauroa closed this as completed Aug 25, 2023
@github-project-automation github-project-automation bot moved this from In Progress to Done in MAUI SDK Ongoing Aug 25, 2023
@PureWeen
Copy link
Member

Duplicate of #15826

@PureWeen PureWeen marked this as a duplicate of #15826 Aug 25, 2023
@samhouts samhouts modified the milestones: Backlog, .NET 8 GA Aug 28, 2023
@ghost ghost locked as resolved and limited conversation to collaborators Sep 28, 2023
@samhouts samhouts added the fixed-in-8.0.0-rc.1.9171 Look for this fix in 8.0.0-rc.1.9171 label Jan 31, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
area-animation Animation, Transitions, Transforms fixed-in-8.0.0-rc.1.9171 Look for this fix in 8.0.0-rc.1.9171 platform/android 🤖 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