Bug 44600 - Color Different in iOS Specific Code and Shared Code
Summary: Color Different in iOS Specific Code and Shared Code
Status: RESOLVED FIXED
Alias: None
Product: Forms
Classification: Xamarin
Component: iOS ()
Version: 2.3.3
Hardware: Macintosh Mac OS
: Normal normal
Target Milestone: ---
Assignee: Bugzilla
URL: https://forums.xamarin.com/discussion...
Depends on:
Blocks:
 
Reported: 2016-09-21 21:20 UTC by Raphael
Modified: 2018-02-07 20:44 UTC (History)
11 users (show)

Tags: ac, ios, frame, color
Is this bug a regression?: ---
Last known good build:


Attachments
Example Project (34.06 KB, application/zip)
2016-09-21 21:20 UTC, Raphael
Details
Screen Shot (20.99 KB, image/png)
2016-09-23 21:41 UTC, Raphael
Details
How is in stable version (638.99 KB, image/png)
2016-09-30 19:29 UTC, Raphael
Details
How is in new pre-release (806.76 KB, image/png)
2016-09-30 19:30 UTC, Raphael
Details
revised sample (16.46 KB, application/zip)
2017-08-30 00:03 UTC, David Ortinau [MSFT]
Details


Notice (2018-05-24): bugzilla.xamarin.com is now in read-only mode.

Please join us on Visual Studio Developer Community and in the Xamarin and Mono organizations on GitHub to continue tracking issues. Bugzilla will remain available for reference in read-only mode. We will continue to work on open Bugzilla bugs, copy them to the new locations as needed for follow-up, and add the new items under Related Links.

Our sincere thanks to everyone who has contributed on this bug tracker over the years. Thanks also for your understanding as we make these adjustments and improvements for the future.


Please create a new report on Developer Community or GitHub with your current version information, steps to reproduce, and relevant error messages or log files if you are hitting an issue that looks similar to this resolved bug and you do not yet see a matching new report.

Related Links:
Status:
RESOLVED FIXED

Description Raphael 2016-09-21 21:20:58 UTC
Created attachment 17656 [details]
Example Project

When using the same color From RGB in ios and Shared Code the Color is different!
Did a example Project for this please Verify!
Comment 1 Raphael 2016-09-23 21:41:03 UTC
Created attachment 17723 [details]
Screen Shot
Comment 2 adrianknight89 2016-09-30 07:21:16 UTC
I tested this in XF 2.3.3.152-pre2 (iOS 10 / iPhone 6). I don't see the problem. Can you re-test with this version?
Comment 3 Raphael 2016-09-30 19:27:59 UTC
Seems like with this new release the color is correct. 
However now the rounded border from frame is not working... 
See Example prints
Comment 4 Raphael 2016-09-30 19:29:34 UTC
Created attachment 17832 [details]
How is in stable version
Comment 5 Raphael 2016-09-30 19:30:10 UTC
Created attachment 17833 [details]
How is in new pre-release
Comment 6 adrianknight89 2016-09-30 23:08:57 UTC
You're right. The latest pre-release does not have a corner radius. I'm not sure if this was intended or a regression bug.
Comment 7 adrianknight89 2016-10-01 00:02:47 UTC
I think this was intended behavior. Corner radius will probably be a platform specific implementation.  This PR (https://github.com/xamarin/Xamarin.Forms/pull/301) is where the corner radius stops working.
Comment 8 adrianknight89 2016-10-09 16:08:27 UTC
According to Samantha Houts, it was not intended behavior. So, corner radius might be a regression.
Comment 9 Samantha Houts [MSFT] 2016-12-06 18:33:52 UTC
The original report re: the color disparity appears to have been fixed, confirmed by Comment 3. The corner radius bug was reported as Bug 48509 and fixed in 2.3.3-SR1. 

Thank you!
Comment 10 Raphael 2017-01-20 00:47:34 UTC
Hello,

The error is back in version 2.3.3.180 !!

An example is already attached.
Comment 11 Chris King 2017-06-19 16:35:48 UTC
Assigned to you because bug you were last to resolve bug before it was re-opened.
Comment 12 Cody Beyer (MSFT) 2017-06-19 21:40:53 UTC
Confirmed that the color disparity is back in Forms 2.3.5.239-pre3
Comment 13 David Ortinau [MSFT] 2017-08-30 00:03:56 UTC
Created attachment 24465 [details]
revised sample

Consolidated sample comparing Frame, BoxView, and UIView along with existing UINavigationBar appearance. Color of Frame is slightly transparent by comparison.
Comment 14 Oliver Brown 2017-11-16 11:20:32 UTC
Is the frame color issue the same as this?

https://github.com/GalaxiaGuy/xamarin-forms-frame-color

There is a (stalled) PR in progress:
https://github.com/xamarin/Xamarin.Forms/pull/1182
Comment 15 David Ortinau [MSFT] 2018-02-07 20:44:01 UTC
Merged: https://github.com/xamarin/Xamarin.Forms/pull/1182