Text shown is randomly trimmed when inserted or updated in Android

Context is identical with thread id 149829. When writing text into any level of the tree, only in Android, I observed (since I started to work with this control, back in version 17.xx.yy) that not all the characters are displayed. When selecting any line (with trimmed text) the whole text is shown. Correct text stays for a while, but when updates are sent to that line, the phenomenon could randomly repeat. Using select line as a refresh method always works to redraw the correct text. The number of trimmed characters varies. When trimming occurs also alignment changes from 'center' to some 'to the left' kind of alignment but not fully 'Left' aligned or 'Start' aligned in that field space. Statistically, the chance to get trimmed text display is over 70-80 percent.

3 Replies

CS Chandrasekar Sampathkumar Syncfusion Team May 18, 2020 11:54 AM UTC

Hi Constantin, 
Thank you for using Syncfusion products. 
We have checked the reported query “Text shown is randomly trimmed when updated in Android” from our end. We would like to let you know that we are not able to replicate the issue on our side. We used Treeview QueryItemSize event to get the actual height of each item. In the title, it is mentioned that text is trimmed when inserted or updated in Android, but in the description only selection is mentioned. Could you please tell us the scenario in detail. We have prepared a sample based on your requirement and you can download the same using the following link, 
Sample Link: SfTreeViewSample 
Please check the attached sample and let us know if you are still facing the same issue? If yes, please modify our sample and revert us back or share the following details which would be helpful for us to check on it and provide the solution at the earliest.  
                     Xamarin.Forms version and Syncfusion version used in your application. 
                     Replication procedure to reproduce the issue. 
                     ListView Xaml and ViewModel page 
                     Issue replicating video if possible 
Regards, 
Chandrasekar Sampathkumar 



CO Constantin May 18, 2020 04:52 PM UTC

Dear Chandrasekar Sampathkumar

Maybe I failed to make my self clear. Trimmimg occurs on the horizontal not on the vertical. So, 'Constantin' will be displayed 'Cons' and aligned to left of the cell or 'Chandrasekar Sampathkumar' could be displayed maybe as 'Chandr' or maybe as 'Chandrasekar Sampa'. Please let me know if I well understood your reply.

Yours
Constantin



CS Chandrasekar Sampathkumar Syncfusion Team May 19, 2020 06:54 AM UTC

Hi Constantin, 
We have created a new incident under your Direct trac account for updating the meeting details. Please kindly follow up with the incident for further updates.  
Please log in using the below link, 
Regards, 
Chandrasekar Sampathkumar 


Loader.
Up arrow icon