Ok, so I have written this application for gentoo Linux that lets users edit the runlevels. In order to do so they have to rightclick custom widgets upon which a QMenu will pop up ... The widget with the active context menu has a red border. I put in the red border to highlight the widget and create a visual distinction between the active widget and the other ones.

Now, here is the problem: in previous versions, when I rightclicked a widget and then immediately made another rightclick on a second widget, the highlighted borders around the first widget would dissappear along with the Popupmenu and only the second one was highlighted (having the red border). But since I've upgraded qt to 4.1.2/4.1.3 the border of the previous widget will remain highlighted and the contextMenuEvent() will not completely finish, until I do a leftclick etc.

If I insert some print statements, I see that the contextMenuEvent function will remain unfinished and when the leftclick etc. occurs, all pending contextMenuEvents finish. Since this was not the case with previous versions (I have compiled the app with qt-4.1.0 and there it doesn't have this issue) , I assume that is a bug with qt. Can anybody confirm that or tell me where I am doing something wrong?

I can post a link to the tarball if you wish.


Thanx in advance
momesana