Professional UI Solutions
Site Map   /  Register
 
 

Forum

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 Tech Support » Ribbon bug with Vista Aero Collapse All
Subject Author Date
Oliver Burkert Jun 21, 2007 - 7:27 AM

When I run the RibbonBar sample (ProfUIS 2.70) under Vista, it doesn’t work properly with the Aero transparency effects. In the upper left corner, two rectangles are nontransparent:

http://www.zumbo.ch/upload/ribbonvista.jpg

Is this a known bug?

Oliver Burkert Jun 28, 2007 - 2:58 AM

I tried it on several computers and each one shows the same painting error. And I get the same error with your RibbonBar.zip (Win32). However, all of my Vista computers have a similar configuration. Could it have something to do with the video card or the video driver? My card is an Intel Q965/Q963 Express Chipset Family.

How long will it take for the title bar height bug to fix? Do I have to wait for the next ProfUIS version?

Technical Support Jun 30, 2007 - 11:17 AM

There is no problem to fix this issue. The problem is how to reproduce the same issue on our computer(s). We are not sure if we will see the same when debugging the problem on your computer remotely. Could you test the ribbon sample in the terminal mode between two of your computers? Additionally, do you have the latest driver for video card on your computer installed?

Oliver Burkert Jul 4, 2007 - 2:27 AM

On a remote desktop, I can’t reproduce the bug (but I don’t see any Aero effects anyway). My video driver is the latest version. Here’s some addidional information about the bug:

It happens only with Prof-UIS 2.7, not with 2.6.
It happens only in Vista Aero display mode.
All the machines I used in my test have the German version of Vista Business installed.
It happens only with the Office2007_R3 skins (all three of them)
It happens both with the dynamically and the statically linked library.
It happens both in debug and release version.
It happens both with your sample and my application.

Technical Support Jul 5, 2007 - 9:24 AM

Thank you for the valuable information. We did change the background bitmap of the Quick Access Toolbar in R3 themes. The new bitmap provides pixel-to-pixel matching between Prof-UIS-based applications and Office 2007 applications running on Vista with DWM. But we did not change the painting algorithm. We have no idea in which way the new bitmap can corrupt the DWM surface on your computers, but we simply have no any other guesses at present. The biggest problem is that DWM cannot be debugged well remotely. So we would like to ask you to do the following experiment:

1) Find the CExtPaintManagerOffice2007_Impl::Ribbon_NcOverPaint() virtual method in Prof-UIS and insert the following line before the very first line:

return;
Compile Prof-UIS and run the RibbonBar sample or your project. We guess no trash areas should appear over the DWM-based window non-client area.

2) Comment out some parts of the CExtPaintManagerOffice2007_Impl::Ribbon_NcOverPaint() virtual method so that you can find out which of them produce the incorrectly painted areas.

Thank you.

Technical Support Jun 22, 2007 - 9:03 AM

Actually we have never encountered this problem. We tested the ribbon on Windows Vista x86/x64 editions on several computers and failed to reproduce what the picture you provided. Would you run the sample on some other computers? Additionally please do the following experiment: activate and deactivate the main frame window with the ribbon bar by single clicking on the desktop and then on the main frame caption. We need to know whether the caption is repainted correctly. Please also let us know whether you can see the same effect when the window is maximized?

Oliver Burkert Jun 26, 2007 - 3:24 AM

I get this bug constantly, also when I reactivate the window or when I maximize it. The maximized window has one more bug: The title bar is not high enough and the quick access symbols are cut off at the top:

http://www.zumbo.ch/upload/ribbon.jpg

Could this have something to do with the language resources? I use a German Vista.

Technical Support Jun 27, 2007 - 12:37 PM

We confirm the vertical shift issue of the Quick Access Toolbar when it at the top of the ribbon and window is maximized. But this is not difficult to fix. The incorrect painting is what is interesting and what we cannot reproduce. The worth thing is that we have no similar reports from other users. This is not related to locale settings of your Vista. Did you try to run it on other computers? Do you see the same when running our RibbonBar sample?


Here are the download links for Win32 and x64 platforms:

RibbonBar.zip (Win32)

RibbonBar.zip (x64)