Bug 22611 - Label does not tail truncate when in a grid row with Auto
Summary: Label does not tail truncate when in a grid row with Auto
Status: VERIFIED FIXED
Alias: None
Product: Forms
Classification: Xamarin
Component: Forms ()
Version: 1.2.3
Hardware: PC Mac OS
: Normal normal
Target Milestone: ---
Assignee: Bugzilla
URL:
Depends on:
Blocks:
 
Reported: 2014-09-03 15:31 UTC by John Miller [MSFT]
Modified: 2015-05-22 13:08 UTC (History)
5 users (show)

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


Attachments
Test Case (126.56 KB, application/zip)
2014-09-03 15:32 UTC, John Miller [MSFT]
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 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:
VERIFIED FIXED

Description John Miller [MSFT] 2014-09-03 15:31:07 UTC
**Overview:**

   A Label with LineBreakMode="TailTruncation" does not truncate when in a Grid Column with Width="Auto". 

**Steps to Reproduce:**

   1. Run the attached sample project.

**Actual Results:**

   There is a long string that does not truncate, but instead overflows off the screen.

**Expected Results:**

   The long text should truncate with the ellipses.

**Build Date & Platform:**

   XF 1.2.3-pre1
Comment 1 John Miller [MSFT] 2014-09-03 15:32:17 UTC
Created attachment 7904 [details]
Test Case
Comment 2 John Miller [MSFT] 2014-09-03 15:32:40 UTC
I forgot to mention I was testing this on Android.
Comment 3 Rajneesh Kumar 2014-09-04 11:00:55 UTC
I have checked this issue and able to reproduce. To reproduce this I have followed the steps provided in bug description.

1. Open attached sample application in XS
2. Build application, and run it.
3. Observed the text string that over flows of the screen.

I observed that there is a long string that does not truncate, but instead overflows off the
screen. 

Additional Information: Getting same behavior on device and emulator.

Screencast: http://www.screencast.com/t/oLG4v3WUjh2

Environment Info:

=== Xamarin Studio ===

Version 5.2.1 (build 1)
Installation UUID: 011d70a5-dede-428b-ab04-ef451c2e539d
Runtime:
	Mono 3.8.0 ((no/45d0ba1)
	GTK+ 2.24.23 (Raleigh theme)

	Package version: 308000009

=== Xamarin.Android ===

Version: 4.14.0 (Enterprise Edition)
Android SDK: /Users/MM/Desktop/android-sdk-macosx
	Supported Android versions:
		2.1   (API level 7)
		2.2   (API level 8)
		2.3   (API level 10)
		3.1   (API level 12)
		3.2   (API level 13)
		4.0   (API level 14)
		4.0.3 (API level 15)
		4.1   (API level 16)
		4.2   (API level 17)
		4.3   (API level 18)
		4.4   (API level 19)
Java SDK: /usr
java version "1.7.0_65"
Java(TM) SE Runtime Environment (build 1.7.0_65-b17)
Java HotSpot(TM) 64-Bit Server VM (build 24.65-b04, mixed mode)

=== Apple Developer Tools ===

Xcode 6.0 (6256.16)
Build 6A280e

=== Xamarin.iOS ===

Version: 7.2.6.28 (Enterprise Edition)
Hash: 606f31a
Branch: 
Build date: 2014-08-01 15:27:48-0400

=== Xamarin.Mac ===

Version: 1.11.0.1 (Enterprise Edition)

=== Build Information ===

Release ID: 502010001
Git revision: d06832ce9807d6be24aca225457e8b37c7669f6f
Build date: 2014-08-07 12:10:47-04
Xamarin addins: 1de032531be4cecf2f39dbee3b87aac78204058c

=== Operating System ===

Mac OS X 10.9.4
Darwin MacMini.local 13.3.0 Darwin Kernel Version 13.3.0
    Tue Jun  3 21:27:35 PDT 2014
    root:xnu-2422.110.17~1/RELEASE_X86_64 x86_64
Comment 4 Eric Maupin 2015-05-22 11:48:42 UTC
This appears to be fixed in the current version.
Comment 5 Rajneesh Kumar 2015-05-22 13:08:55 UTC
I have checked this issue with Xamarin Forms Version:1.4.3.6358-pre2 and the following builds:

Xamarin Studio Version 5.9.2 (build 2)
Installation UUID: 011d70a5-dede-428b-ab04-ef451c2e539d
Runtime:
Mono 4.0.1 ((detached/11b5830)
GTK+ 2.24.23 (Raleigh theme)
Package version: 400010043
Xamarin.Android Version: 5.1.2.1 (Indie Edition)
Build Information Release ID: 509020002
Git revision: 43735a4b905b571f69cf9428a3ea7b52aef55476
Build date: 2015-05-18 09:38:12-04
Xamarin addins: ab18ddff45f507ed74f36c2b65df9aee22e28a56
Operating System Mac OS X 10.9.5
Darwin MacMini.local 13.4.0 Darwin Kernel Version 13.4.0
Sun Aug 17 19:50:11 PDT 2014
root:xnu-2422.115.4~1/RELEASE_X86_64 x86_64

Now, I observed that there is a long string and that truncate, and does't overflows off the screen. Here is the screencast for the same: http://www.screencast.com/t/I41o1ICYCWZ

This issue has been fixed, hence I am closing this issue.

Thanks..!