
I have a very simple ApplicationMenu using the RecentDocumentMenu. There is nothing special about the XAML:
My RecentDocumentManager property is on a simple view model and everything functions exactly as expected. The only problem is, when I first run the application, the ApplicationMenu opens instantly upon being clicked. The MRU items are listed and clicking them to open works fine. However, the second time I click the ApplicationMenu it takes roughly 5 seconds for the menu to appear! I have capped it to 10 items in my MRU list. It seems to be linear increase in time based on the number of items - roughly 1/2 second per item. (Again, except the first time you open the menu it opens instantly) Otherwise, it is functionally fine.
When I remove the binding or make it invalid, the menu opens quickly. If I comment out the code to populate the list and have an empty RecentDocumentManager, the menu opens quickly.
I don't recalll this problem being there until recently but I couldn't swear that it is new to this release. So... any ideas on what is causing this crazy slowness?
<ribbon:ApplicationMenu.AdditionalContent>
<ribbon:RecentDocumentMenu Manager="{Binding RecentDocumentManager}"/>
</ribbon:ApplicationMenu.AdditionalContent>
When I remove the binding or make it invalid, the menu opens quickly. If I comment out the code to populate the list and have an empty RecentDocumentManager, the menu opens quickly.
I don't recalll this problem being there until recently but I couldn't swear that it is new to this release. So... any ideas on what is causing this crazy slowness?