Professional UI Solutions
Site Map   /  Register


Please Log In to post a new message or reply to an existing one. If you are not registered, please register.

NOTE: Some forums may be read-only if you are not currently subscribed to our technical support services.

Forums » Prof-UIS General Discussion » Ribbon bar performance issues when changing tabs with Office 2007 theme (was fast in v2.61) Collapse All
Subject Author Date
BGC Dev Oct 30, 2008 - 5:15 AM


I’m currently looking at implementing the ribbon bar from prof-uis v2.83 into our application and have been evaluating the RibbonBar sample application. I’ve noticed that when using any of the Office 2007 themes, there is a 1 second delay when changing tabs (release build with MSVC7.1) which unfortunately is too slow for our users (high demand trading environment).

Initially it seemed as this was not a bug, but rather due to design of the RibbonBar in Prof UIS. However, testing the same sample from v2.61 with an Office 2007 theme showed a significantly faster response (by at least 10 times). Further testing has shown even stranger results. I’m not yet able to pinpoint the cause (or exactly how to reproduce), but occasionally the v2.83 sample runs significantly faster when changing tabs (I find this highly unlikely, but launching in the debugger will sometimes be a way to reproduce this).

What’s even more confusing is that most subsequent launches will also behave with the improved performance. At this stage the only way to reproduce the slow behaviour is to restart. My only hunch is that there may be configuration options in the registry (or elsewhere) that Prof-UIS uses to store theme related information, and should this be corrupt (from running an older sample for example),tab switching performance (with Office 2007 themes) is impacted.

Details about our environment:

Windows XP SP3


Graphics card: NVidia Quadro NVS 285 (176.04 Forceware driver)

Are you aware of the tab switching performance issue (I’ve only been testing with the RibbonBar sample so far) and a possible fix?

Failing that, would it be possible if we could download previous releases to determine which version the performance problem was introduced?

Many thanks,


P.S. I’m happy to provide more details (spy++ message logs, screen recordings, msinfo32 dumps, etc...)

BGC Dev Oct 30, 2008 - 12:18 PM

Thank you for the prompt response.

Note that all the tests performed were with a release build.

If you could provide a trial for v2.84, it would be much appreciated (we’re using visual studio 2003/vc7.1).


Technical Support Nov 3, 2008 - 1:48 PM

Yes, please drop us an e-mail to the support mail box at this web site and describe which Visual Studio version(s) are you using, which service pack is installed on it if any and which Prof-UIS configurations should we compile for you?

BGC Dev Nov 11, 2008 - 4:42 AM


Thank you for supplying an evaluation of v2.84. After testing the RibbonBar sample (in release), the problem unfortunately still occurs.

However, we’ve discovered that the delay in tab switching (also with drawing effects) is reproducable by moving the mouse while clicking the ribbon tabs. Only when the mouse stops moving will the tab switch occur (and drawing effects).

This may be related to the issue that Vlad Kozatchenko posted here.

Is there a possibility of this being fixed before 2.84 is released? (Assuming you are able to reproduce the bug).

Many thanks,




Technical Support Oct 30, 2008 - 10:30 AM

Please check the Release configuration. Any Debug version of any Prof-UIS classes is much slower due to heavy assertion failure checks.

We confirm the following performance issues related to the ribbon controls:

1) The tab pages with galleries and toolbar like ribbon groups are slower than tab pages with simple ribbon buttons. I.e. the Home tab page in the RibbonBar sample is slower than other.

2) The ribbon bar is working faster if the current paint manager theme does not use skinned window non-client area.

These issues are not finally fixed in Prof-UIS 2.84 yet. But both ribbon and skinned windows are working notably faster. We can provide you with a trial Prof-UIS 2.84 download for your version of Visual C++.

BGC Dev Oct 30, 2008 - 6:27 AM

I’ve also modified the ribbonbar sample to contain no controls on each tab (i.e. completely empty) and removed the most of the functionality in the sample so that only the tabs are available. Unfortunately, the tab switching performance is still slow. Let me know if you’d like a copy of this.

BGC Dev Oct 30, 2008 - 5:16 AM

Also note that I’ve also tested on several other machines (of the same configuration, and different) and have found that the performance issue still occurs.

BGC Dev Oct 30, 2008 - 5:15 AM

Sorry, CPU is Intel Core 2 Duo @ 2.4GHz