I am in the process of preparing my product for alpha release and I am scrubbing my log files for anything that needs to be cleaned up prior to release. I am seeing two message in my log file that I cannot pinpoint in my code so I am suspecting it is coming from your code. I use NLog to log errors so I format Errors differently than general errors. I am seeing the following two errors being logged on app startup:
----------------------------------
2024-07-26 07:28:06.9283 ERROR
Call site: App.LogException
Method name: MobyClient.WinUI.App.LogException
Line: 0
Exception Type: System.ArgumentException
Exception Message: The parameter is incorrect.
Assets/Fonts/Segoe UI.otf is not a valid absolute URI.
Stack Trace: at WinRT.ExceptionHelpers.<ThrowExceptionForHR>g__Throw|39_0(Int32 hr)
Additional Info: An error occurred
----------------------------------
and
----------------------------------
2024-07-26 07:28:06.8891 ERROR
Call site: App.LogException
Method name: MobyClient.WinUI.App.LogException
Line: 0
Exception Type: System.ArgumentException
Exception Message: The parameter is incorrect.
Assets/Fonts/Segoe UI.ttf is not a valid absolute URI.
Stack Trace: at WinRT.ExceptionHelpers.<ThrowExceptionForHR>g__Throw|39_0(Int32 hr)
Additional Info: An error occurred
----------------------------------
In my MauiProgram.cd file, I load many fonts:
_ = builder
.UseMauiApp<App> ()
.UseTelerik ()
.ConfigureFonts (fonts => {
_ = fonts.AddFont ("FontAwesome6Brands-Regular-400.otf", "FaBrands");
_ = fonts.AddFont ("FontAwesome6Duotone-Solid-900.otf", "FaDuotone");
_ = fonts.AddFont ("FontAwesome6Pro-Light-300.otf", "FaLight");
_ = fonts.AddFont ("FontAwesome6Pro-Regular-400.otf", "FaRegular");
_ = fonts.AddFont ("FontAwesome6Pro-Solid-900.otf", "FaSolid");
_ = fonts.AddFont ("FontAwesome6Pro-Thin-100.otf", "FaThin");
_ = fonts.AddFont ("OpenSans-Regular.ttf", "OpenSansRegular");
_ = fonts.AddFont ("OpenSans-Semibold.ttf", "OpenSansSemibold");
_ = fonts.AddFont ("Poppins-Black.otf", "PoppinsBlack");
_ = fonts.AddFont ("Poppins-BlackItalic.otf", "PoppinsBlackItalic");
_ = fonts.AddFont ("Poppins-Bold.otf", "PoppinsBold");
_ = fonts.AddFont ("Poppins-BoldItalic.otf", "PoppinsBoldItalic");
_ = fonts.AddFont ("Poppins-ExtraBold.otf", "PoppinsExtraBold");
_ = fonts.AddFont ("Poppins-ExtraBoldItalic.otf", "PoppinsExtraBoldItalic");
_ = fonts.AddFont ("Poppins-ExtraLight.otf", "PoppinsExtraLight");
_ = fonts.AddFont ("Poppins-ExtraLightItalic.otf", "PoppinsExtraLightItalic");
_ = fonts.AddFont ("Poppins-Italic.otf", "PoppinsItalic");
_ = fonts.AddFont ("Poppins-Light.otf", "PoppinsLight");
_ = fonts.AddFont ("Poppins-LightItalic.otf", "PoppinsLightItalic");
_ = fonts.AddFont ("Poppins-Medium.otf", "PoppinsMedium");
_ = fonts.AddFont ("Poppins-MediumItalic.otf", "PoppinsMediumItalic");
_ = fonts.AddFont ("Poppins-Regular.otf", "PoppinsRegular");
_ = fonts.AddFont ("Poppins-SemiBold.otf", "PoppinsSemiBold");
_ = fonts.AddFont ("Poppins-SemiBoldItalic.otf", "PoppinsSemiBoldItalic");
_ = fonts.AddFont ("Poppins-Thin.otf", "PoppinsThin");
_ = fonts.AddFont ("Poppins-ThinItalic.otf", "PoppinsThinItalic");
_ = fonts.AddFont ("Segoe-Ui.ttf", "SegoeUi");
_ = fonts.AddFont ("Segoe-Ui-Bold.ttf", "SegoeUiBold");
_ = fonts.AddFont ("Segoe-Ui-Regular.ttf", "SegoeUiRegular");
_ = fonts.AddFont ("Segoe-Ui-Semibold.ttf", "SegoeUiSemibold");
_ = fonts.AddFont ("Segoe-Ui-Semilight.ttf", "SegoeUiSemilight");
})
.ConfigureMobyApplication ();
As you can see, 'Assets/Fonts/Segoe UI.ttf' or 'Assets/Fonts/Segoe UI.otf' is a font I am loading. In fact, all of the 'Segoe' font names use a dash '-' instead of a space in the file name. Also, I only load 'ttf' fonts and not 'otf' fonts for Seqoe fonts. Telerik controls are the only non-standard controls I am using so I am suspecting this font name is being loaded by your controls somehow. Can you please confirm this?
Also, when I went to report this incident, I noticed that you had requested input from me on previous issues I have raised, but I never received any email from you requesting this information. Since I rarely log into this website for anything, I don't know how you expect people to answer your questions if they are not made more visible. Is there a way to subscribe to an issue so I see all updates? I looked over the complete set of items I can add to this issue and none of them seem to be related to answering questions from you. It would be helpful for you to send any and all updates on any issues that have been logged. I just scanned my entire set of email folders and other than messages from your sales department, no other messages were found. Just sayin'...
I set a minimum height on a RadRichTextEditor control so its height would expand as the user typed more into the editor. This caused different issues on both Android and iOS.
On Android: As the height attempts to expand, it gets caught in an infinite loop where the bottom of the height is shaking. I believe this is because the call to UpdateContentSize in OnSizeAllocated causes a re-render of the underlying webview, which causes it to keep resizing over and over.
On iOS: The editor height never expands, but I believe this might be a platform issue and not a telerik issue.
In iOS if you are on a page with a rich text editor, then navigate to a new page, the editor gets unloaded. When the user navigates back, the document is still unloaded and is no longer functional. This is not a problem on Android.
Here is a stack trace of when that document gets unloaded:
I'm forced to use RadNumericInput with styling the NumericInputEntry HorizontalTextAlignment set to End
<Style x:Key="rightNumericInputEntryStyle"
TargetType="telerik:NumericInputEntry">
<Setter Property="HorizontalTextAlignment" Value="End" />
</Style>
...
<telerik:RadNumericInput AutomationId="ageNumeric"
EntryStyle="{StaticResource rightNumericInputEntryStyle}"
Minimum="0"
Value="{Binding Age, Mode=TwoWay}" />
doing this, the value is cut off, when the controls width gets small.
There is some space on the left, which is not used.
Easy to reproduce in the SDK Samples.
I'm not able to find a way changing this
Value in this Screenshot: 123456, cut after 5
any workaround (keeping the value HorizontalTextAlignment="End") is highly appreciated
When setting IsEnabled through binding, it does not work on items level, it works on toolbar level. Still the Isvisible property works on items level.
<telerik:RadToolbar x:Name="toolbar" >
<telerik:ToggleButtonToolbarItem Text="ToggleButton" IsEnabled="{Binding IsActive, Mode=TwoWay}">
<telerik:ToggleButtonToolbarItem.ImageSource>
<FontImageSource Glyph="{x:Static telerik:TelerikFont.IconBold}"
FontFamily="{x:Static telerik:TelerikFont.Name}"
Size="16" />
</telerik:ToggleButtonToolbarItem.ImageSource>
</telerik:ToggleButtonToolbarItem>
</telerik:RadToolbar>
I have the following setup:
<telerik:RadTimePicker x:Name="picker" MinuteStep="5" SpinnerFormat="HH:mm"/>
When opening first time the picker already shows time for example 11 : 00
So I did not change the values of hours and minute and clicked OK . The Time property reflects data as 11 : 21 (current time on device ) instead on 11 : 00 which is confirmed by clicking OK.
Text is not centered vertically on WinUI with latest Maui. The issue also affects NumericInput control as RadEntry is used internally.
As of Telerik v7.0.0 this started to happen. In v6.8.0 the issue doesn't occur. The customer uploaded a sample project in the support ticket.