Hristo Merdjanov
Team Member

FIX. RadPdfViewer - text is extracted with wrong characters when there is Simple Font without ToUnicode mapping

When there is no ToUnicode CMap, the text from the Simple Font instance should be extracted by mapping the glyph name to its corresponding charcode according to Adobe Glyph List. Additionally, the Differences array should be included in these calculations when there is custom encoding. The current implementation of RadPdfViewer makes ToString to the original char id byte value which leads to wrong characters.
Bug Report by Hristo Merdjanov Status: New Comments: 0 Category: RadPdfViewer Scheduled for: Not Scheduled Last update: 2017-03-28T15:06:02 by Deyan Yosifov
0
Desislava Yordanova
Team Member

ADD. RadPdfViewer - Handle invalid /NULL name encoding for Type1 and TrueType fonts

According to PDF format specification, there are three valid encoding name values (MacRomanEncoding, MacExpertEncoding and WinAnsiEncoding). There are documents that instead of skipping the optional Encoding property, are writing invalid /NULL name value in the font dictionary. Currently, in this invalid document scenario RadPdfViewer throws and catches Exception and this results in missing text content.

We may handle this invalid document scenario by ignoring the invalid Encoding value.
Feature Request by Desislava Yordanova Status: New Comments: 0 Category: RadPdfViewer Scheduled for: Not Scheduled Last update: 2017-03-28T13:47:40 by Desislava Yordanova
0
Hristo Merdjanov
Team Member

FIX. RadPdfViewer - missing text content caused by handled InvalidCastException while parsing Type1 font file

The exception is thrown during "Put" operator execution.
Bug Report by Hristo Merdjanov Status: Approved Comments: 0 Category: RadPdfViewer Scheduled for: Not Scheduled Last update: 2017-03-28T13:47:21 by Deyan Yosifov
0
Hristo Merdjanov
Team Member

FIX. RadRibbonBar - the caption element of a ribbon bar group is cut off when displayed in a drop down menu popup

The issue can be reproduced after creating ribbon groups with buttons having large pictures and TextImageRelation set to ImageAboveText

Workaround: handle the DropDownOpened event of the buttons and set a MaxSize to the ElementWithCaptionLayoutPanel child
public Form1()
{
InitializeComponent();

//Workaround
this.radRibbonBarGroup1.DropDownElement.DropDownOpened += DropDownElement_DropDownOpened;
this.radRibbonBarGroup2.DropDownElement.DropDownOpened += DropDownElement_DropDownOpened;
this.radRibbonBarGroup3.DropDownElement.DropDownOpened += DropDownElement_DropDownOpened;
}

private void DropDownElement_DropDownOpened(object sender, EventArgs e)
{
RadRibbonBarGroupDropDownButtonElement element = (RadRibbonBarGroupDropDownButtonElement)sender;
RadRibbonBarGroupDropDownMenuElement menuElement = (RadRibbonBarGroupDropDownMenuElement)element.DropDownMenu.PopupElement;
ElementWithCaptionLayoutPanel layoutPanel = menuElement.Layout.FindDescendant<ElementWithCaptionLayoutPanel>();
menuElement.Layout.FindDescendant<ElementWithCaptionLayoutPanel>().MaxSize = new Size(0, 77);
}
Bug Report by Hristo Merdjanov Status: Approved Comments: 0 Category: RadRibbonBar Scheduled for: Not Scheduled Last update: 2017-03-28T11:03:41 by Peter Petrov
0
Desislava Yordanova
Team Member

FIX. RadGridView - no indication for a selected cell when multiple rows are selected and the current column is pinned

To reproduce: please refer to the attached sample project and gif file.

Workaround: use the CellFormatting event and apply the light orange BackColor for the selected cells belonging to the current pinned column:

private void radGridView1_CellFormatting(object sender, Telerik.WinControls.UI.CellFormattingEventArgs e)
{
if (e.Row.IsSelected && e.Column.IsCurrent)
{
e.CellElement.BackColor = Color.FromArgb(255, 231, 174);
}
else
{
e.CellElement.ResetValue(LightVisualElement.BackColorProperty, ValueResetFlags.Local);
}
}
Bug Report by Desislava Yordanova Status: New Comments: 0 Attachments: 2 Category: RadGridView Scheduled for: Not Scheduled Last update: 2017-03-28T06:06:38 by Desislava Yordanova
0
Desislava Yordanova
Team Member

FIX. RadRichTextEditor - when the Enabled property is set to false, the font is blurry and bold

To reproduce: add some text to RadRichTextEditor and set the Enabled property to false. You will notice that the text gets bold and blurry.

Workaround: instead of disabling RadRichTextEditor, use the ReadOnly property.
Bug Report by Desislava Yordanova Status: New Comments: 1 Attachments: 1 Category: RadRichTextEditor Scheduled for: Not Scheduled Last update: 2017-03-27T15:15:20 by Bill Brothers
0
Hristo Merdjanov
Team Member

FIX. RadGridView - the search row should search in all child views within the same level

Feedback by Hristo Merdjanov Status: New Comments: 0 Category: None Scheduled for: Not Scheduled Last update: 2017-03-27T14:32:26 by Hristo Merdjanov
0
Dimitar Karamfilov
Team Member

FIX. RadPropertyGrid - exception when RadPropertyStore array is assigned to the SelectedObjects property.

Use attached project to reproduce!
This works fine in 2016.2.608.

Workaround:
Use singe RadPropertyStore object insteaf of an array.
Bug Report by Dimitar Karamfilov Status: New Comments: 0 Category: RadPropertyGrid Scheduled for: Not Scheduled Last update: 2017-03-27T09:35:41 by Dimitar Karamfilov
0
Dimitar Karamfilov
Team Member

RadGridView - incorrect row height when the rows are auto-sized and the font is changed.

Use attached project to reproduce!

Another case is when the font size is changed from the settings dialog - in this case, the row height is not adjusted.

Workaround:
Use the following custom print style:

class MyTableViewDefinitionPrintRenderer : TableViewDefinitionPrintRenderer
{
public MyTableViewDefinitionPrintRenderer(RadGridView grid) : base(grid)
{

}
protected override int GetDataRowHeight(GridViewRowInfo row, TableViewRowLayoutBase rowLayout)
{
int result = base.GetDataRowHeight(row, rowLayout);

int newHeight = 0;

if (!(row is GridViewGroupRowInfo))
{
foreach (GridViewColumn col in row.ViewTemplate.Columns)
{
if (col is GridViewRowHeaderColumn || col is GridViewIndentColumn || !col.IsVisible)
{
continue;
}

string value = row.Cells[col.Name].Value.ToString();

TableViewCellArrangeInfo info = ((TableViewRowLayout)rowLayout).LayoutImpl.GetArrangeInfo(col);
float cellWidth = (float)info.CachedWidth;
int currentHeight = TextRenderer.MeasureText(value, this.GridView.PrintStyle.CellFont, new Size((int)cellWidth, 0), TextFormatFlags.WordBreak).Height + this.GridView.Font.Height *4;

newHeight = Math.Max(newHeight, currentHeight);

}
}


return Math.Max(newHeight, result);
}
}
class MyPrintStyle :GridPrintStyle
{
protected override BaseGridPrintRenderer InitializePrintRenderer(RadGridView grid)
{
return new MyTableViewDefinitionPrintRenderer(grid);
}
}
Bug Report by Dimitar Karamfilov Status: New Comments: 0 Attachments: 1 Category: RadGridView Scheduled for: Not Scheduled Last update: 2017-03-27T08:35:31 by Dimitar Karamfilov
0
Desislava Yordanova
Team Member

FIX. RadMaskedEditBox - Clear method doesn't clear the Value property

To reproduce:

public Form1()
{
InitializeComponent();
this.radMaskedEditBox1.Mask = "9999999999";
this.radMaskedEditBox1.MaskType = Telerik.WinControls.UI.MaskType.Standard;
this.radMaskedEditBox1.PromptChar = Convert.ToChar(" ");

}

private void radButton1_Click(object sender, EventArgs e)
{
this.radMaskedEditBox1.Clear();
this.radLabel1.Text = "Value = " + this.radMaskedEditBox1.Value + Environment.NewLine + "Text = " + this.radMaskedEditBox1.Text;
}

Workaround: set the Value to null as well.
Bug Report by Desislava Yordanova Status: Completed Comments: 1 Attachments: 1 Category: RadMaskedEditBox Scheduled for: Q2 2016 Last update: 2017-03-24T16:59:01 by Joe Ruder
0
Displaying items 1 - 10 of 5447