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

[Bug] [iOS] Color conversion not quite right on iOS - apparent on Browser.OpenAsync #1742

Open
GalaxiaGuy opened this issue Mar 30, 2021 · 4 comments
Labels
bug Something isn't working in-progress Actively being worked on. triaged

Comments

@GalaxiaGuy
Copy link

Description

Some part of the conversion through Xamarin.Forms.Color => System.Drawing.Color => UIColor is not quite right.

I noticed this when trying to set PreferredToolbarColor when using Browser.OpenAsync and noticed the color does not match.

Steps to Reproduce

  1. Use Browser.OpenAsync with a PreferredToolbarColor that matches one of app colors.

Expected Behavior

The colors look the same.

Actual Behavior

The colors look different.

Basic Information

  • Version with issue: 1.6.1

Screenshots

Reproduction Link

https://github.com/galaxiaguy/xf-bugs/tree/bug/platform-color

@GalaxiaGuy GalaxiaGuy added the bug Something isn't working label Mar 30, 2021
@jamesmontemagno
Copy link
Collaborator

I think this may be fixed with #1716

@jamesmontemagno jamesmontemagno added triaged in-progress Actively being worked on. labels Apr 13, 2021
@MSicc
Copy link

MSicc commented Feb 3, 2022

Same problem here ... hex color #296E4B, resulting in this difference: image

Any idea on how to fix that would be great...

@MSicc
Copy link

MSicc commented Feb 18, 2022

I did some more investigations on that matter. Even when setting no color at all or using the iOS SystemColors, the colors of the SfSafariViewController bars are different. I am not sure if this is a Xamarin.Forms or a (Xamarin.) iOS Problem at this point.

@mackayn
Copy link

mackayn commented Apr 29, 2022

Seeing the same still on iOS 15.4.1 and essentials 1.7.1.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Something isn't working in-progress Actively being worked on. triaged
Projects
None yet
Development

No branches or pull requests

4 participants