Bug 52631 - LineBreakMode does nothing when label is in grid
Summary: LineBreakMode does nothing when label is in grid
Alias: None
Product: Forms
Classification: Xamarin
Component: Forms ()
Version: 2.3.3
Hardware: PC Windows
: --- normal
Target Milestone: ---
Assignee: Chris King
Depends on:
Reported: 2017-02-20 18:06 UTC by Paul Brenner
Modified: 2018-02-08 21:21 UTC (History)
2 users (show)

Tags: android, ios, uwp, grid, label, ac
Is this bug a regression?: ---
Last known good build:

Sample showing issue (5.93 MB, application/zip)
2017-02-20 18:06 UTC, Paul Brenner
repro solution (331.81 KB, application/x-zip-compressed)
2017-02-22 00:11 UTC, Jimmy [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 Paul Brenner 2017-02-20 18:06:27 UTC
Created attachment 19884 [details]
Sample showing issue

In a simple grid with two labels, the first label has a long string of text. If you set LineBreakMode to tail truncate on this label, it doesn't truncate. Instead the first label overlaps the second label.

Note this is not a regression of 22611 since it happens whether the row is set to Auto or Star.

See sample project to reproduce. Tested on 2.3.180 and latest pre release.
Comment 1 Jimmy [MSFT] 2017-02-22 00:10:35 UTC
Thank you for taking the time to file this report! I ran the attached project and I am seeing the issue you described so I am confirming this report. This seems to be happening on all platforms (Android, iOS, UWP).
Comment 2 Jimmy [MSFT] 2017-02-22 00:11:39 UTC
Created attachment 19897 [details]
repro solution

Updating the repro project to avoid a runtime crash on Android from missing Android support packages.
Comment 3 Paul Brenner 2017-04-27 20:27:22 UTC
Any update on this?
Comment 4 Paul Brenner 2018-01-08 20:50:54 UTC
Any update on this almost 1 year old bug? It would be great if something as simple as a label was displayed correctly.
Comment 5 Paul Brenner 2018-02-08 21:21:02 UTC
Migrated issue to to github - https://github.com/xamarin/Xamarin.Forms/issues/1847