http://bugs.winehq.org/show_bug.cgi?id=12385
Daniel Stiefe1maier caliga@arcor.de changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |caliga@arcor.de
--- Comment #21 from Daniel Stiefe1maier caliga@arcor.de 2010-03-30 12:22:19 --- I was going to open a new bug claiming that TrackPopupMenu can return without destroying the menu window. Then I found this and wonder if it is the same issue!?
I found the problem in TeamViewer, however the steps to reproduce are a little bit... bulky... You need two, better three machines running TeamViewer. So, if nobody begs me, I'll not share them here :)
But I have some thoughts on this, that you may find helpful:
If 'something' happens, while the menu is open, then TrackPopupMenu returns and leaves the menu window there, without function. So, if somebody with some insight would look at the implementation of TrackPopupMenu, it should be possible to find out how this can happen. I'm aware of the fact that TrackPopupMenu runs its own message loop, which slightly enhances the portion of code possibly involved...
Regarding that 'something': My best guess is, that the window that owns the menu is altered in some way (SetWindowPos), and this closes the message loop of TrackPopupMenu in an abnormal way, so that the menu window stays open. On Windows, the Menu stays open and functional. (still talking 'bout TeamViewer, not Maya)
If you think this is a different bug, I'll open one...