Bug 47430 - ButtonRenderer does not set TextFormatted property on override to OnElementChanged
Summary: ButtonRenderer does not set TextFormatted property on override to OnElementCh...
Status: CONFIRMED
Alias: None
Product: Forms
Classification: Xamarin
Component: Android ()
Version: 2.3.2
Hardware: Macintosh Mac OS
: Normal normal
Target Milestone: ---
Assignee: Paul DiPietro [MSFT]
URL:
Depends on:
Blocks:
 
Reported: 2016-11-18 21:58 UTC by Rafael Pereira
Modified: 2017-12-08 18:45 UTC (History)
4 users (show)

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


Attachments
Sample project displaying the bug (60.56 KB, application/zip)
2016-11-18 21:58 UTC, Rafael Pereira
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 47430 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 Rafael Pereira 2016-11-18 21:58:56 UTC
Created attachment 18550 [details]
Sample project displaying the bug

Declaring the value of the Control's TextFormatted property in OnElementChanged method override does not work even though it does in OnElementPropertyChanged method override.

The attached sample project examples this behavior.

Environment info below.

=== Xamarin Studio Enterprise ===

Version 6.1.2 (build 44)
Installation UUID: 0b4c618a-4ce1-44db-85d0-1df9dea8bc3b
Runtime:
	Mono 4.6.2 (mono-4.6.0-branch/08fd525) (64-bit)
	GTK+ 2.24.23 (Raleigh theme)

	Package version: 406020007

=== NuGet ===

Version: 3.4.3.0

=== Xamarin.Profiler ===

Not Installed

=== Apple Developer Tools ===

Xcode 8.1 (11544)
Build 8B62

=== Xamarin.Mac ===

Not Installed

=== Xamarin.Android ===

Version: 7.0.2.37 (Visual Studio Enterprise)
Android SDK: /Users/rafaelpereira/Library/Developer/Xamarin/android-sdk-macosx
	Supported Android versions:
		4.3 (API level 18)
		6.0 (API level 23)

SDK Tools Version: 25.2.2
SDK Platform Tools Version: 24.0.0
SDK Build Tools Version: 23.0.2

Java SDK: /usr
java version "1.7.0_71"
Java(TM) SE Runtime Environment (build 1.7.0_71-b14)
Java HotSpot(TM) 64-Bit Server VM (build 24.71-b01, mixed mode)

Android Designer EPL code available here:
https://github.com/xamarin/AndroidDesigner.EPL

=== Xamarin Android Player ===

Not Installed

=== Xamarin.iOS ===

Version: 10.2.1.5 (Visual Studio Enterprise)
Hash: 44931ae
Branch: xcode8.1
Build date: 2016-11-01 20:52:28-0400

=== Xamarin Inspector ===

Version: 1.0.0.0
Hash: 1f3067d
Branch: master
Build date: 11/15/2016 7:13:59 PM

=== Build Information ===

Release ID: 601020044
Git revision: 0ccfcd52b95305ebd5b7eca0d88c1017035910ae
Build date: 2016-10-28 15:12:43-04
Xamarin addins: a39a869d8a78d87bdc6775f696c13a4cc9024501
Build lane: monodevelop-lion-cycle8

=== Operating System ===

Mac OS X 10.12.0
Darwin MobRJs-MacBook-Pro.local 16.0.0 Darwin Kernel Version 16.0.0
    Mon Aug 29 17:56:20 PDT 2016
    root:xnu-3789.1.32~3/RELEASE_X86_64 x86_64

=== Enabled user installed addins ===

MFractor 2.06.00
Xamarin Inspector 1.0.0.0
Comment 1 adrianknight89 2016-11-19 05:06:36 UTC
This also seems to be happening with the Text property.
Comment 2 Samantha Houts [MSFT] 2017-09-11 20:37:25 UTC
https://github.com/xamarin/Xamarin.Forms/pull/972
Comment 3 Paul DiPietro [MSFT] 2017-12-08 18:45:21 UTC
Going to possibly revisit this at some point later.