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

[Bug] ShapesAPI-based Circle shape has a border by default in iOS while it doesn't have a border in Android #14286

Closed
knocte opened this issue May 21, 2021 · 0 comments · Fixed by #14587

Comments

@knocte
Copy link
Contributor

knocte commented May 21, 2021

Description

ShapesAPI-based Circle shape has a border by default in iOS while it doesn't have a border in Android.

Steps to Reproduce

  1. Have this code to draw an orange-filled circle:
            let size =  radius * 2.
            let color = (items.ElementAt 0).Color
            let pieCircle =
                Ellipse (
                    HorizontalOptions = LayoutOptions.Center,
                    VerticalOptions = LayoutOptions.Center,
                    HeightRequest = size,
                    WidthRequest = size,
                    Fill = SolidColorBrush color
                )
            gridLayout.Children.Add pieCircle
  1. Launch it on Android, and you can see this:

Screenshot 2021-05-21 at 5 12 46 PM

  1. Launch the same code in iOS.

Expected Behavior

Circle shouldn't have a border.

Actual Behavior

Circle has a border, like this:

Screenshot 2021-05-21 at 5 07 43 PM

Basic Information

Environment

=== Visual Studio Community 2019 for Mac ===

Version 8.9.9 (build 3)
Installation UUID: f90aee0b-4f78-4b97-a1b9-ce26f536cd85
	GTK+ 2.24.23 (Raleigh theme)
	Xamarin.Mac 6.18.0.23 (d16-6 / 088c73638)

	Package version: 612000125

=== Mono Framework MDK ===

Runtime:
	Mono 6.12.0.125 (2020-02/8c552e98bd6) (64-bit)
	Package version: 612000125

=== Roslyn (Language Service) ===

3.9.0-6.21152.10+c10f884b30737542ddd84ca889a4aad9281ce210

=== NuGet ===

Version: 5.8.0.6860

=== .NET Core SDK ===

SDK: /usr/local/share/dotnet/sdk/5.0.203/Sdks
SDK Versions:
	5.0.203
	5.0.202
	5.0.102
	3.1.409
	3.1.408
	3.1.405
	3.1.302
	3.1.301
	3.1.300
	3.1.200
	3.1.102
	3.1.101
	3.1.100
	3.0.101
	3.0.100
	2.1.701
	2.1.700
	2.1.505
MSBuild SDKs: /Applications/Visual Studio.app/Contents/Resources/lib/monodevelop/bin/MSBuild/Current/bin/Sdks

=== .NET Core Runtime ===

Runtime: /usr/local/share/dotnet/dotnet
Runtime Versions:
	5.0.6
	5.0.5
	5.0.2
	3.1.15
	3.1.14
	3.1.11
	3.1.6
	3.1.5
	3.1.4
	3.1.2
	3.1.1
	3.1.0
	3.0.1
	3.0.0
	2.1.23
	2.1.20
	2.1.19
	2.1.18
	2.1.17
	2.1.16
	2.1.15
	2.1.14
	2.1.13
	2.1.12
	2.1.11
	2.1.9

=== .NET Core 3.1 SDK ===

SDK: 3.1.409

=== Xamarin.Profiler ===

Version: 1.6.15.68
Location: /Applications/Xamarin Profiler.app/Contents/MacOS/Xamarin Profiler

=== Updater ===

Version: 11

=== Apple Developer Tools ===

Xcode 12.5 (18205)
Build 12E262

=== Xamarin.Mac ===

Version: 7.10.0.5 (Visual Studio Community)
Hash: ab40b131d
Branch: xcode12.5
Build date: 2021-04-22 08:56:41-0400

=== Xamarin Designer ===

Version: 16.9.0.324
Hash: b1e216c75
Branch: remotes/origin/d16-9
Build date: 2021-04-16 00:02:50 UTC

=== Xamarin.iOS ===

Version: 14.16.0.5 (Visual Studio Community)
Hash: ab40b131d
Branch: xcode12.5
Build date: 2021-04-22 08:56:42-0400

=== Xamarin.Android ===

Version: 11.2.2.1 (Visual Studio Community)
Commit: xamarin-android/d16-9/877f572
Android SDK: /Users/knocte/Library/Developer/Xamarin/android-sdk-macosx
	Supported Android versions:
		7.0 (API level 24)
		8.0 (API level 26)
		8.1 (API level 27)

SDK Tools Version: 26.1.1
SDK Platform Tools Version: 30.0.4
SDK Build Tools Version: 30.0.2

Build Information: 
Mono: 5e9cb6d
Java.Interop: xamarin/java.interop/d16-9@54f8c24
ProGuard: Guardsquare/proguard/v7.0.1@912d149
SQLite: xamarin/sqlite/3.34.1@daff8f4
Xamarin.Android Tools: xamarin/xamarin-android-tools/d16-9@d210f11

=== Microsoft OpenJDK for Mobile ===

Java SDK: /Users/knocte/Library/Developer/Xamarin/jdk/microsoft_dist_openjdk_1.8.0.25
1.8.0-25
Android Designer EPL code available here:
https://github.com/xamarin/AndroidDesigner.EPL

=== Android SDK Manager ===

Version: 16.9.0.22
Hash: a391de2
Branch: remotes/origin/dev/bretjohn/readme-tweak~3
Build date: 2021-04-21 21:23:40 UTC

=== Android Device Manager ===

Version: 16.9.0.17
Hash: fc2b3db
Branch: remotes/origin/dev/jmt/d16-9bump~1
Build date: 2021-04-21 21:23:58 UTC

=== Build Information ===

Release ID: 809090003
Git revision: 163d834aa64ba9129e5ef30e49a947ef67bcd809
Build date: 2021-05-06 10:14:43-04
Build branch: release-8.9
Xamarin extensions: 163d834aa64ba9129e5ef30e49a947ef67bcd809

=== Operating System ===

Mac OS X 10.16.0
Darwin 20.4.0 Darwin Kernel Version 20.4.0
    Fri Mar  5 01:14:14 PST 2021
    root:xnu-7195.101.1~3/RELEASE_X86_64 x86_64

Build Logs

n/a

Screenshots

see above

Reproduction Link

Project is open source so you can grab sources here: https://github.com/nblockchain/geewallet/tree/feab7fe09c185f28581b1f965a34405ad3fea257/src

Workaround

Not yet found.

@knocte knocte added s/unverified New report that has yet to be verified t/bug 🐛 labels May 21, 2021
@knocte knocte changed the title [Bug] ShapesAPI-based Circle shape has a border by default in iOS while it doesn't have a border in Android. [Bug] ShapesAPI-based Circle shape has a border by default in iOS while it doesn't have a border in Android May 21, 2021
@jsuarezruiz jsuarezruiz self-assigned this May 25, 2021
@jsuarezruiz jsuarezruiz added this to New in Triage via automation May 25, 2021
@jsuarezruiz jsuarezruiz moved this from New to Ready For Work in Triage Jun 16, 2021
@jsuarezruiz jsuarezruiz added e/2 🕑 2 and removed s/unverified New report that has yet to be verified labels Jun 16, 2021
Triage automation moved this from Ready For Work to Closed Sep 9, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
Triage
  
Closed
Development

Successfully merging a pull request may close this issue.

2 participants