Bug 27915 - EntryCell doesn't expose text color of entry field on iOS
Summary: EntryCell doesn't expose text color of entry field on iOS
Status: CONFIRMED
Alias: None
Product: Forms
Classification: Xamarin
Component: Forms ()
Version: 2.3.4
Hardware: Macintosh Mac OS
: Normal enhancement
Target Milestone: ---
Assignee: Jason Smith [MSFT]
URL:
Depends on:
Blocks:
 
Reported: 2015-03-11 15:09 UTC by web
Modified: 2017-06-16 18:40 UTC (History)
8 users (show)

Tags: ac visual entrycell
Is this bug a regression?: ---
Last known good build:


Attachments
Settings dialog light theme (44.73 KB, image/png)
2015-06-08 11:51 UTC, web
Details
Settings dialog dark theme (41.04 KB, image/png)
2015-06-08 11:51 UTC, web
Details
Settings dialog light theme (SwitchCell) (59.54 KB, image/png)
2015-06-08 11:52 UTC, web
Details
Settings dialog dark theme (SwitchCell) (49.52 KB, image/png)
2015-06-08 11:52 UTC, web
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 for Bug 27915 on Developer Community or GitHub if you have new information to add and do not yet see a matching new report.

If the latest results still closely match this report, you can use the original description:

  • Export the original title and description: Developer Community HTML or GitHub Markdown
  • Copy the title and description into the new report. Adjust them to be up-to-date if needed.
  • Add your new information.

In special cases on GitHub you might also want the comments: GitHub Markdown with public comments

Related Links:
Status:
CONFIRMED

Description web 2015-03-11 15:09:03 UTC
EntryCell doesn't expose text color of the entry field. If you have a dark theme, than the entry field font is black on black background.
Comment 1 Parmendra Kumar 2015-03-13 14:20:00 UTC
I have checked this issue but I am not able to reproduce it. 

Screencast: http://www.screencast.com/t/T0MZiWM6lw

Please see the screencast and let me know if I have missed anything.

Could you Please provide us sample project? So that We can reproduce it at our end.

Environment info:

=== Xamarin Studio ===

Version 5.8 (build 463)
Installation UUID: 1a096c6f-0678-402e-89b2-a2c10f7e80e4
Runtime:
	Mono 3.12.0 ((detached/62a9629)
	GTK+ 2.24.23 (Raleigh theme)

	Package version: 312000083

=== Apple Developer Tools ===

Xcode 6.2 (6776)
Build 6C131e

=== Xamarin.iOS ===

Version: 8.8.1.9 (Business Edition)
Hash: 7e1f69e
Branch: 
Build date: 2015-03-12 15:35:49-0400

=== Xamarin.Android ===

Version: 4.20.0.38 (Business Edition)
Android SDK: /Users/360_macmini/Desktop/android-sdk-macosx
	Supported Android versions:
		2.1    (API level 7)
		2.2    (API level 8)
		2.3    (API level 10)
		3.1    (API level 12)
		4.0    (API level 14)
		4.0.3  (API level 15)
		4.1    (API level 16)
		4.2    (API level 17)
		4.3    (API level 18)
		4.4    (API level 19)
		4.4.87 (API level 20)
		5.0    (API level 21)
Java SDK: /usr
java version "1.8.0_31"
Java(TM) SE Runtime Environment (build 1.8.0_31-b13)
Java HotSpot(TM) 64-Bit Server VM (build 25.31-b07, mixed mode)

=== Xamarin Android Player ===

Version: Unknown version
Location: /Applications/Xamarin Android Player.app

=== Xamarin.Mac ===

Version: 1.10.0.21 (Business Edition)

=== Build Information ===

Release ID: 508000463
Git revision: 0d7bda0c4d692947c71212ef66c3b78434a3db9c
Build date: 2015-03-12 15:17:04-04
Xamarin addins: eea4775e7186e87242800751964b19a8d768276a

=== Operating System ===

Mac OS X 10.9.4
Darwin ShrutiMac.local 13.3.0 Darwin Kernel Version 13.3.0
    Tue Jun  3 21:27:35 PDT 2014
    root:xnu-2422.110.17~1/RELEASE_X86_64 x86_64
Comment 2 web 2015-03-19 03:43:39 UTC
Sorry for late answer. Have to find a computer with Flash :)

Yes, that's because I'm talking about a EntryCell and you are using an Entry. This are two completly different things.

To check it, use a EntryCell in a TableView, set the BackgroundColor to Color.Black and the TextColor of the EntryCell to Color.White.
Comment 3 Parmendra Kumar 2015-06-04 09:39:22 UTC
i have rechecked this issue as per comment #2 but not able to reproduce this issue.
Could you please provide us a Sample project and IDE Log ? So that I can reproduce this issue at my end.
Comment 4 web 2015-06-08 11:51:14 UTC
Created attachment 11511 [details]
Settings dialog light theme
Comment 5 web 2015-06-08 11:51:42 UTC
Created attachment 11512 [details]
Settings dialog dark theme
Comment 6 web 2015-06-08 11:52:08 UTC
Created attachment 11513 [details]
Settings dialog light theme (SwitchCell)
Comment 7 web 2015-06-08 11:52:37 UTC
Created attachment 11514 [details]
Settings dialog dark theme (SwitchCell)
Comment 8 web 2015-06-08 12:01:52 UTC
I need some time to create a demo project.

Up to than, look on the images I provided. You could see my settings page. This is build with TableView. You could find the source code at https://github.com/WFoundation/WF.Player/blob/master/WF.Player.Forms/Settings/SettingsPage.cs.

https://bugzilla.xamarin.com/attachment.cgi?id=11511 shows the settings page with light theme. Look at EntryCell "Size". It has LabelColor = black and BackgroundColor = white. TextColor of Entry is black. Now look on https://bugzilla.xamarin.com/attachment.cgi?id=11512. You see the same with dark theme. There is LabelColor = white, BackgroundColor = black. But how you could change the Entry TextColor? It's black. So you have black text on black background. Not very usefull :)

Btw. you get the same with SwitchCell. See this at https://bugzilla.xamarin.com/attachment.cgi?id=11513 and https://bugzilla.xamarin.com/attachment.cgi?id=11514.

It would be helpfull to have some more properties for EntryCell. We should have the color for the entry text and the background of the entry. Perhaps the Font of this Entry would be helpfull.
Comment 9 Mike Norman 2017-06-16 18:40:59 UTC
In that EntryCell does not expose what is needed to properly implement themes, this still repros. I've added "enhancement" to the tags, but this seems less like an enhancement than the repair of a design defect in Themes/EntryCell.

I would definitely head over to https://forums.xamarin.com/categories/xamarin-forms-evolution and bring this up there. It seems genuinely silly to not expose these properties, more so when they break Themes.