sfRichTextRibbon - QuickAccessTool -Error

Hi,

Using Visual Studio 2019, I've used your solution samples for the sfRichTextBoxAdv sample wich uses the sfRichTextRibbon control.
Even compiling your solution sample code, when ever I click on any option in the QAT (quick access toolbar) I get this error:

System.NullReferenceException: 'Object reference not set to an instance of an object.'

Also get same error when ever I select any option that makes the ribbon bar minimize, for example double click on any ribbon bar TAB, or use the minimize ribbon "^" on office 2013 theme.

error states version:  4.8.4150.0 built by: NET48REL1LAST_C
Original Location: C:\WINDOWS\Microsoft.Net\assembly\GAC_32\PresentationCore\v4.0_4.0.0.0__31bf3856ad364e35\PresentationCore.dll

Product installed: Esential Studio v18.1.0.42

Your online demo works fine but I cant get same results when compiling your sample code. (samples for RichTextBox Document Editor 18.1.0.42) using 2017.sln sample .
Compiling on NET FRAMEWORK 4.6  WPF  (C#) also (VB) got same results.

Found some solutions in forum on how to remove QAT but they did not work, I assume due to diferent version?.
I've found very little documentation on sfRichTextRibbon , found some for older versions

I wish to keep the QAT, just need it to work.
Attached a pic or Error Detail





Attachment: Error_pic_89edcfc6.zip

6 Replies

PS Premkumar Sundaramoorthy Syncfusion Team April 10, 2020 07:30 AM UTC

Hi Eric,

Thank you for contacting Syncfusion support.

We can reproduce the issue with "Null reference exception thrown while minimizing the ribbon through QAT" in our end and suspect it to be a defect. We will validate this issue and update you with more details on 14th April 2020.

To know more about ribbon control please refer to the below Ribbon control UG link. Since The SfRichTextRibbon control is a customized Ribbon with primary functionalities for SfRichTextBoxAdv.
https://help.syncfusion.com/wpf/ribbon/overview

Please let us know if you have any other questions.

Regards,
Premkumar
 



EH Eric Hinkle April 11, 2020 09:27 AM UTC

Thank you I will await your response.



PS Premkumar Sundaramoorthy Syncfusion Team April 14, 2020 12:08 PM UTC

Hi Eric,

Thank you for your patience.

We confirmed that the suspected issue with “Null reference exception thrown while minimizing the ribbon through QAT” is a defect. We have logged a defect report. The fix for this defect is estimated to be available on 28th April 2020.

Please let us know if you have any other questions.

Regards,
Premkumar
 



PS Premkumar Sundaramoorthy Syncfusion Team April 22, 2020 11:55 AM UTC

Hi Eric,

Thank you for your patience.

On further analysis we found that the reported issue was due to uncheck of Enable UI Debugging Tools for XAML.So, it is related to VisualStudio. The way to solve the issue was given below, 
1.       Select the Microsoft Visual Studio 2017 Options from the menu (Tools -> Options) 
2.       Select General under Debugging option. 
3.       Uncheck Enable UI Debugging Tools for XAML. 
Link: https://www.syncfusion.com/kb/9220/how-to-resolve-the-visual-tree-has-been-changed-during-a-visualtreechanged-event-exception

Visual Studio has released the new version for this issue. Please find the details below,
https://developercommunity.visualstudio.com/content/problem/71484/systeminvalidoperationexception-the-visual-tree-ha.html

Please let us know if you need any further assistance.

Regards,
Premkumar 



EH Eric Hinkle April 23, 2020 10:50 AM UTC

Hi Premkumar ,

This fixed the QAT problem.
I do have the latest version of Visual Studio 2019, but maybe this setting was brought over from updates.

Thanks again.
Eric


PS Premkumar Sundaramoorthy Syncfusion Team April 24, 2020 08:08 AM UTC

Hi Eric,

We gald hear that the reported issue in QAT is now resolved.

Please let us know if you need any further assistance.

Regards, 
Premkumar 


Loader.
Up arrow icon