[.NET 9] RadListPicker doesn't respect app theme

0 Answers 34 Views
ListPicker
Jérôme
Top achievements
Rank 1
Iron
Iron
Iron
Jérôme asked on 09 Dec 2024, 01:50 PM

Hi,

After upgrading my MAUI application to .NET 9 and installing Telerik.UI.for.Maui 8.0, RadListPicker doesn't respect app theme when it's set to dark mode.

 

It was working with .Net 8 and Telerik.UI.for.Maui 7.0

 

 

A fix would be appreciated.

Jérôme
Top achievements
Rank 1
Iron
Iron
Iron
commented on 09 Dec 2024, 03:56 PM

In addition, here is a repro project : GitHub

- Start the app

- Go to Options

- Click on Select an item (RadListPicker doesn't respect dark theme)

Lance | Senior Manager Technical Support
Telerik team
commented on 10 Dec 2024, 06:24 PM

Hi Jerome,

The major version update to Telerik UI for Maui 8.0.0 requires some additional steps for styling and appearance because we introduced a new theming mechanism. Please follow the directions in Theming Support - Telerik UI for .NET MAUI article.

Once that is finished, do a full Clean and Rebuild of the project and let us know if you are still having the issue.

P.S. This might also be responsible for some other behavior you are seeing, so I would recommend retesting any other items, too.

Jérôme
Top achievements
Rank 1
Iron
Iron
Iron
commented on 11 Dec 2024, 09:01 AM | edited

Hi Lance,

I''ve been able to setup the new app theming mechanism but when I access a ContentPage that holds a RadDataGrid, I took more than 30 seconds to show up (compared to 2 seconds before). After the page finally shows up, the overall behavior is extremely laggy.

In my debugguer output windows, I see many warning stacking up, related to the following :

[0:] Microsoft.Maui.Controls.Element: Warning: Microsoft.Maui.Controls.SolidColorBrush is already a child of Telerik.Maui.Controls.RadBorder. Remove Microsoft.Maui.Controls.SolidColorBrush from Telerik.Maui.Controls.RadBorder before adding to Telerik.Maui.Controls.RadBorder.

This is not acceptable with that kind of performance issue

Jérôme
Top achievements
Rank 1
Iron
Iron
Iron
commented on 11 Dec 2024, 09:14 AM

Also, all .cs files related to app theming mechanism should start with // <autogenerated />

Current files are adding more than a thousand warnings in my app...

Didi
Telerik team
commented on 11 Dec 2024, 11:40 AM

Hi Jerome,

Note that the theming is released as a preview version. We are aware of performance issues on Android platform and we will have them in mind.

Build the app in a release mode and test the performance.

No answers yet. Maybe you can help?

Tags
ListPicker
Asked by
Jérôme
Top achievements
Rank 1
Iron
Iron
Iron
Share this question
or