Unplanned
Last Updated: 04 Oct 2022 12:36 by ADMIN

An exception is thrown when you try to update the items source of RadTreeListView in an async method.

The following error is observed.
InvalidOperationException: The calling thread cannot access this object because a different thread owns it

To work this around ensure that only the main UI thread updates the item source.

Unplanned
Last Updated: 03 Oct 2022 08:31 by ADMIN
The text is cut off at the end of characters when the impact font is used.
Completed
Last Updated: 30 Sep 2022 11:59 by ADMIN
Release LIB 2022.3.1003(3 Oct 2022)
Resizing a dynamically added group results in a change of other groups' sizes, if the original groups were previously resized as well.
Completed
Last Updated: 30 Sep 2022 05:42 by ADMIN
Release LIB 2022.3.1003(3 Oct 2022)

Hi Telerik,

I have created a sample project for an issue I have found:

Please see the code behind of the sample.

When removing a column from a grid where the display index was changed, and rows are selected, I do get an ArgumentOutOfRangeException. 

Any help is appreciated!

Thank you!

Thomas

Unplanned
Last Updated: 29 Sep 2022 10:57 by Brian
Created by: Brian
Comments: 0
Category: PDFViewer
Type: Bug Report
0
Some images with SMask applied are not rendered in the viewer.

Unplanned
Last Updated: 27 Sep 2022 11:34 by Martin Ivanov

The display text (the text displayed when the controls is not focused) doesn't match the FormatString on startup of RadMaskedNumericInput. This happens if the FormatString is "00" and the initial value is set to 0. In this case, the initially displayed text is "0", instead of the expected "00". When you focus the masked input control and then lost the focus, the correct display text is shown.

To workaround this, you can override the CoerceDisplayTextOverride method of RadMaskedNumericInput and replace the returned value in case it is "0".

public class CustomMaskedNumericInput : RadMaskedNumericInput
{
	protected override string CoerceDisplayTextOverride()
	{
		var txt = base.CoerceDisplayTextOverride();
		if (txt == "\00")
		{
			txt = "00";
		}
		return txt;
	}
}

In Development
Last Updated: 27 Sep 2022 08:58 by ADMIN
Created by: Adam
Comments: 1
Category: RichTextBox
Type: Bug Report
0

A user reported a significant performance impact with the RichTextBox in our recent update. The UI hangs repeatedly while typing.

Profiling showed a lot of garbage collections, and profiling highlighted the the Telerik class Telerik.Windows.Controls.MarkupExtensions.DocumentsResourceProvider.


#if NETCORE
        private static Style ThemeStyle
        {
            get
            {
                if (themeStyle == null)
                {
                    themeStyle = GetStyleFromApplicationTheme();
                }
                return themeStyle;
            }
        }

        private static Style GetStyleFromApplicationTheme()
        {
            if (StyleManager.IsEnabled && StyleManager.ApplicationTheme != null)
            {
                var themeName = StyleManager.ApplicationTheme.GetType().Name.Trim('_').ToLower();
                themeName = themeName.Replace("theme", string.Empty);

                var themesGeneric = Application.LoadComponent(new Uri("/Telerik.Windows.Controls.RichTextBox;component/themes/generic.xaml", UriKind.Relative)) as ResourceDictionary;
                if (themesGeneric != null)
                {
                    var currentThemeDictionary = themesGeneric.MergedDictionaries.FirstOrDefault(rd => rd.Source != null && rd.Source.OriginalString.ToLower().Contains(themeName));
                    if (currentThemeDictionary != null)
                    {
                        return currentThemeDictionary[typeof(DocumentsResourceProvider)] as Style;
                    }
                }
            }
            return null;
        }

 

I copied this code into my project to debug it, and found:

  1. themeName is correctly calculated to "windows11".
  2. themesGeneric is correctly loaded from the XAML.
  3. currentThemeDictionary gets null because windows11 isn't included in the merged dictionaries.

As the method returns null, it means themeStyle is always null, and it will try again on the next caller. This code is called repeatedly while typing. Using my code (and reflection) to force this ThemeStyle to Fluent fixes the performance, though obviously is a huge workaround.

 

Unplanned
Last Updated: 27 Sep 2022 07:30 by Hartmut
When the page is rotated the Stamp annotation is not rendered correctly:

Completed
Last Updated: 26 Sep 2022 13:26 by ADMIN
Release LIB 2022.3.1003 (03 Oct 2022)
The cursor jumps to the next line sometimes when clicked at the end of the line.
Unplanned
Last Updated: 26 Sep 2022 13:20 by ADMIN
When RadPdfViewer is in text selection mode and the user is trying to select a word by double-clicking on it, the last letter of the word is not selected when the word is followed by some symbols like '.', ':', '(', '...'
Completed
Last Updated: 26 Sep 2022 11:40 by ADMIN
Release LIB 2022.3.1003 (3 Oct 2022)
When the UpdateUI method is called, the selected cells are cleared. 
Completed
Last Updated: 26 Sep 2022 11:40 by ADMIN
Release LIB 2022.3.1003 (3 Oct 2022)
When passed a collection of cell regions and the SelectionMode property is Extended, the SelectCellRegion method selects only the last cell region.
Completed
Last Updated: 26 Sep 2022 07:12 by ADMIN
Release LIB 2022.3.926 (26 Sep 2022)
Drawing with the DrawTool resizes/scales the image.
Completed
Last Updated: 23 Sep 2022 08:10 by ADMIN
Release LIB 2022.3.926 (26 Sep 2022)
Currently, long file names are truncated when the view is either List, Small Icons, or Tiles
Completed
Last Updated: 23 Sep 2022 05:48 by ADMIN
Release LIB 2022.3.926 (26 Sep 2022)
Importing document with column and row print titles in cultures with decimal separator different from ',' causes ArgumentException.
Unplanned
Last Updated: 22 Sep 2022 12:36 by ADMIN

Can be reproduced in the WPF demo (Windows8 theme): the error description tooltip appears on the left of the control and with the red arrow on the left (see attachment). The tooltip should appear on the same side of the red adorned element (the red triangle, top right corner) and the tooltip arrow should point the control.

Completed
Last Updated: 21 Sep 2022 11:27 by ADMIN
Release LIB 2022.3.926 (26 Sep 2022)
To reproduce this, use 2 or more instances of a view with RadBusyIndicator in its contents. Then switch the contents of the TransitionControl using the two instances. This brings a slight glitch in the animation. The start width of the animated element gets stretched which should not happen in most animations. 

To work this around, instead of using the RadBusyIndicator as the content of RadTransitionControl, you can wrap the TransitionControl in a BusyIndicator.
Completed
Last Updated: 21 Sep 2022 08:15 by ADMIN
Release R3 2022 SP1
When certain files are imported, an exception with message" is invalid column name" is thrown.
Unplanned
Last Updated: 21 Sep 2022 06:05 by Martin Ivanov
The VirtualGrid is not scrolled horizontally when selecting the most right cell in the viewport and press Right arrow key to move the selection to a cell outside of the viewport. This action should scroll the viewport horizontally to the newly selected cell. 

The scrolling happens after few selection changes (Right key presses), but even then the selected cell is aligned to the right of the viewport instead of the left which should be expected. 


To work this around, you can disable the default behavior that happens on right click and then implement custom one from scratch. To do so, you can use the PreviewKeyDown event of RadVirtualGrid.

private void VirtualGrid_PreviewKeyDown(object sender, System.Windows.Input.KeyEventArgs e)
{
	var virtualGrid = (RadVirtualGrid)sender;
	if (e.Key == System.Windows.Input.Key.Right)
	{
		var currentCell = virtualGrid.CurrentCellInfo;
		var newCellIndex = Math.Min(currentCell.ColumnIndex + 1, virtualGrid.InitialColumnCount - 1);
		var nextCell = new VirtualGridCellInfo(currentCell.RowIndex, newCellIndex, vg);
		virtualGrid.CurrentCellInfo = nextCell;
		virtualGrid.SelectedCells.Clear();                
		virtualGrid.SelectedCells.Add(nextCell);

		var viewportWidth = this.panel.ViewportWidth - virtualGrid.RowHeaderWidth;
		var newCellX = (virtualGrid.ColumnWidth * nextCell.ColumnIndex) - this.panel.HorizontalOffset;
		if (newCellX >= viewportWidth)
		{
			var delta = virtualGrid.ColumnWidth + (newCellX - viewportWidth);
			this.panel.SetHorizontalOffset(this.panel.HorizontalOffset + delta);
		}
		e.Handled = true;
	}
}

private VirtualGridCompoundPanel panel;

private void VirtualGrid_Loaded(object sender, RoutedEventArgs e)
{
	var virtualGrid = (RadVirtualGrid)sender;
	this.panel = virtualGrid.FindChildByType<VirtualGridCompoundPanel>();            
}

Completed
Last Updated: 21 Sep 2022 05:47 by ADMIN
Release LIB 2022.3.926 (26 Sep 2022)
ADMIN
Created by: Peshito
Comments: 0
Category: Spreadsheet
Type: Bug Report
0
The series is not drawn correctly. The data points are drawn over the same XValue.
1 2 3 4 5 6