Bug 59724 - Page Title does not stretch in Android when larger value is applied on orientation change
Summary: Page Title does not stretch in Android when larger value is applied on orient...
Alias: None
Product: Forms
Classification: Xamarin
Component: Forms ()
Version: 2.4.0
Hardware: PC Windows
: Normal normal
Target Milestone: ---
Assignee: Bugzilla
Depends on:
Reported: 2017-09-25 13:42 UTC by NMackay
Modified: 2017-09-26 19:40 UTC (History)
3 users (show)

Tags: landscape, app start, title, ac
Is this bug a regression?: ---
Last known good build:

Forms 2.4.0-pre3 PCL bug repo (287.41 KB, application/x-rar)
2017-09-25 13:42 UTC, NMackay

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 59724 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:

Description NMackay 2017-09-25 13:42:03 UTC
Created attachment 24915 [details]
Forms 2.4.0-pre3 PCL bug repo


See attached issue for bug repo.

This bug has can be reproduced in Forms 2.3.5-pre6 and 2.4.0-pre3, Appcompat app.

As the title suggests, when handling device orientation change to landscape the navigation bar does not re-calculate the size allocated to the page title Correctly and always truncated the text.

Test test case:
If you start the app with the device in landscape mode and apply a long string it is displayed correctly, if you then flip the device to portrait the text is correctly display, flipping back to landscape and settign the page title again causes eeh text to be truncated.

The issue apparently only affects Android with iOS and UWP projects unaffected.

The issue was initially reported on this forum thread.