xamarin / Xamarin.Forms

Xamarin.Forms is no longer supported. Migrate your apps to .NET MAUI.
https://aka.ms/xamarin-upgrade
Other
5.62k stars 1.87k forks source link

In Xamarin.Forms iOS, Polylines render incorrectly when used background and fill color #15481

Open ganesanvelusamy opened 2 years ago

ganesanvelusamy commented 2 years ago

Description

The polylines render incorrectly when background and fill colors are used instead of the given coordinates.

Steps to Reproduce

  1. Run the application.
  2. Pick the task status to 3 from the picker.
  3. As shown in the attached screenshot, there is an inconsistent line in the polyline of the Task 3 section.

    Expected Behavior

    According to the given coordinates, the polyline should be rendered.

    Actual Behavior

    The polyline is not rendered based on the given coordinates.

    Basic Information

    • Version with issue: 5.0.0.2401
    • Last known good version: -
    • Platform Target Frameworks:   - iOS:  15.5

Environment

Show/Hide Visual Studio info ``` Visual Studio Professional 2022 for Mac Version 17.0.6 (build 4) Installation UUID: 95baa5eb-05b4-447b-bcb6-bdb06f03150b Runtime .NET 6.0.5 (64-bit) Architecture: X64 Roslyn (Language Service) 4.1.0-3.22075.3+592501cbb9c9394072a245c15b3458ff88155d85 NuGet Version: 6.0.0.262 .NET SDK (x64) SDK: /usr/local/share/dotnet/sdk/6.0.302/Sdks SDK Versions: 6.0.302 6.0.301 5.0.408 3.1.421 3.1.420 MSBuild SDKs: /Applications/Visual Studio.app/Contents/MonoBundle/MSBuild/Current/bin/Sdks .NET Runtime (x64) Runtime: /usr/local/share/dotnet/dotnet Runtime Versions: 6.0.7 6.0.6 5.0.17 3.1.27 3.1.26 Xamarin.Profiler Version: 1.8.0.19 Location: /Applications/Xamarin Profiler.app/Contents/MacOS/Xamarin Profiler Updater Version: 11 Xamarin.Android Version: 12.3.3.3 (Visual Studio Professional) Commit: xamarin-android/d17-2/4e061b7 Android SDK: /Users/c02g273emd6m/Library/Developer/Xamarin/android-sdk-macosx Supported Android versions: 12.0 (API level 31) 11.0 (API level 30) SDK Command-line Tools Version: 5.0 SDK Platform Tools Version: 31.0.3 SDK Build Tools Version: 30.0.3 Build Information: Mono: dffa5ab Java.Interop: xamarin/java.interop/d17-2@9760f0a9 ProGuard: Guardsquare/proguard/v7.0.1@912d149 SQLite: xamarin/sqlite/3.38.2@7b1e016 Xamarin.Android Tools: xamarin/xamarin-android-tools/d17-2@fc3c2ac Microsoft Build of OpenJDK Java SDK: /Library/Java/JavaVirtualMachines/microsoft-11.jdk 11.0.12 Android Designer EPL code available here: https://github.com/xamarin/AndroidDesigner.EPL Eclipse Temurin JDK Java SDK: /Library/Java/JavaVirtualMachines/temurin-8.jdk 1.8.0.302 Android Designer EPL code available here: https://github.com/xamarin/AndroidDesigner.EPL Android SDK Manager Version: 17.2.0.37 Hash: 7f5a6ef Branch: remotes/origin/d17-2 Build date: 2022-07-07 17:08:03 UTC Android Device Manager Version: 0.0.0.1116 Hash: e47e6c8 Branch: remotes/origin/d17-2 Build date: 2022-07-07 17:08:03 UTC Xamarin Designer Version: 17.1.5.90 Hash: 53f47efde Branch: remotes/origin/d17-0-vsmac Build date: 2022-07-07 17:07:58 UTC Apple Developer Tools Xcode 13.4.1 (20504) Build 13F100 Xamarin.Mac Xamarin.Mac not installed. Can't find /Library/Frameworks/Xamarin.Mac.framework/Versions/Current/Version. Xamarin.iOS Version: 15.10.0.5 (Visual Studio Professional) Hash: 96b3edb6d Branch: d17-2 Build date: 2022-05-18 07:32:07-0400 Build Information Release ID: 1700060004 Git revision: 056076d45137bf76b73f62f871524da8890deb05 Build date: 2022-07-07 17:06:08+00 Build branch: release-17.0 Build lane: release-17.0 Operating System Mac OS X 12.4.0 Darwin 21.5.0 Darwin Kernel Version 21.5.0 Tue Apr 26 21:08:22 PDT 2022 root:xnu-8020.121.3~4/RELEASE_X86_64 x86_64 ```

Screenshots

Screenshot 2022-07-19 at 6 38 50 PM

Reproduction Link

[Timeline.zip]

Workaround

As of now, I haven't been able to find a workaround to this problem.

cnharikrishnan commented 2 years ago

Same problem here. When using Fill and BackgroundColor together the Polylines are not rendered properly.