Under Review
Last Updated: 21 Nov 2024 12:28 by Walter
Created by: Walter
Comments: 2
Category: VirtualKeyboard
Type: Bug Report
1

Hello,

I found a bug where the EmptySpace element breaks the layout. When I use a Key-Button instead, the layout shifts to the correct position. However, I don't actually want to have any button in this position at all.

EmptySpace Element:


<RadVirtualKeyboard xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> 
    <Grid> 
        <KeysLayout KeySpacing="0.1"> 
            <Rows> 
                <Row> 
                    <Keys>
                        <Key KeyType="Normal" Width="1" Height="1" VirtualKey="81" /> 
                        <Key KeyType="Normal" Width="1" Height="1" VirtualKey="87" /> 
                        <Key KeyType="Normal" Width="1" Height="1" VirtualKey="69" /> 
                        <Key KeyType="Normal" Width="1" Height="1" VirtualKey="82" /> 
                        <Key KeyType="Normal" Width="1" Height="1" VirtualKey="84" />
                        <Key KeyType="Normal" Width="1" Height="1" VirtualKey="89" />
                        <Key KeyType="Normal" Width="1" Height="1" VirtualKey="85" /> 
                        <Key KeyType="Normal" Width="1" Height="1" VirtualKey="73" /> 
                        <Key KeyType="Normal" Width="1" Height="1" VirtualKey="79" /> 
                        <Key KeyType="Normal" Width="1" Height="1" VirtualKey="80" />
                        <Key DisplayText="&#xf55a;" KeyType="Special" Width="2" Height="1" VirtualKey="8" />
					</Keys> 
                </Row> 
                <Row> 
                    <Keys>
	                    <EmptySpace Width="0.5" Height="1" />
	                    <Key KeyType="Normal" Width="1" Height="1" VirtualKey="65" />
	                    <Key KeyType="Normal" Width="1" Height="1" VirtualKey="83" />
	                    <Key KeyType="Normal" Width="1" Height="1" VirtualKey="68" />
	                    <Key KeyType="Normal" Width="1" Height="1" VirtualKey="70" />
	                    <Key KeyType="Normal" Width="1" Height="1" VirtualKey="71" />
	                    <Key KeyType="Normal" Width="1" Height="1" VirtualKey="72" />
	                    <Key KeyType="Normal" Width="1" Height="1" VirtualKey="74" />
	                    <Key KeyType="Normal" Width="1" Height="1" VirtualKey="75" />
	                    <Key KeyType="Normal" Width="1" Height="1" VirtualKey="76" />
						<EmptySpace Width="1" Height="1" />
						<Key DisplayText="&#xe331;" KeyType="Special" Width="1.5" Height="2" VirtualKey="13" />
                    </Keys> 
                </Row> 
                <Row> 
                    <Keys>
						<Key DisplayText="&#xf357;" KeyType="Lock" Width="1.5" Height="1" VirtualKey="20" />
						<Key KeyType="Normal" Width="1" Height="1" VirtualKey="90" />
						<Key KeyType="Normal" Width="1" Height="1" VirtualKey="88" />
						<Key KeyType="Normal" Width="1" Height="1" VirtualKey="67" />
						<Key KeyType="Normal" Width="1" Height="1" VirtualKey="86" />
						<Key KeyType="Normal" Width="1" Height="1" VirtualKey="66" />
						<Key KeyType="Normal" Width="1" Height="1" VirtualKey="78" />
						<Key KeyType="Normal" Width="1" Height="1" VirtualKey="77" />
						<Key DisplayText="," KeyType="Normal" Width="1" Height="1" />
						<Key DisplayText="." KeyType="Normal" Width="1" Height="1" />
					</Keys> 
                </Row> 
                <Row> 
                    <Keys>	               
	                    <Key DisplayText="&amp;123" KeyType="Special" Width="2" Height="1" VirtualKey="113" />
                        <Key DisplayText="" KeyType="Special" Width="10" Height="1" VirtualKey="32" />	                
					</Keys> 
                </Row> 
            </Rows> 
        </KeysLayout> 
   </Grid> 
</RadVirtualKeyboard> 

Key-Element (Layout desired with EmptySpace):


<RadVirtualKeyboard xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> 
    <Grid> 
        <KeysLayout KeySpacing="0.1"> 
            <Rows> 
                <Row> 
                    <Keys>
                        <Key KeyType="Normal" Width="1" Height="1" VirtualKey="81" /> 
                        <Key KeyType="Normal" Width="1" Height="1" VirtualKey="87" /> 
                        <Key KeyType="Normal" Width="1" Height="1" VirtualKey="69" /> 
                        <Key KeyType="Normal" Width="1" Height="1" VirtualKey="82" /> 
                        <Key KeyType="Normal" Width="1" Height="1" VirtualKey="84" />
                        <Key KeyType="Normal" Width="1" Height="1" VirtualKey="89" />
                        <Key KeyType="Normal" Width="1" Height="1" VirtualKey="85" /> 
                        <Key KeyType="Normal" Width="1" Height="1" VirtualKey="73" /> 
                        <Key KeyType="Normal" Width="1" Height="1" VirtualKey="79" /> 
                        <Key KeyType="Normal" Width="1" Height="1" VirtualKey="80" />
                        <Key DisplayText="&#xf55a;" KeyType="Special" Width="2" Height="1" VirtualKey="8" />
					</Keys> 
                </Row> 
                <Row> 
                    <Keys>
	                    <EmptySpace Width="0.5" Height="1" />
	                    <Key KeyType="Normal" Width="1" Height="1" VirtualKey="65" />
	                    <Key KeyType="Normal" Width="1" Height="1" VirtualKey="83" />
	                    <Key KeyType="Normal" Width="1" Height="1" VirtualKey="68" />
	                    <Key KeyType="Normal" Width="1" Height="1" VirtualKey="70" />
	                    <Key KeyType="Normal" Width="1" Height="1" VirtualKey="71" />
	                    <Key KeyType="Normal" Width="1" Height="1" VirtualKey="72" />
	                    <Key KeyType="Normal" Width="1" Height="1" VirtualKey="74" />
	                    <Key KeyType="Normal" Width="1" Height="1" VirtualKey="75" />
	                    <Key KeyType="Normal" Width="1" Height="1" VirtualKey="76" />
	                    <Key DisplayText="'" KeyType="Normal" Width="1" Height="1" />
						<Key DisplayText="&#xe331;" KeyType="Special" Width="1.5" Height="2" VirtualKey="13" />
                    </Keys> 
                </Row> 
                <Row> 
                    <Keys>
						<Key DisplayText="&#xf357;" KeyType="Lock" Width="1.5" Height="1" VirtualKey="20" />
						<Key KeyType="Normal" Width="1" Height="1" VirtualKey="90" />
						<Key KeyType="Normal" Width="1" Height="1" VirtualKey="88" />
						<Key KeyType="Normal" Width="1" Height="1" VirtualKey="67" />
						<Key KeyType="Normal" Width="1" Height="1" VirtualKey="86" />
						<Key KeyType="Normal" Width="1" Height="1" VirtualKey="66" />
						<Key KeyType="Normal" Width="1" Height="1" VirtualKey="78" />
						<Key KeyType="Normal" Width="1" Height="1" VirtualKey="77" />
						<Key DisplayText="," KeyType="Normal" Width="1" Height="1" />
						<Key DisplayText="." KeyType="Normal" Width="1" Height="1" />
					</Keys> 
                </Row> 
                <Row> 
                    <Keys>	               
	                    <Key DisplayText="&amp;123" KeyType="Special" Width="2" Height="1" VirtualKey="113" />
                        <Key DisplayText="" KeyType="Special" Width="10" Height="1" VirtualKey="32" />	                
					</Keys> 
                </Row> 
            </Rows> 
        </KeysLayout> 
   </Grid> 
</RadVirtualKeyboard> 

Unplanned
Last Updated: 21 Nov 2024 08:02 by Dimitar
Wrong color of lines due to Matrix Transformations applied to the Drawing.
Under Review
Last Updated: 20 Nov 2024 14:31 by Anthony
Created by: Anthony
Comments: 2
Category: Map
Type: Bug Report
0

Hello, I get KeyNotFoundException (ConcurrentDictionary) error in RemoveTile method:

Telerik.Windows.Controls.Map.TilesDownloadManager:

  • private void Dispose() â†´
  • private void RemoveL1Cache() â†´
  • private void RemoveTile(TileId key)

I wrote about it here: https://feedback.telerik.com/wpf/1656461-keynotfoundexception-when-zooming-in
But in version 2024.4.1111 only 1 problem was fixed...

ConcurrentDictionary<TileId, TileSource> requests may not contain TileId key in RemoveTile.

Can you fix this in the next release?

Unplanned
Last Updated: 19 Nov 2024 07:47 by Thomas
PdfViewer: Invalid rendering with German culture (Regression). Some text is missing and the rendering is broken.
Duplicated
Last Updated: 15 Nov 2024 13:35 by ADMIN

After upgrading to .net 9 I get the following error when starting the published program (running it in RIDER in debug-mode doesn't create the issue).


System.TypeInitializationException: The type initializer for 'Telerik.Windows.Input.Touch.TouchManager' threw an exception.
 ---> System.IO.FileNotFoundException: Could not load file or assembly 'System.Windows.Forms, Version=8.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089'. Das System kann die angegebene Datei nicht finden.

 

the mentioned assembly System.Windows.Forms is not used by me at all.

In Development
Last Updated: 15 Nov 2024 13:33 by ADMIN

The exception occurs when publishing .NET 9 application and the "Deployment Mode" in the "Publish profile" is set to "Self-contained".

The exception is not displayed, but instead the application crashes at startup and it seems like it cannot start at all. You can see the error in the Events Viewer tool of the Windows OS, after you navigate to the "Windows Logs-->Application" menu.

This is not reproducible in .NET 8.

The original stacktrace where this was hit is the following:

 

System.IO.FileNotFoundException: Could not load file or assembly 'System.Windows.Forms, Version=8.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089'. The system cannot find the file specified.
File name: 'System.Windows.Forms, Version=8.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089'
   at Telerik.Windows.Input.Touch.TouchManager.InitializeProperties()
   at Telerik.Windows.Input.Touch.TouchManager.RemoveTapHoldAndReleaseEventHandler(UIElement element, TouchEventHandler handler)
   at Telerik.Windows.Controls.RadContextMenu.AttachHandler(UIElement element)
   at Telerik.Windows.Controls.RadContextMenu.CreateReferences(UIElement element)

 

To work this around, you can try one of the following ideas:

  • Change the target framework of your project to .NET 8 or earlier.
  • Use the "Framework-dependent" Deployment mode in the Publish profile.
  • Add a reference to the C:\Program Files\dotnet\shared\Microsoft.WindowsDesktop.App\9.0.0\System.Windows.Forms.dll file in your project.


Unplanned
Last Updated: 15 Nov 2024 07:12 by ADMIN
The text is not committed and is still in edit mode when the control loses focus. The partial commit of content is not working as well.
Completed
Last Updated: 13 Nov 2024 08:50 by ADMIN
Release 2024.4.1106 (Q4 2024)
ADMIN
Created by: Mihail
Comments: 0
Category: PDFViewer
Type: Bug Report
0
The performance of loading the thumbnails is decreased with the removing of the cache in PdfViewer. 

Possible reason is that the pages are no longer loaded asynchronously.

Steps to reproduce:
- Open the SDK with the thumbnails for PDFViewer.
- Notice that the load of the thumbnails is slow.
Unplanned
Last Updated: 13 Nov 2024 05:26 by ADMIN

Improve the load time when the ribbon UI is used.

 

Completed
Last Updated: 12 Nov 2024 13:34 by ADMIN
Release 2024.4.1111 (2024 Q4)
ADMIN
Created by: Tanya
Comments: 0
Category: RichTextBox
Type: Bug Report
1
The custom list styles from a document exported by RadRichTextBox's HtmlFormatProvider are not imported.
Completed
Last Updated: 12 Nov 2024 09:24 by ADMIN
Release Telerik UI for WPF 2024.4.1111 (2024 Q4)
Memory leak due to GridViewRowAutomationPeer holding instance to the data item
Completed
Last Updated: 12 Nov 2024 08:17 by ADMIN
Release Telerik UI for WPF 2024.4.1111 (2024 Q4)
ArgumentException when loading document with a FontDize less than 0.01. 
Completed
Last Updated: 12 Nov 2024 08:17 by ADMIN
Release Telerik UI for WPF 2024.4.1111 (2024 Q4)

When trying to show the RadRichTextBox' LineNumberingDialog, nothing is displayed. This happens when using the NoXaml Telerik dlls and themes other than Windows11. The dialog is shown only in the Windows11 theme.

To work this around, add the following two lines in the App.xaml resources.

<Application x:Class="WpfApp1.App"
             xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
             xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
             xmlns:local="clr-namespace:WpfApp1" 
             xmlns:telerikDialogs="clr-namespace:Telerik.Windows.Controls.RichTextBoxUI.Dialogs;assembly=Telerik.Windows.Controls.RichTextBox"
             StartupUri="MainWindow.xaml">
    <Application.Resources>
        <ResourceDictionary>
            <ResourceDictionary.MergedDictionaries>
                <ResourceDictionary Source="/Telerik.Windows.Themes.Fluent;component/Themes/System.Windows.xaml"/>
                <ResourceDictionary Source="/Telerik.Windows.Themes.Fluent;component/Themes/Telerik.Windows.Controls.xaml"/>
                <ResourceDictionary Source="/Telerik.Windows.Themes.Fluent;component/Themes/Telerik.Windows.Controls.ImageEditor.xaml"/>
                <ResourceDictionary Source="/Telerik.Windows.Themes.Fluent;component/Themes/Telerik.Windows.Controls.Navigation.xaml"/>
                <ResourceDictionary Source="/Telerik.Windows.Themes.Fluent;component/Themes/Telerik.Windows.Controls.Input.xaml"/>
                <ResourceDictionary Source="/Telerik.Windows.Themes.Fluent;component/Themes/Telerik.Windows.Controls.RibbonView.xaml"/>
                <ResourceDictionary Source="/Telerik.Windows.Themes.Fluent;component/Themes/Telerik.Windows.Controls.RichTextBox.xaml"/>
            </ResourceDictionary.MergedDictionaries>            
            <Style TargetType="telerikDialogs:LineNumberingDialog" BasedOn="{StaticResource RadWindowStyle}"/>
            <Style TargetType="telerikDialogs:LineNumberingDistanceNumericUpDown" BasedOn="{StaticResource RadNumericUpDownStyle}"/>
        </ResourceDictionary>
    </Application.Resources>
</Application>

Completed
Last Updated: 12 Nov 2024 08:17 by ADMIN
Release Telerik UI for WPF 2024.4.1111 (2024 Q4)

ArgumentNullException can be thrown when opening a RadOpenFileDialog in the following scenario: CustomPlaces contains the Desktop directory, InitialDirectory is also set to Desktop and ShowNetworkLocations is false. 

System.Windows.Data Error: 8 : Cannot save value from target back to source. BindingExpression:Path=CurrentParentDirectory; DataItem='OpenFileDialogViewModel' (HashCode=57416810); target element is 'FileDialogsBreadcrumb' (Name='PART_PathNavigationPane'); target property is 'CurrentItem' (type 'Object') ArgumentNullException:'System.ArgumentNullException: Value cannot be null.
Parameter name: value
   at System.String.StartsWith(String value)
   at Telerik.Windows.Controls.FileDialogs.Helpers.PathHelper.CapitalizeNetworkPath(String path)
   at Telerik.Windows.Controls.FileDialogs.ExplorerControl.BringItemIntoView(DirectoryBaseWrapper itemToBring)
   at Telerik.Windows.Controls.FileDialogs.ExplorerControl.SyncTreeViewWithCurrentDir()
   at Telerik.Windows.Controls.FileDialogs.ExplorerControl.ProcessCurrentParentDirChanged()
   at System.ComponentModel.PropertyChangedEventHandler.Invoke(Object sender, PropertyChangedEventArgs e)
   at Telerik.Windows.Controls.ViewModelBase.OnPropertyChanged(String propertyName)
   at Telerik.Windows.Controls.FileDialogs.OpenFileDialogViewModel.OnPropertyChanged(String propertyName)
   at Telerik.Windows.Controls.FileDialogs.DialogViewModel.set_CurrentParentDirectory(DirectoryBaseWrapper value)'

Completed
Last Updated: 12 Nov 2024 08:17 by ADMIN
Release Telerik UI for WPF 2024.4.1111 (2024 Q4)

This is a regressiion issue in the 2024.3.924 release of Telerik UI for WPF.
Save and load of the saved XML should result of the same item IDs for every RadDiagramItem (shapes, connections).

To work this around, you can create a custom SerializationService and override its DeserializeItems method, where you can change the "makeUnique" parameter.

The issue manifests also when doing drag/drop from the RadDiagramToolBox or any other custom drag drop implementation that uses the DiagramDropInfo class (which is automatically handled by the RadDiagram's drop internal code). In this case the custom service approach won't work because the drag/drop deserialization works with a separate instance of SerializationService (SerializationService.Default) which cannot be changed. In this case, you can subscribe RadDiagram to the DragDropManaged.Drop event and manually call the SerializationService.Default.DeserializeItems method.

 public class CustomSerializationService : SerializationService
 {
     public CustomSerializationService(IGraphInternal graph) : base(graph)
     {
     }

     public override IEnumerable<IDiagramItem> DeserializeItems(SerializationInfo serializationInfo, bool makeUnique = false)
     {
         makeUnique = false;
         return base.DeserializeItems(serializationInfo, makeUnique);
     }
 }

 public MainWindow()
 {
     InitializeComponent();

     this.diagram.ServiceLocator.Register<ISerializationService>(new CustomSerializationService(this.diagram));

     DragDropManager.AddDropHandler(this.diagram, OnDiagramDrop);
 }

 private void OnDiagramDrop(object sender, Telerik.Windows.DragDrop.DragEventArgs e)
 {
     var data = DragDropPayloadManager.GetDataFromObject(e.Data, typeof(DiagramDropInfo).Name);
     if (data is DiagramDropInfo)
     {
         SerializationService.Default.DeserializeItems(((DiagramDropInfo)data).Info, false);
     }
 }

Completed
Last Updated: 12 Nov 2024 08:17 by ADMIN
Release Telerik UI for WPF 2024.4.1111 (2024 Q4)

A XamlParseException is raised when the theme's resource dictionaries are not merged in App.xaml. The missing resource is the RepeatButtonStyle resource.

To work this around, merge the resource dictionaries for the theme in the Resources collection of the App.xaml file.

Completed
Last Updated: 12 Nov 2024 08:17 by ADMIN
Release Telerik UI for WPF 2024.4.1111 (2024 Q4)
EnumEditor in PropertyGrid is not ReadOnly when ReadOnlyEditorState="ReadOnly"
Completed
Last Updated: 12 Nov 2024 08:17 by ADMIN
Release Telerik UI for WPF 2024.4.1111 (2024 Q4)
Created by: Philipp
Comments: 0
Category: SvgImage
Type: Bug Report
2
Exception when parsing a matrix: System.InvalidOperationException: 'Premature string termination encountered while parsing '1.199457 0 0 9.773393 19'.'
Completed
Last Updated: 12 Nov 2024 08:17 by ADMIN
Release Telerik UI for WPF 2024.4.1111 (2024 Q4)

When trying to install one of the following nuget packages an error occurs:

  • Telerik.Windows.Controls.EntityFramework60.for.Wpf.Xaml
  • Telerik.UI.for.Wpf.AllControls.Xaml (which contains the EF6 package from the previous bullet)

The same issue manifests with the NoXaml version of the same packages.

The error message is:

Severity Code Description Project File Line Suppression State Details
Error Failed to add reference. The package 'Telerik.Windows.Controls.EntityFramework60.for.Wpf.Xaml' tried to add a framework reference to 'EntityFramework' which was not found in the GAC. This is possibly a bug in the package. Please contact the package owners for assistance.
Reference unavailable.
To work this around, To work this around, you can reference the Telerik.Windows.Controls.EntityFramework60.dll directly and manually install the EntityFramework package (version 6.4.4), instead of using the nuget package.

 

Completed
Last Updated: 12 Nov 2024 08:17 by ADMIN
Release Telerik UI for WPF 2024.4.1111 (2024 Q4)
Controls placed inside a LayoutControlExpanderGroup do not get notified for space/enter key presses when the IsExpandable property of group is False. For example a TextBox placed inside a LayoutControlExpanderGroup will not register any space/enter keys in that case.
1 2 3 4 5 6