Bug 60261 - Control Background Color Changes On Rotation
Summary: Control Background Color Changes On Rotation
Status: RESOLVED FIXED
Alias: None
Product: Forms
Classification: Xamarin
Component: iOS ()
Version: 2.4.0
Hardware: All All
: Normal normal
Target Milestone: ---
Assignee: Bugzilla
URL:
: 60322 ()
Depends on:
Blocks:
 
Reported: 2017-10-18 18:46 UTC by Hines Vaughan III
Modified: 2017-11-21 01:43 UTC (History)
5 users (show)

Tags: entry, background, ac
Is this bug a regression?: Yes
Last known good build: 2.3.4.270


Attachments
Sample showing the default Entry.BackgroundColor changing on iOS device rotation (676.97 KB, application/zip)
2017-10-18 18:46 UTC, Hines Vaughan III
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 Hines Vaughan III 2017-10-18 18:46:07 UTC
Created attachment 25362 [details]
Sample showing the default Entry.BackgroundColor changing on iOS device rotation

See the attached sample to demonstrate issue.

Steps:

- Run sample
- Rotate device

Expected Result:
- The Entry's default white background stays white

Actual Result:
- The Entry's default white background changes to the ContentPage's BackgroundColor


Tested on an iPhone 8.4 simulator. This is an issue with 2.4.0.828 and 2.4.0.820.

Setting the Entry.BackgroundColor explicitly fixes the issue.
Comment 1 Hines Vaughan III 2017-10-18 19:05:42 UTC
Forgot to mention that this also effects the DatePicker and probably other controls as well.
Comment 2 Paul DiPietro [MSFT] 2017-10-23 14:32:59 UTC
*** Bug 60322 has been marked as a duplicate of this bug. ***
Comment 3 Chris King 2017-11-21 01:43:18 UTC
No longer reproduces on master.