Completed
Last Updated: 07 Jul 2023 13:21 by ADMIN
Release 2.7.0
Rick
Created on: 25 Jun 2023 14:54
Category: TimeBar
Type: Bug Report
0
Multiple crashes with TimeBar

Hi,

  I am planning to build one of the pages of my software around the amazing Timebar control but I experience many issues.  With this code:


<Grid Height="200">
    <tcontrols:RadTimeBar x:Name="timeBar" Height="150">
        <tcontrols:RadTimeBar.Intervals>
            <tdataViz:YearInterval />
            <tdataViz:MonthInterval />
            <tdataViz:WeekInterval />
            <tdataViz:DayInterval />
        </tcontrols:RadTimeBar.Intervals>

        <tcontrols:RadTimeBar.Content>
            <tdataViz:RadLinearSparkline x:Name="timeSparkline"/>
        </tcontrols:RadTimeBar.Content>
    
    </tcontrols:RadTimeBar>
</Grid>
Many issues happen:

1. The control crashes if the height is too small
2. The control crashes in Visual Studio hot Reload if one of the width or height is changed (so the value becomes 0 or small when the int number is deleted or changed)
3. The control crashes the software if my MainWindow automatically navigates to a page with the TimeBar control in it.  (Frame.Navigate(typeof(Views.PageWithTimeBar));).  The workaround was to add a 200ms delay in the page load...
4. The control crashes if there is no width, so it prevents me to make it full width of my grid which is what I need to keep my software dynamically responsive.  Hard coding a width in the control defeats the purpose of the Grid layout auto width capabilities and will be a problem with devices with different resolution.

The TimeBar is really an amazing and very original control.  I have bought Telerik in big part for it, I really hope that you will be able to address these issues quickly as my software launch date is approaching.  Thank you very much!
11 comments
ADMIN
Vladimir Stoyanov
Posted on: 07 Jul 2023 13:21

Hello Rick,

Thank you for the update. 

When including the WinUI Telerik controls, you should make sure to merge their styles/resources in the App.xaml file. Here is what I have in mind:

<Application.Resources>
        <ResourceDictionary>
            <ResourceDictionary.MergedDictionaries>
                <XamlControlsResources xmlns="using:Microsoft.UI.Xaml.Controls" />
                <ResourceDictionary Source="ms-appx:///Telerik.WinUI.Controls/Themes/Generic.xaml"/>
                <!-- Other merged dictionaries here -->
            </ResourceDictionary.MergedDictionaries>
            <!-- Other app resources here -->
        </ResourceDictionary>
</Application.Resources>

Can you give this a try and let me know, if it helps?

On a side note, if you have any other questions that are not related to the original topic of this feedback item, you can open a separate ticket/forum post. This will help us to better organize the tracking of the items on our end. Thank you in advance for your understanding. 

Regards,
Vladimir Stoyanov
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.

Rick
Posted on: 04 Jul 2023 14:38

Hi Vladimir,

 

  thank you for the amazing support.  I confirm your latest dll's are working well in all cases on my side.  My crashes the other day were caused by a corrupt Visual Studio installation on a machine I use less often...  All resolved.

 

  As for the update for the Timebar, I have no more crashes with it, it's working really well.  Not only the width bugs are resolved, but I was able to confirm it resizes dynamically with the parent container as it should.

 

  I still have a crash with the calculator, I attach a simple project showing my tests.  It would be amazing if you had the time to validate if the crash is only on my side - I might be doing something wrong too!

 

  Many thanks and I look forward to 2.7!

Attached Files:
ADMIN
Vladimir Stoyanov
Posted on: 03 Jul 2023 11:10

Hello Rick,

Thank you for the updates. 

I am glad to hear that the provided dlls helped out. We have gone ahead and introduced the source code changes and the fix will be available with our next official release, which should be expected in the end of this month. 

Regards,
Vladimir Stoyanov
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.

Rick
Posted on: 29 Jun 2023 01:36
Apologies, please forget about the crashes, I had to repair my Visual Studio - I thought I'd let you know.  No crashes now with the dlls, I will play with that for a few days.  Thanks
Rick
Posted on: 28 Jun 2023 22:16

I will continue to test...  I had 2 Visual studio crashes so far when debugging my app with the dlls...  I am trying to see if the TimeBar is responsive, as it should auto adjust to the grid parent layout if no width is specified.

 

I will take the time and report back in a few days.  Thanks!

  
Rick
Posted on: 28 Jun 2023 22:03

Hi Vladimir!  The dlls provided solve the TimeBar issues on my side too.  Thank you very much!!

 

Since they are trial dlls, I'll be happy to update anytime a package update is available.  I will continue to try to isolate the other crashes I have with the calculator, but this is lower priority for me so it can take some time before I have more time to do this.

 

Many thanks for your much appreciated help!!  Really really happy with Telerik so far, the TimeBar will be a game changer for my software.

ADMIN
Vladimir Stoyanov
Posted on: 28 Jun 2023 12:37

Hello Rick,

Feel free to take your time testing out the provided dlls. 

As for the RadCalculator, I tested this on my end, however I was not able to reproduce the exception. That is why I am attaching an updated version of the sample project, which I used for testing along with a gif showing the observed on my end behavior.

If I am missing something, can you modify the shared project in order to demonstrate the scenario or outline some steps, which I can follow on my end? 

Thank you in advance for your cooperation on the matter.

Regards,
Vladimir Stoyanov
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.

Attached Files:
Rick
Posted on: 28 Jun 2023 11:37

Hi Vladimir!  Thanks for your help.

 

I will try the dlls and report back.  Please note that also the Calculator control is an instant crash on my end.  I am in Telerik winui3 all day long, and will be for a couple of weeks, so I will try to report the best I can if I encounter any problem.

 

Thank you!!

ADMIN
Vladimir Stoyanov
Posted on: 28 Jun 2023 08:28

Hello Rick,

Thank you for the shared information. 

I tested the described cases and I was able to reproduce the first, second and third scenarios. That said, I believe that the fourth scenario is related to the first three. 

I have introduced a fix for them in our source code and I have prepared some custom built dlls that you can test. You can find a sample project attached which I used for testing purposes along with the custom dlls. 

May I ask you to try out the provided dlls on your end and let me know, if the exceptions are still reproduced. If that is indeed the case, can you demonstrate them in the attached project? You can send over a video or modify the sample project, if necessary. 

If the exceptions are not reproduced on your end with the provided dlls, do let me know and we will proceed with introducing the fix in our next official version. 

Looking forward to your reply.

Regards,
Vladimir Stoyanov
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.

Attached Files:
Rick
Posted on: 25 Jun 2023 17:01
Sorry I got confused, the mode InfoMode="Multiple" of the RadCartesianChart also crashes for me, sorry I should have posted this in another thread.
Rick
Posted on: 25 Jun 2023 16:59
(5. The mode InfoMode="Multiple" crashes for me in the model above, but this is probably an error on my side, I didn't dig far in troubleshooting this - I thought I'd report it anyway as well)