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

Inconsitent LinearGradientBrush between Android and iOS #9772

Closed
gustavf opened this issue Aug 30, 2022 · 1 comment · Fixed by #9809
Closed

Inconsitent LinearGradientBrush between Android and iOS #9772

gustavf opened this issue Aug 30, 2022 · 1 comment · Fixed by #9809
Assignees
Labels
area-controls-frame Frame area-drawing Shapes, Borders, Shadows, Graphics, BoxView, custom drawing fixed-in-7.0.0-rc.1.6683 platform/android 🤖 t/bug Something isn't working

Comments

@gustavf
Copy link

gustavf commented Aug 30, 2022

Description

When using the LinearGradientBrush the colour direction is different between iOS and Android, making an inconsistent experience. With below XAML, on Android yellow is on top, where as on iOS blue is on top. Windows also has blue on top.

Steps to Reproduce

Create a new .NET Maui content page.
Add new frame as below

<Frame>
    <Frame.Background>
        <LinearGradientBrush EndPoint="0,1">
            <GradientStop Color="Yellow" 
                                  Offset="1.0" />
            <GradientStop Color="Blue" 
                                  Offset="0.1" />
        </LinearGradientBrush>
    </Frame.Background>
</Frame>

Version with bug

6.0.486 (current)

Last version that worked well

Unknown/Other

Affected platforms

iOS, Android

Affected platform versions

Tested with Android 12.2 and iOS 15.5

Did you find any workaround?

No response

Relevant log output

No response

@gustavf gustavf added the t/bug Something isn't working label Aug 30, 2022
@jsuarezruiz jsuarezruiz added area-controls-frame Frame area-drawing Shapes, Borders, Shadows, Graphics, BoxView, custom drawing labels Aug 30, 2022
@ghost ghost added the legacy-area-controls Label, Button, CheckBox, Slider, Stepper, Switch, Picker, Entry, Editor label Aug 30, 2022
@jsuarezruiz jsuarezruiz self-assigned this Aug 31, 2022
@jsuarezruiz jsuarezruiz added this to the Backlog milestone Aug 31, 2022
@ghost
Copy link

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

@ghost ghost locked as resolved and limited conversation to collaborators Oct 1, 2022
@samhouts samhouts modified the milestones: Backlog, .NET 8 May 24, 2023
@Eilon Eilon removed the legacy-area-controls Label, Button, CheckBox, Slider, Stepper, Switch, Picker, Entry, Editor label May 10, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
area-controls-frame Frame area-drawing Shapes, Borders, Shadows, Graphics, BoxView, custom drawing fixed-in-7.0.0-rc.1.6683 platform/android 🤖 t/bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants