Our team is developing a complex application using Qt 4.7.4. One of the key functions we provide requires HTML+JS content rendered by QWebBrowser.
The problem is that loading of some pages leads to the broken open/save dialogs:
The dialog still "works" in terms of interaction: the file filter combobox can be opened, file name can be entered, but all of this is drawn wrong. File list and directory tree is not drawn at all.
I have found no bugreports about this problem on Qt bug tracker and google. We decided that the problem is local to our project. We suppose that some comctl32.dll internal structures is ruined by someone's write operation to invalid address, but we have no idea how to catch the real cause. Also it is worth to mention that this problem does NOT appear with Qt 5.4 and on any version of windows less that 8.0. Unfortunately, we should build the next release still on Qt 4.8 (the project is huge, upgrade process takes significant amount of time).
How such problem can be debugged? What memory operations and/or WinAPI calls should be hooked? Any ideas is highly appreciated.
The toolchain is MSVC 9.0 (VS 2008)