[Qt-interest] QMenu OpenGL bug, Windows 7 x64, Quadro 4000, Qt 4.5.3

Paul Miller paul at fxtech.com
Tue Dec 21 18:11:28 CET 2010


On 12/14/2010 3:46 PM, Paul Miller wrote:
> Anyone seen this? I have a user running Windows 7 x64, a new Quadro 4000
> graphics card with the latest drivers, and he is running my Qt 4.5.3 (64
> bit app) and having a weird refresh problem I've never heard of.
>
> In the app there is a GL widget, and in some cases right-clicking in the
> widget pops up a QMenu (popup) using QMenu->exec(). In his case, when
> the menu goes away, only the area under the popup can then be refreshed.
> He can jar it back into action by opening one of the main menubar menus,
> but it always happens when popping up this popup menu over the widget.

By the way, I was QMenu::exec(). When I replaced the code with 
QMenu::popup(), then handled the resulting selection with a slot, it 
worked. So "something" is messed up in this configuration when using a 
blocking QMenu.



More information about the Qt-interest-old mailing list