Completed
Last Updated: 17 Jan 2020 14:38 by ADMIN
Release LIB 2020.1.120 (1/20/2020)

Hello,

 

I've found a new bug regarding per-monitor DPI awareness in the latest WPF controls build (2020.1.115).

Applications start fine on the modern Windows 10 systems (1607 or later) but crash on previous Windows versions.

The conditions to reproduce:

  • The application is launched on Windows version older than Windows 10 1607/Windows Server 2016. I've reproduced it on Windows 8.1/Windows Server 2012 R2, but I suppose it also affects Windows 10 1507/1511, and probably Windows 8/Windows Server 2012.
  • Application manifest contains:
<dpiAware xmlns="http://schemas.microsoft.com/SMI/2005/WindowsSettings">true/PM</dpiAware>

Here is the stack trace:

System.EntryPointNotFoundException: Unable to find an entry point named 'GetDpiForSystem' in DLL 'User32.dll'.

   at Telerik.Windows.Controls.InternalWindow.Standard.NativeMethods.GetDpiForSystem()

   at Telerik.Windows.Controls.InternalWindow.Standard.DpiHelper.GetSystemScaleFactor()

   at Telerik.Windows.Controls.InternalWindow.Standard.DpiHelper.CalculateScaleFactor(IntPtr hwnd)

   at Telerik.Windows.Controls.InternalWindow.Standard.DpiHelper.GetPerMonitorDPIAwareScaleFactor(IntPtr hwnd)

   at Telerik.Windows.Controls.InternalWindow.ChromelessWindowHelper.<Initialize>b__81_0(Object sender, EventArgs args)

   at System.Windows.Window.OnSourceInitialized(EventArgs e)

   at System.Windows.Window.CreateSourceWindow(Boolean duringShow)

   at System.Windows.Window.CreateSourceWindowDuringShow()

   at System.Windows.Window.SafeCreateWindowDuringShow()

   at System.Windows.Window.ShowHelper(Object booleanBox)

   at System.Windows.Window.Show()

   at Telerik.Windows.Controls.InternalWindow.WindowWithNoChromeWindowHost.Open(Boolean isModal)

   at Telerik.Windows.Controls.WindowBase.ShowWindow(Boolean isModal)

   at Telerik.Windows.Controls.RadWindow.Show()

   at TelerikWpfCrash.App.OnStartup(StartupEventArgs e) in C:\Users\fedarovich\source\repos\Test\TelerikWpfCrash\TelerikWpfCrash\App.xaml.cs:line 20


The issue happens because the code calls the WinAPI functions not available on these OS versions (for example, GetDpiForSystem, but maybe there are more). 

I've attached a small example to reproduce this issue. It is for .Net Core 3.1, but the same issue exists in .Net Framework too.

Completed
Last Updated: 17 Jan 2020 08:18 by ADMIN
Release LIB 2019.3.1223
The compass elements are not on the proper places when the docking is on the second monitor. To reproduce this the DPI of the monitors should be different for example 125% (main) and 150% (secondary). Also, to reproduce this you will need to enable the DPI awareness of the application by setting the dpiAware and dpiAwareness settings in the app.manifest file.
Completed
Last Updated: 17 Jan 2020 06:36 by ADMIN
Release LIB 2020.1.120 (1/20/2020)
Completed
Last Updated: 15 Jan 2020 16:05 by Thomas
Visualization layers are removed from the RadMap  in a moment when MapShapeData objects are being processes (their geometries are processed).
This leads to exception in MapShapeData.cs ' SetLogicalWidth method.


Available in R2 2017 SP
Completed
Last Updated: 15 Jan 2020 12:47 by ADMIN
Release R1 2020
The background should be stretched along with the item itself. It is currently with specified width.
Workaround: Modify the style and change the width of the tab item. A sample is attached.
Completed
Last Updated: 14 Jan 2020 16:31 by ADMIN
Release R1 2020
Created by: Martin Ivanov
Comments: 0
Category: TreeListView
Type: Bug Report
1

The JAWS screen reader cannot read the RadTreeListView and also its rows and cells.

This reproduces after the 2019.3.917 release.

To work this around create a custom RadTreeListViewAutomationPeer:

public class CustomTreeListView : RadTreeListView
{
	protected override AutomationPeer OnCreateAutomationPeer()
	{
		return new CustomTreeListViewAutomationPeer(this);
	}
}

public class CustomTreeListViewAutomationPeer : RadTreeListViewAutomationPeer
{
	public CustomTreeListViewAutomationPeer(RadTreeListView owner) 
		: base(owner)
	{
		var methodInfo = typeof(RadTreeListViewAutomationPeer).GetMethod("GetItemPeers", System.Reflection.BindingFlags.Instance | System.Reflection.BindingFlags.NonPublic);
		methodInfo.Invoke(this, null);
	}

	protected override List<AutomationPeer> GetChildrenCore()
	{
		var frameworkPeer = new FrameworkElementAutomationPeer((FrameworkElement)this.Owner);
		return frameworkPeer.GetChildren();
	}
}

Completed
Last Updated: 10 Jan 2020 14:09 by ADMIN
Release R1 2020

Recently OpenStreetMap changed their tile usage policy and require UserAgent string in the web headers for accessing tile.openstreetmap.org tiles.

https://operations.osmfoundation.org/policies/tiles/

As a result, standard open street map mode does not work - no tiles are loaded and "too many requests" error is returned from the server.

RadMap's OpenStreetMapProvider needs API (event, property or similar) for easier set up of UserAgent / Referer / other headers of web requests.

Currently, the workaround is to override the OpenStreetMapProvider like so:

    public class CustomOpenStreetProvider : OpenStreetMapProvider
    {
        public CustomOpenStreetProvider()
        {
            OpenStreetMapnikSource osmMapInkSource = this.MapSources.Values.ToList()[0] as OpenStreetMapnikSource;
            if (osmMapInkSource != null)
            {
                osmMapInkSource.WebHeaders.Add(System.Net.HttpRequestHeader.UserAgent, "your custom user agent string");
            }
        }
    }
Completed
Last Updated: 18 Dec 2019 06:10 by ADMIN
Release Lib 2019.3.1223
Clicking on the hyperlink does not open the link in .Net Core.
Completed
Last Updated: 17 Dec 2019 14:08 by ADMIN
Release LIB 2019.3.1223

The VisualStudio2019 ChartPalette (from Telerik.Windows.Controls.ChartView) throws the below exception when using the Telerik .NET Core assemblies. This does not occur when using the Telerik .NET Framework assemblies.


System.IO.IOException: 'Cannot locate resource 'visualization/palettes/resources/visualstudio2019.xml'.'
StackTrace:
   at MS.Internal.AppModel.ResourcePart.GetStreamCore(FileMode mode, FileAccess access)
   at System.IO.Packaging.PackagePart.GetStream(FileMode mode, FileAccess access)
   at MS.Internal.IO.Packaging.PackagePartExtensions.GetSeekableStream(PackagePart packPart, FileMode mode, FileAccess access)
   at MS.Internal.IO.Packaging.PackagePartExtensions.GetSeekableStream(PackagePart packPart)
   at System.Windows.Application.GetResourceStream(Uri uriResource)
   at Telerik.Windows.Controls.ChartView.ChartPalettes.LoadPalette(String fileName)
   at Telerik.Windows.Controls.ChartView.ChartPalettes.get_VisualStudio2019()

Completed
Last Updated: 15 Dec 2019 11:48 by ADMIN

When the control is declared in XAML, and we place the caret somewhere on the control the VS designer is open, and the dropdown is open.

Completed
Last Updated: 13 Dec 2019 13:36 by ADMIN
You can show the shortcuts by adding a Filter, however in the MS dialogs they are visible by default. 
Completed
Last Updated: 13 Dec 2019 13:15 by ADMIN
Created by: LindenauAtSOG
Comments: 13
Category: UI for WPF
Type: Bug Report
3

Requirements:

- Multiple screen RDP-Session with option "Show windowcontents while dragging" turned off.

- RadTabbedwindow with AllowTransparency = false (might not be necessary)

 

When dragging a maximized TabbedWindow to a different screen into maximized mode, it is allways maximized on the primary screen.
Dragging it on the target screen so that it is not maximized and then clicking maximize works.

The issue only appears when the mentiond setting in the RDP-Session is turned off.

Completed
Last Updated: 11 Dec 2019 13:35 by ADMIN
Release LIB 2019.3.1216 (12/16/2019)
When trying to import a document containing bookmark and BookmarkRangeEnd is after the last paragraph, a StackOverflowException is thrown in IntervalNode while trying to rebuild the document cache. (RadDocumentChildrenCache.RebuildTree()).

The same could be observed if the bookmark end is last in the header/footer, between table cells in the RadDocument body, or when all paragraphs after the bookmark range end are hidden (with vanish property).

Workaround: Detect the problematic annotations and remove them:
foreach (var rangeStart in document.EnumerateChildrenOfType<AnnotationRangeStart>())
{
    if (rangeStart.End == null || rangeStart.End.Parent == null || rangeStart.End.Parent.Parent == null)
    {
        //MessageBox.Show("This indicates a problem.");
        rangeStart.Parent.Children.Remove(rangeStart);
    }
}

Note: Until 2017 R2 SP1 release StackOverflowException is thrown, after this release an ArgumentException should be thrown.
Completed
Last Updated: 10 Dec 2019 14:55 by ADMIN
When a link to a folder is selected and the Open button is clicked, the RadOpenFileDialog does not navigate to that folder. 
Completed
Last Updated: 04 Dec 2019 11:40 by ADMIN
Release LIB 2019.3.1209 (12/09/2019)

When the ItemsSource is not set: ArgumentOutOfRangeException is thrown

When the ItemsSource is set to an empty collection: DivideByZeroException is thrown

Completed
Last Updated: 03 Dec 2019 11:57 by ADMIN
Release 2019.3.1209 (12/09/2019)
There is a NullReferenceException thrown while trying to compare positions for restoring them after pasting the document. The exception is handled but after it is thrown, the layout stops updating.

Workaround: Ensure the document is not empty before pasting content inside:
private void RadRichTextBox_CommandExecuting(object sender, Telerik.Windows.Documents.RichTextBoxCommands.CommandExecutingEventArgs e)
{
    if (e.Command is PasteCommand && this.radRichTextBox.Document.IsEmpty)
    {
        this.radRichTextBox.Insert(" ");
    }
}

Completed
Last Updated: 03 Dec 2019 11:49 by ADMIN
Created by: Dinko
Comments: 0
Category: GridView
Type: Bug Report
1
Fix Section 508 Compliance accessibility errors. 
Completed
Last Updated: 03 Dec 2019 11:22 by ADMIN
Created by: Dinko
Comments: 0
Category: Map
Type: Bug Report
0
Missing MapOsmCycleCommand resource key in French. All resource keys will be check for the correct spelling.
Completed
Last Updated: 02 Dec 2019 11:38 by ADMIN
Release R1 2020
RadRibbonDropDownButton DropDownIndicator isn't rotated when the DropDownButtonPosition is Right and the DropDownPlacement is Right
Completed
Last Updated: 26 Nov 2019 09:58 by ADMIN
Release LIB 2019.3.1202

Steps to reproduce:

1. Place a camera on a window

2. Have no camera plugged in the PC

3. Call the Start or Stop method

Expected behaviour: Nothing 

Actual behaviour: An exception is thrown

1 2 3 4 5 6