Bug 31662 - Button Images are not grayed out when the button is disabled
Summary: Button Images are not grayed out when the button is disabled
Alias: None
Product: Forms
Classification: Xamarin
Component: Forms ()
Version: 1.4.3
Hardware: PC Mac OS
: Normal normal
Target Milestone: ---
Assignee: Bugzilla
Depends on:
Reported: 2015-07-06 10:27 UTC by John Miller [MSFT]
Modified: 2016-04-11 03:14 UTC (History)
7 users (show)

Tags: AC iOS image
Is this bug a regression?: ---
Last known good build:

Test Case (196.04 KB, application/zip)
2015-07-06 10:27 UTC, John Miller [MSFT]
iOS Actual Results (24.99 KB, image/png)
2015-07-06 10:27 UTC, John Miller [MSFT]

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:

Description John Miller [MSFT] 2015-07-06 10:27:17 UTC
Created attachment 11881 [details]
Test Case


   When a button is not touchable using the CanExecute of the bound Command, the image assigned to the Image property is not grayed out. 

**Steps to Reproduce:**

   1. Run the attached sample on an iOS simulator

**Actual Results:**

   The button is disabled and the text is grayed out, but the Image is not. See attached image.

**Expected Results:**

   The button text and image should be grayed out.

**Build Date & Platform:**

   XF 1.4.3
Comment 1 John Miller [MSFT] 2015-07-06 10:27:32 UTC
Created attachment 11882 [details]
iOS Actual Results
Comment 2 Udham Singh 2015-07-06 11:51:32 UTC
I have checked this issue with the help of sample app attached in bug description and observed the reported behaviour. Please refer the screencast : 

Ide Log : https://gist.github.com/Udham1/113219457f32a925d32d
System Log : https://gist.github.com/Udham1/1d5c850a5f8242bd0a3b
Application Output : https://gist.github.com/Udham1/05bae6b4ae13e02318a8
Build Output : https://gist.github.com/Udham1/73c199747556cbae13d9

Environment Info : 

Xamarin.Forms :

=== Xamarin Studio ===

Version 5.9.4 (build 5)
Installation UUID: ce927b2a-2c07-44c5-b186-09cfdafba6dc
	Mono 4.0.2 ((detached/c99aa0c)
	GTK+ 2.24.23 (Raleigh theme)

	Package version: 400020005

=== Apple Developer Tools ===

Xcode 6.2 (6776)
Build 6C131e

=== Xamarin.Mac ===

Version: (Enterprise Edition)

=== Xamarin.Android ===

Version: (Enterprise Edition)
Android SDK: /Users/xamarin76/Desktop/android-sdk-macosx
	Supported Android versions:
		2.3    (API level 10)
		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.7.0_65"
Java(TM) SE Runtime Environment (build 1.7.0_65-b17)
Java HotSpot(TM) 64-Bit Server VM (build 24.65-b04, mixed mode)

=== Xamarin Android Player ===

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

=== Xamarin.iOS ===

Version: (Enterprise Edition)
Hash: ef8c2f7
Branch: master
Build date: 2015-06-22 21:28:32-0400

=== Build Information ===

Release ID: 509040005
Git revision: 8010a90f6e246b32364e3fb46ef2c9d1be9c9a2b
Build date: 2015-06-08 16:52:06-04
Xamarin addins: 7e93e9c3503f28770f23ce1b7eafd829919f18e8

=== Operating System ===

Mac OS X 10.9.5
Darwin Xamarin76s-Mac-mini.local 13.4.0 Darwin Kernel Version 13.4.0
    Sun Aug 17 19:50:11 PDT 2014
    root:xnu-2422.115.4~1/RELEASE_X86_64 x86_64
Comment 4 Jason Smith [MSFT] 2016-04-11 03:14:21 UTC
The visual treatment of the image is up to the platform.