Skip to content
This repository has been archived by the owner on May 1, 2024. It is now read-only.

[Bug][Brushes] RadialGradientBrush platform differences #11572

Closed
davidbritch opened this issue Jul 27, 2020 · 1 comment · Fixed by #11748
Closed

[Bug][Brushes] RadialGradientBrush platform differences #11572

davidbritch opened this issue Jul 27, 2020 · 1 comment · Fixed by #11748
Assignees
Labels
a/brushes e/4 🕓 4 i/high Completely doesn't work, crashes, or is unusably slow, has no obvious workaround; occurs less often in-progress This issue has an associated pull request that may resolve it! t/bug 🐛
Milestone

Comments

@davidbritch
Copy link

davidbritch commented Jul 27, 2020

Description

I've painted three RadialGradientBrush objects in Frame objects:

  1. Upper left - center (0.0, 0.0).
  2. Center - center (0.5, 0.5).
  3. Lower right - center (1.0, 1.0).

On iOS, the three gradients are painted correctly.

On Android, no radial gradients are painted.

On UWP, only the center radial gradient is painted correctly.

See the screenshots below.

Steps to Reproduce

  1. Run the attached sample.
  2. Browse to the radial gradient brush demo page on iOS, Android, and UWP.

Expected Behavior

Three correct radial gradients - upper left, center, and lower right.

Actual Behavior

Three correct radial gradients on iOS. Zero radial gradients on Android. One correct radial gradient on UWP.

Basic Information

  • Version with issue: 4.8-pre2
  • IDE: VSMac 8.6.7
  • Platform Target Frameworks:
    • iOS: 13.6
    • Android: API 28
    • UWP: 10.0.18362.0

Screenshots

iOS:

Simulator Screen Shot - iPhone 11 - 2020-07-27 at 11 45 52

Android:

Screenshot_1595841179

UWP:

uwp01

Reproduction Link

BrushesDemos.zip

@davidbritch davidbritch added t/bug 🐛 s/unverified New report that has yet to be verified labels Jul 27, 2020
@samhouts samhouts added this to New in Triage Jul 27, 2020
@StephaneDelcroix StephaneDelcroix added a/brushes and removed s/unverified New report that has yet to be verified labels Jul 28, 2020
@StephaneDelcroix StephaneDelcroix moved this from New to Ready For Work in Triage Jul 28, 2020
@samhouts samhouts moved this from Ready For Work to Needs Estimate in Triage Jul 28, 2020
@jsuarezruiz jsuarezruiz added i/high Completely doesn't work, crashes, or is unusably slow, has no obvious workaround; occurs less often e/4 🕓 4 labels Aug 10, 2020
@jsuarezruiz jsuarezruiz moved this from Needs Estimate to Ready For Work in Triage Aug 11, 2020
@samhouts samhouts added this to To do in Other Ready For Work Aug 11, 2020
@samhouts samhouts removed this from Ready For Work in Triage Aug 11, 2020
@samhouts samhouts added the in-progress This issue has an associated pull request that may resolve it! label Aug 11, 2020
@samhouts samhouts added this to In Progress in vCurrent (4.8.0) Aug 11, 2020
@samhouts samhouts moved this from To do to In progress in Other Ready For Work Aug 11, 2020
@samhouts samhouts added this to the 5.0.0 milestone Aug 13, 2020
@samhouts samhouts removed this from In Progress in vCurrent (4.8.0) Aug 18, 2020
@samhouts samhouts added this to In Progress in vNext+1 (5.0.0) Aug 18, 2020
@davidbritch
Copy link
Author

Confirming that this is still an issue on Android in Forms 5.0-pre2.

Other Ready For Work automation moved this from In progress to Done Oct 29, 2020
vNext+1 (5.0.0) automation moved this from In Progress to Done Oct 29, 2020
rmarinho added a commit that referenced this issue Oct 29, 2020
 #11572

* Fixed RadialGradientBrush Frame issue on Android

* Update Issue11572.xaml.cs

Co-authored-by: Rui Marinho <me@ruimarinho.net>
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
a/brushes e/4 🕓 4 i/high Completely doesn't work, crashes, or is unusably slow, has no obvious workaround; occurs less often in-progress This issue has an associated pull request that may resolve it! t/bug 🐛
Projects
Development

Successfully merging a pull request may close this issue.

4 participants