Completed
Last Updated: 13 Dec 2024 08:47 by ADMIN
Christopher
Created on: 20 Sep 2024 18:01
Category: UI for .NET MAUI
Type: Bug Report
3
Version 7.1.0 and Maui version 8.0.90 break sizing of WinUI Entry controls

After updating our Maui application to Maui version 8.0.90, the Entry controls in the WinUI version stopped responding to WidthRequest, HorizontalOptions, or parent container sizes. I thought it was just a Maui problem, but in the relevant issue's notes, I saw that users were having trouble duplicating it unless Telerik UI for .NET Maui was installed (https://github.com/dotnet/maui/issues/24783).

So I created a test app that contains a few Entry controls in various containers:

<?xml version="1.0" encoding="utf-8"?>

<ContentPage xmlns="http://schemas.microsoft.com/dotnet/2021/maui"
             xmlns:x="http://schemas.microsoft.com/winfx/2009/xaml"
             x:Class="WinUIEntryBug.MainPage">

    <ScrollView>
        <VerticalStackLayout
            Padding="30,0"
            Spacing="25">

            <Border>
                <Entry />
            </Border>

            <Grid>
                <Grid.ColumnDefinitions>
                    <ColumnDefinition Width="*" />
                </Grid.ColumnDefinitions>

                <Entry Grid.Column="0"></Entry>
            </Grid>

            <Frame>
                <Entry />
            </Frame>

            <Entry />
        </VerticalStackLayout>
    </ScrollView>

</ContentPage>

Without the Telerik components added to the project, the Entry boxes render correctly:

But, when I add a reference to Telerik UI for .NET Maui version 7.1.0 (latest at the time this was written), I get this:

Note: I didn't even add UseTelerik() to the Builder in the MauiProgram.cs, just added the Nuget package.

Changing the WidthRequest, HorizontalOptions, MinWidthRequest, etc. does not affect their size. They do render correctly in iOS and Android, though.

If I then remove the UI for .NET Maui Nuget package, they go back to working.

In our main application, we are heavily dependent on Telerik components and have a substantial number of customers using the Windows version of our application, so this heavily impacts our ability to ship. Particularly since the Maui 8.0.90 fixes other bugs that we needed addressed.

I've attached my sample project with the Telerik UI for .NET Maui package installed. You can remove it to see the normal operation of the Entry boxes.

Attached Files:
6 comments
ADMIN
Didi
Posted on: 13 Dec 2024 08:47

Hello all,

The issue is fixed with MAUI version 8.0.92 and above.

8.0.92: https://github.com/dotnet/maui/releases/tag/8.0.92

9.0.0: https://github.com/dotnet/maui/releases/tag/9.0.0

Regards,
Didi
Progress Telerik

Love the Telerik and Kendo UI products and believe more people should try them? Invite a fellow developer to become a Progress customer and each of you can get a $50 Amazon gift voucher.

ADMIN
Didi
Posted on: 25 Sep 2024 10:50

Hello all,

We tested different scenarios including the usage of global handlers for maui entry and still the control sizing does not work. 

For now the workaround is using the RadEntry or downgrade the maui version to 8.0.82.

When we have more details on this case, this item will be updated. 

Regards,
Didi
Progress Telerik

Love the Telerik and Kendo UI products and believe more people should try them? Invite a fellow developer to become a Progress customer and each of you can get a $50 Amazon gift voucher.

ADMIN
Didi
Posted on: 24 Sep 2024 15:29

Hi all,

My name is Didi and I am part of the support team for Telerik MAUI product. This case was forwarded to me. I tested the scenario and reproduced the behavior on my side when maui 8.0.90 is used. 

The issue happens only when MAUI Entry is used. When adding Telerik MAUI RadEntry, the control behaves as expected.

I noticed some changes in maui 8.0.90 version, the windows app sdk were updated to 1.5.6. There are fixes in the entry and in the border. I assume the behavior is related to the native border element. 

For now as a workaround, you can use lower version of maui or RadEntry control.

I will need more time for further researching this case. I will send an update this week. In the meantime your patience is highly appreciated. 

Regards,
Didi
Progress Telerik

Love the Telerik and Kendo UI products and believe more people should try them? Invite a fellow developer to become a Progress customer and each of you can get a $50 Amazon gift voucher.

ADMIN
Lance | Senior Manager Technical Support
Posted on: 23 Sep 2024 12:53

Hello Nico and Christopher,

Thank you for the details, the team is aware and are investigating. I have also observed that someone else has posted in the Issue that they're reproducing without Telerik.UI.for.Maui package installed, it initially seems to be related to BorderThickness (which we do set in our implicit styles).

The team is investigating and will follow up once there is an understanding of what is happening.

Prioritization and Escalation

Please be aware that you have opened a Feedback Portal item, not a support ticket. Only Support Tickets have guaranteed responses. (or high priority response timeframes), this portal is primarily a tracking system so that you can publicly follow the status of an item.

In the future, if you need <24 hour response time, please open a Support Ticket instead. Here's a link you can use to skip right to the form https://www.telerik.com/account/support-center/contact-us/technical-support . If the item does turn out to be a bug, we will log it in the Feedback Portal on your behalf, saving you any extra steps.

In addition, it's important to know that the engineering team is located in Sofia, Bulgaria. You opened this report on Friday, at 8pm their time. Noone is going to see it until Monday anyways, then add in the lower priority of a portal item vs a Support ticket.

Thank you for your understanding an patience in the meantime!

Regards,
Lance | Senior Manager Technical Support
Progress Telerik

Love the Telerik and Kendo UI products and believe more people should try them? Invite a fellow developer to become a Progress customer and each of you can get a $50 Amazon gift voucher.

Nico
Posted on: 23 Sep 2024 08:50
I would really appreciate a quick processing of the ticket.
I am surprised that no one from Telerik looks at the nightlies and notices this early on
Christopher
Posted on: 20 Sep 2024 20:28
FYI, the Maui team, after noting that the bug only appears when Telerik UI is present, closed the ticket on their side unless they hear something different from the Telerik team.

Maui GitHub Issue