We're using the RadRibbonView and are populating it's content dynamically using models for tabs, groups, and buttons. In the constructor of our window we initialize some default tab for the ribbon and make it selected. Then after the window has been loaded we add some more ribbon tabs based off a certain configuration. By itself this works just fine. However we've now decided to bind the RadRibbonView.IsMinimized property so that we can change it in code (get/set from config class). This also works fine by itself, but when you combine these two usage behaviors the RadRibbonView kind of breaks on initial start. You can download a sample project that demonstrates the problem here: https://dl.dropboxusercontent.com/u/22608/RibbonViewMinimized.zip
It seems to be related to the tab selection. In the constructor of the MainWindow if you remove the line that sets the initially selected tab then the problem goes away. Otherwise the SelectedTabContent component of the RadRibbonView seems to become detached from the window (if you move the window around the screen after it initially loads you'll see what I mean). Also, after the window is displayed and the ribbon view is broken, toggling IsMinizmied (double-clicking on a tab header) fixes the issue.
There's things we can do to easily work around this, but I just wanted to present it as a bug and see if you had any feedback.
Thanks!
It seems to be related to the tab selection. In the constructor of the MainWindow if you remove the line that sets the initially selected tab then the problem goes away. Otherwise the SelectedTabContent component of the RadRibbonView seems to become detached from the window (if you move the window around the screen after it initially loads you'll see what I mean). Also, after the window is displayed and the ribbon view is broken, toggling IsMinizmied (double-clicking on a tab header) fixes the issue.
There's things we can do to easily work around this, but I just wanted to present it as a bug and see if you had any feedback.
Thanks!
7 Answers, 1 is accepted
0
Hello Mel,
We can confirm that there is an bug related to the selected tab item popup when the RadRibbonView is minimized. I have isolated that problem regardless of the binding to the IsMinimized or SelectedItem properties.
Could you please try to reproduce the issue using the following steps and let us know if that is the issue you are experiencing:
1) Remove the binding to the SelectedItem and IsMinimized. Set the IsMinimized property to true in xaml and run your project.
2) Hover one of the TabItems and single click the item on its bottom border.
3) Now you can move your window and the popup will remain open(displayed as detached to the window).
If that is not the issue, could you give us more detailed steps in order to reproduce it on our side.
Thank you for your cooperation.
Kind regards,
Kiril Vandov
Telerik
We can confirm that there is an bug related to the selected tab item popup when the RadRibbonView is minimized. I have isolated that problem regardless of the binding to the IsMinimized or SelectedItem properties.
Could you please try to reproduce the issue using the following steps and let us know if that is the issue you are experiencing:
1) Remove the binding to the SelectedItem and IsMinimized. Set the IsMinimized property to true in xaml and run your project.
2) Hover one of the TabItems and single click the item on its bottom border.
3) Now you can move your window and the popup will remain open(displayed as detached to the window).
If that is not the issue, could you give us more detailed steps in order to reproduce it on our side.
Thank you for your cooperation.
Kind regards,
Kiril Vandov
Telerik
TRY TELERIK'S NEWEST PRODUCT - EQATEC APPLICATION ANALYTICS for WPF.
Learn what features your users use (or don't use) in your application. Know your audience. Target it better. Develop wisely.
Sign up for Free application insights >>
Learn what features your users use (or don't use) in your application. Know your audience. Target it better. Develop wisely.
Sign up for Free application insights >>
0
Mel
Top achievements
Rank 1
answered on 04 Feb 2014, 04:33 PM
Hey Kiril,
Yes, following the three steps you outlined produces the exact result you described in our application. I'm assuming then that this is the issue. Please let me know if there's anything else you need from me.
Thanks,
Mel Green
Yes, following the three steps you outlined produces the exact result you described in our application. I'm assuming then that this is the issue. Please let me know if there's anything else you need from me.
Thanks,
Mel Green
0
Hello Mel,
Thank you for your cooperation.
I have updated your Telerik as a small sign of appreciation for your efforts and cooperation during the investigation. We will try to fix this issue for our next official release Q1 2014.
King regards,
Kiril Vandov
Telerik
Thank you for your cooperation.
I have updated your Telerik as a small sign of appreciation for your efforts and cooperation during the investigation. We will try to fix this issue for our next official release Q1 2014.
King regards,
Kiril Vandov
Telerik
TRY TELERIK'S NEWEST PRODUCT - EQATEC APPLICATION ANALYTICS for WPF.
Learn what features your users use (or don't use) in your application. Know your audience. Target it better. Develop wisely.
Sign up for Free application insights >>
Learn what features your users use (or don't use) in your application. Know your audience. Target it better. Develop wisely.
Sign up for Free application insights >>
0
Jay I
Top achievements
Rank 1
answered on 28 Apr 2014, 05:25 PM
I'm using WPF RadRibbonView 2014 Q1 and experiencing this same issue. Any fixes?
0
Hello Mel,
Note that the described issue with the popup was fixed in 2014 Q1. We tested the project from your first post to see if we can reproduce this behavior with the new assemblies (2014 Q1) but we were not able to do it. Can you provide us with a sample project which isolates the reported behavior. Also, it will be helpful if you can send us steps to reproduce it. This will help us investigating this behavior further.
Thank you in advance for the cooperation.
Regards,
Martin
Telerik
Note that the described issue with the popup was fixed in 2014 Q1. We tested the project from your first post to see if we can reproduce this behavior with the new assemblies (2014 Q1) but we were not able to do it. Can you provide us with a sample project which isolates the reported behavior. Also, it will be helpful if you can send us steps to reproduce it. This will help us investigating this behavior further.
Thank you in advance for the cooperation.
Regards,
Martin
Telerik
Check out Telerik Analytics, the service which allows developers to discover app usage patterns, analyze user data, log exceptions, solve problems and profile application performance at run time. Watch the videos and start improving your app based on facts, not hunches.
0
Russ
Top achievements
Rank 1
Iron
answered on 14 May 2014, 11:57 PM
Is this still open? I have having the same issue I think. If I set the RadRibbonView to
IsMinimized="True"
I get this error;
Error 1 Object reference not set to an instance of an object. D:\local projects\der_project\der_project\MainWindow.xaml 19 254 der_project
0
Hi Russell,
I am not able to reproduce the reported error, but I can suggest you to try the following:
Martin
Telerik
I am not able to reproduce the reported error, but I can suggest you to try the following:
- Ensure that all the referenced assemblies are the same version
- Delete the bin and obj folders of your project and then clean it.
If this doesn't help can you send us a sample project which isolates the issue. This will allow us to test locally and further investigate the error. However, you cannot attach zip files in the forum so I will ask you to open a new support ticket. Thank you in advance for your cooperation.
Regards,Martin
Telerik
Check out Telerik Analytics, the service which allows developers to discover app usage patterns, analyze user data, log exceptions, solve problems and profile application performance at run time. Watch the videos and start improving your app based on facts, not hunches.