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] BoxView Opacity not working #12211

Closed
jsuarezruiz opened this issue Dec 19, 2022 · 4 comments · Fixed by #16941
Closed

[Android] BoxView Opacity not working #12211

jsuarezruiz opened this issue Dec 19, 2022 · 4 comments · Fixed by #16941
Assignees
Labels
area-drawing Shapes, Borders, Shadows, Graphics, BoxView, custom drawing 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

@jsuarezruiz
Copy link
Contributor

Description

BoxView Opacity not working.
image

Steps to Reproduce

  1. Download or sync https://github.com/jsuarezruiz/dotnet-maui-testing-playground
  2. Launch the App on Android or Windows.
  3. Navigate to the BoxView tests.
  4. Check the Box14 test case.

Link to public reproduction project repository

https://github.com/jsuarezruiz/dotnet-maui-testing-playground

Version with bug

7.0 (current)

Last version that worked well

Unknown/Other

Affected platforms

Android

Affected platform versions

Android 13

Did you find any workaround?

No response

Relevant log output

No response

@jsuarezruiz jsuarezruiz added t/bug Something isn't working legacy-area-controls Label, Button, CheckBox, Slider, Stepper, Switch, Picker, Entry, Editor labels Dec 19, 2022
@jsuarezruiz jsuarezruiz added this to the Backlog milestone Dec 19, 2022
@ghost
Copy link

ghost commented Dec 19, 2022

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.

@JkPersson
Copy link

Please prioritize this.

@jinxinjuan jinxinjuan added s/triaged Issue has been reviewed s/verified Verified / Reproducible Issue ready for Engineering Triage labels Jun 2, 2023
@jinxinjuan
Copy link
Collaborator

Verified this issue with Visual Studio Enterprise 17.7.0 Preview 1.0. Can repro on Android platform with sample project.
/dotnet-maui-testing-playground

@mauroa mauroa self-assigned this Aug 22, 2023
PureWeen pushed a commit that referenced this issue Aug 25, 2023
* [android] Fixed ListView visibility and opacity on Android

Visibility and Opacity settings were not working correctly when the control was inside a container.
For the case of visibility, it was only being set for the container when it needed to be set for both the container and the control.
For the case of opacity, it was also only being set for the container, which could reduce the opacity of the control as a side effect because it's a value affected by its parent value. In this case, we need to ensure the control has 100% opacity so it applies and uses the correct value to the container.

Fixes:
#15826
#15357

* Added Appium tests for Visibility issues #15826 and #15357

* Added Appium tests for Opacity issues #12211

* Applied PR feedback: Remove added items from Controls.Sample.UITests.csproj
@mauroa mauroa closed this as completed 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
@samhouts samhouts added the fixed-in-8.0.0-rc.1.9171 Look for this fix in 8.0.0-rc.1.9171 label Sep 12, 2023
@ghost ghost locked as resolved and limited conversation to collaborators Oct 12, 2023
@Eilon Eilon added area-controls-boxview area-drawing Shapes, Borders, Shadows, Graphics, BoxView, custom drawing and removed legacy-area-controls Label, Button, CheckBox, Slider, Stepper, Switch, Picker, Entry, Editor area-controls-boxview labels May 13, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
area-drawing Shapes, Borders, Shadows, Graphics, BoxView, custom drawing 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.

7 participants