Bug 55356 - Text Changed in Label in Master Detail loses text alignment
Summary: Text Changed in Label in Master Detail loses text alignment
Status: CONFIRMED
Alias: None
Product: Forms
Classification: Xamarin
Component: Android ()
Version: 2.3.4
Hardware: PC Windows
: --- normal
Target Milestone: ---
Assignee: Bugzilla
URL:
: 57755 ()
Depends on:
Blocks:
 
Reported: 2017-04-18 23:51 UTC by Lewis Kwong
Modified: 2017-07-12 22:50 UTC (History)
5 users (show)

Tags: android label textalignment ac
Is this bug a regression?: No
Last known good build:


Attachments
Sample Project/Before and after images (204.58 KB, application/x-zip-compressed)
2017-04-18 23:51 UTC, Lewis Kwong
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 55356 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 Lewis Kwong 2017-04-18 23:51:06 UTC
Created attachment 21611 [details]
Sample Project/Before and after images

Tested on Android 4.4

When using a master detail page and updating the text for the label via binding it loses horizontal formatting/vertical formatting.

Reproduction Steps:

1. Look at master, see text in pink centered.
2. Look at detail text is centered properly
2. Press "ADD ITEM" in top right
3. Look at detail text is centered properly and updated
4. Look at master and text in pink box is no longer centered("Item Count" is still formatted properly)
Comment 1 Jimmy [MSFT] 2017-04-20 22:05:49 UTC
I am able to reproduce this issue with the attached project. I am confirming this report and team will investigate further.

This is only occurring on Android. When the Master page is closed and the Label it updated, the Label loses its TextAlignment. However if the Label is updated with the Master page open, it behaves as expected. This makes this issue similar, if not the same as bug 55359.

Interestingly though, with Forms 2.3.4 the issue does not occur the first time the Label is updated, only subsequent times. However with 2.3.3.193 the issue occurs every time.


### Version Tests
2.3.5-pre1  BAD
2.3.4.231   BAD
2.3.3.193   BAD
Comment 2 Rui Marinho 2017-06-19 18:41:17 UTC
Also stil on 2.3.5.239-pre3
Comment 3 Jimmy [MSFT] 2017-06-26 20:39:26 UTC
*** Bug 57755 has been marked as a duplicate of this bug. ***