Bug 21580 - Page not rendering correctly after the text of a Button is changed from a different page. (Windows Phone)
Summary: Page not rendering correctly after the text of a Button is changed from a dif...
Status: RESOLVED FIXED
Alias: None
Product: Forms
Classification: Xamarin
Component: Forms ()
Version: 1.2.2
Hardware: PC Windows
: Normal normal
Target Milestone: ---
Assignee: Bugzilla
URL:
Depends on:
Blocks:
 
Reported: 2014-07-24 15:38 UTC by Jon Goldberger [MSFT]
Modified: 2016-03-15 19:33 UTC (History)
4 users (show)

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

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

Comment 1 Jon Goldberger [MSFT] 2014-07-24 15:40:21 UTC
I have a Xamarin Forms Xaml based project where after showing a page the layout of some labels in the original page is incorrect.

This effect only happens as far as I can tell on Windows Phone (device or emulator). It does not happen on Android.

To reproduce the problem follow the steps below


1) Build and load the application on the Windows emulator

2) Scroll down to the bottom of the main page

3) Touch one of the ? button on the line labelled 'Time of 1st goal'

4) Touch any of the numbers shown on the next displayed page. This will dismiss the page and return to the main page.

5) The labels at the top and bottom of the screen are not rendered correctly.


Some of the labels on the MainPage seem to have been given a width which is approximately half the expected width.

The images showing the correct and incorrect appearance are contained in

https://dl.dropboxusercontent.com/u/107030794/images.zip

The project that demonstrates this effect is contained in

https://dl.dropboxusercontent.com/u/107030794/ticpick_example.zip
Comment 2 Jon Goldberger [MSFT] 2014-07-24 15:47:04 UTC
I was able to reproduce this issue using the above description. 

I also noted that if I did not set the text on the Button in the TicPickMainPage from the GoalTimePage  that the TicPickMainPage did render correctly when it was displayed again. 

To verify:

1. Open the GoalTimePage.xaml.cs file
2. Comment out line 110 which is the statement:
>    actButton.Text = min;
3. Run the Windows Phone app and proceed as in the description above. 
4. Note that the TicPickMainPage renders correctly now. (However the desired text is not set for the button of course)
Comment 3 Jason Smith [MSFT] 2016-03-15 19:33:54 UTC
Thank you for taking the time to submit this report. After reviewing the description of this bug, we no longer believe it affects the current version of Xamarin.Forms. If you are still experiencing the issue after updating your packages, please reopen this report with an attached reproduction.
 
For your convenience, we have created some reproduction best practices viewable here: https://gist.github.com/jassmith/92405c300e54a01dcc6d

Warm regards,
Xamarin Forms Team